summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Owoc2024-03-18 20:53:51 +0000
committerHauke Mehrtens2024-07-08 20:27:11 +0000
commit3122bb60adf85a81dc875893f998f583a0fd1c74 (patch)
tree10878e8a20acb71b6f3c1b38302d55d250fd617d
parent6ea1e214e73986abe9de3f61277426350e6c37e3 (diff)
downloadopenwrt-3122bb60adf85a81dc875893f998f583a0fd1c74.tar.gz
mac80211: add missing config for third 160MHz width for 5GHz radio
Without this configuration it is not possible to run the radio using HE160 on channels 149-177. Fixes: #14906 Signed-off-by: Paweł Owoc <frut3k7@gmail.com> (cherry picked from commit a91b79fd04d58e711273d08e0b1246942b2eec98) Link: https://github.com/openwrt/openwrt/pull/15899 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index bfeeae42f9..7d5cc6b38b 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -266,6 +266,7 @@ mac80211_hostapd_setup_base() {
case "$channel" in
36|40|44|48|52|56|60|64) idx=50;;
100|104|108|112|116|120|124|128) idx=114;;
+ 149|153|157|161|165|169|173|177) idx=163;;
esac
fi
enable_ac=1