diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-05-18 19:08:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-05-26 11:48:14 +0200 |
commit | 2319cf4ec048e50a7d3885d19dc27663b45e258d (patch) | |
tree | ba61c8fdc481254302b4a77b6e3f345c2b2bd14d | |
parent | 3bd6c8c728e72444bdf23b8904ef9c52ebb46bb7 (diff) | |
download | upstream-2319cf4ec048e50a7d3885d19dc27663b45e258d.tar.gz upstream-2319cf4ec048e50a7d3885d19dc27663b45e258d.tar.bz2 upstream-2319cf4ec048e50a7d3885d19dc27663b45e258d.zip |
hostapd: fix max_oper_chwidth setting for HE
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 7f03396cb5..9405127b15 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -1119,9 +1119,9 @@ wpa_supplicant_set_fixed_freq() { VHT*) append network_data "vht=1" "$N$T";; esac case "$htmode" in - VHT80) append network_data "max_oper_chwidth=1" "$N$T";; - VHT160) append network_data "max_oper_chwidth=2" "$N$T";; - VHT20|VHT40) append network_data "max_oper_chwidth=0" "$N$T";; + HE80|VHT80) append network_data "max_oper_chwidth=1" "$N$T";; + HE160|VHT160) append network_data "max_oper_chwidth=2" "$N$T";; + HE20|HE40|VHT20|VHT40) append network_data "max_oper_chwidth=0" "$N$T";; *) append network_data "disable_vht=1" "$N$T";; esac } |