modules/admin-core: fix wireless uci schema
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / wireless
index d6a7c04..83bb52e 100644 (file)
@@ -27,49 +27,49 @@ config variable
        option title 'Channel'
 
 config variable
-       option name 'hwmode'
+       option name 'mode'
        option section 'wireless.wifi-device'
        option title 'Mode (atheros)'
        option type enum
        list depends type=atheros
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value ''
        option title 'auto'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value '11b'
        option title '802.11b'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value '11g'
        option title '802.11g'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value '11a'
        option title '802.11a'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value '11bg'
        option title '802.11b+g'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
-       option value '11gdt'
-       option title '802.11adt'
+       option variable 'wireless.wifi-device.mode'
+       option value '11ast'
+       option title '802.11a + Turbo'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
-       option value '11adt'
-       option title '802.11adt'
+       option variable 'wireless.wifi-device.mode'
+       option value '11gst'
+       option title '802.11g + Turbo'
 
 config enum
-       option variable 'wireless.wifi-device.hwmode'
+       option variable 'wireless.wifi-device.mode'
        option value 'fh'
        option title 'Frequency Hopping'
 
@@ -94,6 +94,7 @@ config variable
        option datatype uint
        list depends type=atheros
        list depends type=broadcom
+       list depends type=prism2
 
 config variable
        option name 'rxantenna'
@@ -102,6 +103,7 @@ config variable
        option datatype uint
        list depends type=atheros
        list depends type=broadcom
+       list depends type=prism2
 
 config variable
        option name 'distance'
@@ -146,10 +148,24 @@ config variable
        list depends 'type=broadcom'
 
 config variable
+       option name 'regdomain'
+       option section 'wireless.wifi-device'
+       option title 'Regulatory Domain'
+       list depends 'type=atheros'
+
+config variable
        option name 'country'
        option section 'wireless.wifi-device'
-       option title 'Country Code (broadcom)'
+       option title 'Country Code'
        list depends 'type=broadcom'
+       list depends 'type=atheros'
+
+config variable
+       option name 'outdoor'
+       option section 'wireless.wifi-device'
+       option title 'Outdoor Channels'
+       option datatype boolean
+       list depends 'type=atheros'
 
 config variable
        option name 'maxassoc'
@@ -240,13 +256,13 @@ config variable
 config variable
        option name 'frag'
        option section 'wireless.wifi-iface'
-       option title 'Fragmentation Threshold (mac80211, atheros)'
+       option title 'Fragmentation Threshold (mac80211, atheros, prism2)'
        option datatype uint
 
 config variable
        option name 'rts'
        option section 'wireless.wifi-iface'
-       option title 'RTS/CTS Threshold (mac80211, atheros)'
+       option title 'RTS/CTS Threshold (mac80211, atheros, prism2)'
        option datatype uint
 
 config variable
@@ -273,7 +289,7 @@ config variable
 config variable
        option name 'hidden'
        option section 'wireless.wifi-iface'
-       option title 'Hide ESSID (atheros, broadcom)'
+       option title 'Hide ESSID (atheros, broadcom, prism2)'
        option datatype boolean
        list depends 'mode=ap'
        list depends 'mode=adhoc'
@@ -313,7 +329,7 @@ config variable
 config variable
        option name 'macpolicy'
        option section 'wireless.wifi-iface'
-       option title 'MAC-Address Filter (atheros)'
+       option title 'MAC-Address Filter (atheros, prism2)'
        option type enum
 
 config enum
@@ -329,7 +345,7 @@ config enum
 config variable
        option name 'maclist'
        option section 'wireless.wifi-iface'
-       option title 'MAC-List (atheros)'
+       option title 'MAC-List (atheros, prism2)'
        list depends 'macpolicy=allow'
        list depends 'macpolicy=deny'
        option type lazylist
@@ -338,7 +354,7 @@ config variable
 config variable
        option name 'rate'
        option section 'wireless.wifi-iface'
-       option title 'Transmission Rate (atheros)'
+       option title 'Transmission Rate (atheros, prism2)'
 
 config variable
        option name 'mcast_rate'
@@ -377,6 +393,7 @@ config variable
        option name 'ff'
        option section 'wireless.wifi-iface'
        option title 'Fast Frames (atheros)'
+       option datatype boolean
 
 config variable
        option name 'wmm'