wifi: add controls for noscan flag
OpenWrt contains a patch for hostapd which allows to override the channel-bandwidth decission to always use 40MHz regardless of overlapping networks. Though it does not conform with IEEE 802.11n-2009, this became the de-facto standard behaviour of most off-the-shelf wifi routers. Adding this option to LuCI makes it more accessible to users, which probably not everybody will agree with to be a good idea. However, I didn't yet come across a single commercial product which actually complies with 802.11n-2009 in that regard. Signed-off-by: Daniel Golle <dgolle@allnet.de>
This commit is contained in:
parent
e736b9592c
commit
59af400346
1 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,12 @@ if hwtype == "mac80211" then
|
|||
htmode:value("HT40-", translate("40MHz 2nd channel below"))
|
||||
htmode:value("HT40+", translate("40MHz 2nd channel above"))
|
||||
|
||||
noscan = s:taboption("advanced", Flag, "noscan", translate("Force 40MHz mode"),
|
||||
translate("Always use 40MHz channels even if the secondary channel overlaps. Using this option does not comply with IEEE 802.11n-2009!"))
|
||||
noscan:depends("htmode", "HT40+")
|
||||
noscan:depends("htmode", "HT40-")
|
||||
noscan.default = noscan.disabled
|
||||
|
||||
--htcapab = s:taboption("advanced", DynamicList, "ht_capab", translate("HT capabilities"))
|
||||
--htcapab:depends("hwmode", "11na")
|
||||
--htcapab:depends("hwmode", "11ng")
|
||||
|
|
Loading…
Reference in a new issue