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'
option section 'wireless.wifi-device'
config variable
option name 'txpower'
option section 'wireless.wifi-iface'
- option title 'Transmit Power (mac80211, atheros)'
+ option title 'Transmit Power'
option description 'dbm'
option datatype uint
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true
s:option(Value, "rxantenna", translate("wifi_rxantenna")).optional = true
- s:option(Value, "txpower", translate("a_w_txpwr"), "dBm").optional = true
s:option(Flag, "frameburst", translate("wifi_bursting")).optional = true
mode:value("wds", translate("a_w_wds"))
mode:value("monitor", translate("a_w_monitor"))
+ s:option(Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true
+
hidden = s:option(Flag, "hidden", translate("wifi_hidden"))
hidden:depends({mode="ap"})
hidden:depends({mode="adhoc"})