aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-01-28 13:50:17 +0100
committerDavid Bauer <mail@david-bauer.net>2023-01-28 13:53:39 +0100
commita63430eac33ceb1dbf96d3667e2a0f2e04ba391f (patch)
tree7c028416e1088c90c89bf8059e74df439bf6da38 /package/kernel/mac80211
parent6e428a84904daa07190f924530f975102e8e7668 (diff)
downloadupstream-a63430eac33ceb1dbf96d3667e2a0f2e04ba391f.tar.gz
upstream-a63430eac33ceb1dbf96d3667e2a0f2e04ba391f.tar.bz2
upstream-a63430eac33ceb1dbf96d3667e2a0f2e04ba391f.zip
mac80211: use 802.11ax iw modes
This adds missing HE modes to mac80211_prepare_ht_modes. Previously mesh without wpa_supplicant would be initialized with 802.11g /NO-HT only, as this method did not parse channel bandwidth for HE operation. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 0a7f787cff..5aaba9af26 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -901,8 +901,8 @@ mac80211_setup_supplicant_noctl() {
mac80211_prepare_iw_htmode() {
case "$htmode" in
- VHT20|HT20) iw_htmode=HT20;;
- HT40*|VHT40|VHT160)
+ VHT20|HT20|HE20) iw_htmode=HT20;;
+ HT40*|VHT40|VHT160|HE40)
case "$band" in
2g)
case "$htmode" in
@@ -926,7 +926,7 @@ mac80211_prepare_iw_htmode() {
esac
[ "$auto_channel" -gt 0 ] && iw_htmode="HT40+"
;;
- VHT80)
+ VHT80|HE80)
iw_htmode="80MHZ"
;;
NONE|NOHT)