luci-app-mtwifi-cfg: add kicklow and assocthres options

This commit is contained in:
hanwckf 2023-12-05 22:17:52 +08:00
parent 4c0506adc5
commit 5b1a7d3b24
2 changed files with 18 additions and 0 deletions

View File

@ -24,3 +24,9 @@ msgstr "自动块确认"
msgid "U-APSD"
msgstr "U-APSD 省电模式"
msgid "Kick low RSSI station threshold"
msgstr "弱信号剔除阈值"
msgid "Station associate threshold"
msgstr "弱信号接入阈值"

View File

@ -1296,6 +1296,18 @@ return view.extend({
o.datatype = 'uinteger';
o.depends('mode', 'ap');
o = ss.taboption('advanced', form.Value, 'kicklow', _('Kick low RSSI station threshold'), _('dBm'));
o.optional = true;
o.placeholder = 0;
o.datatype = 'range(-100,0)';
o.depends('mode', 'ap');
o = ss.taboption('advanced', form.Value, 'assocthres', _('Station associate threshold'), _('dBm'));
o.optional = true;
o.placeholder = 0;
o.datatype = 'range(-100,0)';
o.depends('mode', 'ap');
o = ss.taboption('advanced', form.Flag, 'mumimo_dl', _('MU-MIMO DL'));
o.depends('mode', 'ap');
o.default = o.enabled;