mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
luci-app-mtwifi-cfg: add whnat option
This commit is contained in:
parent
0d435d10b4
commit
c287e219ee
@ -30,3 +30,6 @@ msgstr "弱信号剔除阈值"
|
||||
|
||||
msgid "Station associate threshold"
|
||||
msgstr "弱信号接入阈值"
|
||||
|
||||
msgid "Wireless HWNAT"
|
||||
msgstr "无线硬件加速"
|
||||
|
@ -1017,6 +1017,9 @@ return view.extend({
|
||||
|
||||
if (is_dbdc_main)
|
||||
{
|
||||
o = ss.taboption('advanced', form.Flag, 'whnat', _('Wireless HWNAT'));
|
||||
o.default = o.enabled;
|
||||
|
||||
o = ss.taboption('advanced', form.Value, 'dtim_period', _('DTIM Interval'), _('Delivery Traffic Indication Message Interval'));
|
||||
o.optional = true;
|
||||
o.placeholder = 1;
|
||||
|
@ -85,6 +85,7 @@ mtwifi_defs.chip_cfgs = {
|
||||
-- uci config = dat config, default value
|
||||
["beacon_int"] = { "BeaconPeriod" , "100"},
|
||||
["dtim_period"] = { "DtimPeriod", "1"},
|
||||
["whnat"] = { "WHNAT", "1"},
|
||||
}
|
||||
|
||||
mtwifi_defs.reinstall_cfgs = {
|
||||
|
@ -15,7 +15,7 @@ MTWIFI_CFG_IFNAME_KEY="mtwifi_ifname"
|
||||
|
||||
drv_mtwifi_init_device_config() {
|
||||
config_add_int txpower beacon_int dtim_period
|
||||
config_add_boolean mu_beamformer dbdc_main
|
||||
config_add_boolean mu_beamformer dbdc_main whnat
|
||||
config_add_string country twt
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user