Add diversity option for prism2 cards
This commit is contained in:
parent
8a3f3e860a
commit
fbc438cf3a
2 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,7 @@ config variable
|
||||||
option title 'Diversity (atheros)'
|
option title 'Diversity (atheros)'
|
||||||
option datatype boolean
|
option datatype boolean
|
||||||
list depends type=atheros
|
list depends type=atheros
|
||||||
|
list depends type=prism2
|
||||||
|
|
||||||
config variable
|
config variable
|
||||||
option name 'txpower'
|
option name 'txpower'
|
||||||
|
|
|
@ -122,6 +122,8 @@ end
|
||||||
if hwtype == "prism2" then
|
if hwtype == "prism2" then
|
||||||
s:option(Value, "txpower", translate("a_w_txpwr"), "att units").rmempty = true
|
s:option(Value, "txpower", translate("a_w_txpwr"), "att units").rmempty = true
|
||||||
|
|
||||||
|
s:option(Flag, "diversity", translate("wifi_diversity")).rmempty = false
|
||||||
|
|
||||||
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true
|
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true
|
||||||
s:option(Value, "rxantenna", translate("wifi_rxantenna")).optional = true
|
s:option(Value, "rxantenna", translate("wifi_rxantenna")).optional = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue