diff --git a/modules/luci-base/po/zh-cn/base.po b/modules/luci-base/po/zh-cn/base.po index 21e96f06..645a25f2 100644 --- a/modules/luci-base/po/zh-cn/base.po +++ b/modules/luci-base/po/zh-cn/base.po @@ -4126,3 +4126,6 @@ msgstr "高性能模式" msgid "Target Platform" msgstr "目标平台" + +msgid "Beacon Interval" +msgstr "Beacon间隔" diff --git a/modules/luci-newapi/root/etc/newapi/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua b/modules/luci-newapi/root/etc/newapi/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua index db3a8d3e..0725e805 100644 --- a/modules/luci-newapi/root/etc/newapi/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua +++ b/modules/luci-newapi/root/etc/newapi/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua @@ -262,6 +262,11 @@ if hwtype == "mac80211" then s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold")) s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold")) + + o = s:taboption("advanced", Value, "beacon_int", translate('Beacon Interval')); + o.datatype = 'range(15,65535)'; + o.placeholder = 100; + o.rmempty = true; end @@ -385,6 +390,11 @@ if hwtype == "mt_dbdc" then s:taboption("advanced", Value, "frag", translate("Fragmentation Threshold")) s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold")) s:taboption("advanced", Flag, "txburst", translate("TX Bursting")) + + o = s:taboption("advanced", Value, "beacon_int", translate('Beacon Interval')); + o.datatype = 'range(15,65535)'; + o.placeholder = 100; + o.rmempty = true; end ----------------------- Interface -----------------------