diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-05-18 19:08:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-23 18:30:04 +0100 |
commit | d9373c5922183e2799e361f4787a7f027b098929 (patch) | |
tree | dde848022cb43737f84ef150efc3ff7fb7af8ef8 | |
parent | 4a53adbd43698249b434050757f3506c65dee41b (diff) | |
download | upstream-d9373c5922183e2799e361f4787a7f027b098929.tar.gz upstream-d9373c5922183e2799e361f4787a7f027b098929.tar.bz2 upstream-d9373c5922183e2799e361f4787a7f027b098929.zip |
hostapd: fix max_oper_chwidth setting for HE
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 2319cf4ec048e50a7d3885d19dc27663b45e258d)
-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 bbbbf9994b..b5388ee46c 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -1128,9 +1128,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 } |