modules/admin-core: extend wireless schema to cover psk mixed mode in encryption...
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / wireless
index 7e72049..2636f24 100644 (file)
@@ -60,13 +60,13 @@ config enum
 
 config enum
        option variable 'wireless.wifi-device.mode'
-       option value '11gdt'
-       option title '802.11adt'
+       option value '11ast'
+       option title '802.11a + Turbo'
 
 config enum
        option variable 'wireless.wifi-device.mode'
-       option value '11adt'
-       option title '802.11adt'
+       option value '11gst'
+       option title '802.11g + Turbo'
 
 config enum
        option variable 'wireless.wifi-device.mode'
@@ -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'
@@ -426,6 +442,16 @@ config enum
 
 config enum
        option variable 'wireless.wifi-iface.encryption'
+       option value 'psk+psk2'
+       option title 'WPA-PSK/WPA2-PSK Mixed Mode (nas)'
+
+config enum
+       option variable 'wireless.wifi-iface.encryption'
+       option value 'mixed'
+       option title 'WPA-PSK/WPA2-PSK Mixed Mode (hostapd)'
+
+config enum
+       option variable 'wireless.wifi-iface.encryption'
        option value 'wpa'
        option title 'WPA-EAP'