option title 'Channel'
config variable
- option name 'mode'
+ option name 'hwmode'
option section 'wireless.wifi-device'
option title 'Mode (atheros)'
option type enum
list depends type=atheros
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value ''
option title 'auto'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11b'
option title '802.11b'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11g'
option title '802.11g'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11a'
option title '802.11a'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11bg'
option title '802.11b+g'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11gdt'
option title '802.11adt'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value '11adt'
option title '802.11adt'
config enum
- option variable 'wireless.wifi-device.mode'
+ option variable 'wireless.wifi-device.hwmode'
option value 'fh'
option title 'Frequency Hopping'
------------------- Madwifi Device ------------------
if hwtype == "atheros" then
- mode = s:option(ListValue, "mode", translate("mode"))
+ mode = s:option(ListValue, "hwmode", translate("mode"))
mode:value("", translate("wifi_auto"))
mode:value("11b", "802.11b")
mode:value("11g", "802.11g")
local hwtype = m:get(wifidevs[1], "type")
if hwtype == "atheros" then
- mode = s:option(ListValue, "mode", translate("mode"))
+ mode = s:option(ListValue, "hwmode", translate("mode"))
mode.override_values = true
mode:value("", "auto")
mode:value("11b", "802.11b")