[openwrt/openwrt] mac80211: add missing config for third 160MHz width for 5GHz radio

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 23 08:58:48 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a91b79fd04d58e711273d08e0b1246942b2eec98

commit a91b79fd04d58e711273d08e0b1246942b2eec98
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Mon Mar 18 21:53:51 2024 +0100

    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 at gmail.com>
---
 .../network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh b/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh
index 55df71ee3d..bc59c303b9 100755
--- a/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh
+++ b/package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh
@@ -273,6 +273,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




More information about the lede-commits mailing list