summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-16 18:30:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-16 18:30:53 +0000
commit36e3f2a3e8b3533b369174199e5fb2b745c9352f (patch)
tree0ccbf5b890a6caff72a1551ac996664de4245d2f
parent1857248166a75c460cd9b7bea4615f1bd92525c2 (diff)
* modules/admin-core: adept wireless scheme to new config options
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/wireless28
1 files changed, 12 insertions, 16 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless
index 823ee2fa4..c449850f1 100644
--- a/modules/admin-core/root/lib/uci/schema/default/wireless
+++ b/modules/admin-core/root/lib/uci/schema/default/wireless
@@ -83,16 +83,26 @@ config variable
config variable
option name 'txantenna'
option section 'wireless.wifi-device'
- option title 'Transmitter Antenna (atheros)'
+ option title 'Transmitter Antenna'
option datatype uint
list depends type=atheros
+ list depends type=broadcom
config variable
option name 'rxantenna'
option section 'wireless.wifi-device'
- option title 'Receiver Antenna (atheros)'
+ option title 'Receiver Antenna'
option datatype uint
list depends type=atheros
+ list depends type=broadcom
+
+config variable
+ option name 'txpower'
+ option section 'wireless.wifi-device'
+ option title 'Transmit Power (broadcom)'
+ option description 'dbm'
+ option datatype uint
+ list depends type=broadcom
config variable
option name 'distance'
@@ -130,20 +140,6 @@ config variable
option datatype macaddr
config variable
- option name 'txant'
- option section 'wireless.wifi-device'
- option title 'Transmitter Antenna (broadcom)'
- option datatype uint
- list depends 'type=broadcom'
-
-config variable
- option name 'rxant'
- option section 'wireless.wifi-device'
- option title 'Receiver Antenna (broadcom)'
- option datatype uint
- list depends 'type=broadcom'
-
-config variable
option name 'frameburst'
option section 'wireless.wifi-device'
option title 'Frame Bursting (broadcom)'