pkgs/openwrt/uci-config: add support for disassoc_low_ack as used with ap57
This commit is contained in:
parent
fc5f04850a
commit
0aa6cb7828
|
@ -1705,7 +1705,10 @@
|
|||
channel = 100;
|
||||
htmode = "VHT80";
|
||||
ssids = {
|
||||
"Zentralwerk" = { net = "roof"; };
|
||||
"Zentralwerk" = {
|
||||
net = "roof";
|
||||
disassocLowAck = false;
|
||||
};
|
||||
"ZW public" = { net = "pub"; };
|
||||
};
|
||||
};
|
||||
|
|
|
@ -472,6 +472,13 @@ let
|
|||
type = nullOr str;
|
||||
default = null;
|
||||
};
|
||||
disassocLowAck = mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Disable for wireless bridges.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
|
@ -295,6 +295,9 @@ in
|
|||
else ''
|
||||
uci -q delete wireless.@wifi-iface[-1].key || true
|
||||
''}
|
||||
${lib.optionalString (!ssidConfig.disassocLowAck) ''
|
||||
uci set wireless.@wifi-iface[-1].disassoc_low_ack='0'
|
||||
''}
|
||||
''
|
||||
) (builtins.attrNames radioConfig.ssids)}
|
||||
'') (builtins.attrNames hostConfig.wifi))}
|
||||
|
|
Loading…
Reference in New Issue