mac80211: add missing config for third 160MHz width for 5GHz radio
authorPaweł Owoc <frut3k7@gmail.com>
Mon, 18 Mar 2024 20:53:51 +0000 (21:53 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 23 Mar 2024 15:57:24 +0000 (16:57 +0100)
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>
package/network/config/wifi-scripts/files/lib/netifd/wireless/mac80211.sh

index 55df71ee3d585758f232331fa30acf9f06331b7d..bc59c303b939acb8bd409824f36fa9370597c6cc 100755 (executable)
@@ -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