From: Paweł Owoc Date: Mon, 18 Mar 2024 20:53:51 +0000 (+0100) Subject: mac80211: add missing config for third 160MHz width for 5GHz radio X-Git-Tag: v6.1-20240716~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d75be9eb54db3126a996081b35c76d0efb04dff;p=librecmc%2Flibrecmc.git 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 (cherry picked from commit a91b79fd04d58e711273d08e0b1246942b2eec98) Link: https://github.com/openwrt/openwrt/pull/15898 Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 6a37cbb22e..a80d106afa 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -269,6 +269,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