wifi: add Beacon Interval option

This commit is contained in:
coolsnowwolf 2023-12-07 01:32:35 +08:00
parent 4d283c1666
commit b8ad28231e
2 changed files with 13 additions and 0 deletions

View File

@ -4126,3 +4126,6 @@ msgstr "高性能模式"
msgid "Target Platform"
msgstr "目标平台"
msgid "Beacon Interval"
msgstr "Beacon间隔"

View File

@ -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 -----------------------