git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
63255ec
)
luci-mod-admin-full: Add 802.11b legacy_rates support
author
Sven Roederer
<redacted>
Mon, 8 Jan 2018 20:02:54 +0000
(21:02 +0100)
committer
Jo-Philipp Wich
<redacted>
Tue, 9 Jan 2018 06:09:31 +0000
(07:09 +0100)
this was added to LEDE with
ed62d91f4b5296a4aa883ce975d76f590ef4e910
and defaults to enable.
Signed-off-by: Sven Roederer <redacted>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
patch
|
blob
|
history
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
index e8d43a1ba5580882d1a4657d418d60feaddff273..094b415c45c0d295d16aa747c56425f4cd61608d 100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@
-228,6
+228,10
@@
if hwtype == "mac80211" then
s:taboption("advanced", Value, "country", translate("Country Code"), translate("Use ISO/IEC 3166 alpha2 country codes."))
end
+ legacyrates = s:taboption("advanced", Flag, "legacy_rates", translate("802.11b rates"))
+ legacyrates.rmempty = false
+ legacyrates.default = "1"
+
s:taboption("advanced", Value, "distance", translate("Distance Optimization"),
translate("Distance to farthest network member in meters."))
git clone https://git.99rst.org/PROJECT