wifi: add Disassociate On Low Acknowledgement option

This commit is contained in:
coolsnowwolf 2023-12-07 01:58:24 +08:00
parent b8ad28231e
commit dc06d37193
2 changed files with 20 additions and 1 deletions

View File

@ -4129,3 +4129,9 @@ msgstr "目标平台"
msgid "Beacon Interval"
msgstr "Beacon间隔"
msgid "Kick STA Threshold"
msgstr "弱信号剔除阈值"
msgid "STA Assoc Threshold"
msgstr "弱信号接入阈值"

View File

@ -630,7 +630,20 @@ if hwtype == "mt_dbdc" then
s:taboption("advanced", Flag, "doth", "802.11h")
disassoc_low_ack = s:taboption("general", Flag, "disassoc_low_ack", translate("Disassociate On Low Acknowledgement"),translate("Allow AP mode to disconnect STAs based on low ACK condition"))
disassoc_low_ack.default = disassoc_low_ack.enabled
disassoc_low_ack.default = disassoc_low_ack.disabled
disassoc_low_ack:depends({mode="ap"})
rssikick= s:taboption("general", Value, "rssikick", translate("Kick low RSSI station threshold"), translate("dBm"));
rssikick.optional = true
rssikick.placeholder = 75
rssikick.datatype = "range(-100,0)"
rssikick:depends("disassoc_low_ack", "1")
rssiassoc= s:taboption("general", Value, "rssiassoc", translate("Station associate threshold"), translate("dBm"));
rssiassoc.optional = true
rssiassoc.placeholder = 60
rssiassoc.datatype = "range(-100,0)"
rssiassoc:depends("disassoc_low_ack", "1")
end
------------------- WiFI-Encryption -------------------