[][MAC80211][WiFi6][hostapd][Backport hostapd ACS patches and some ACS fixes]
[Description]
Fix ACS issues in WiFi6 Codebase.
Backport the upstream hostapd commits about ACS.
ACS: Allow selecting a better channel when using 40/80/160 MHz
ACS: introduce acs_adjust_secondary
ACS: Introduce acs_get_bw_center_chan()
ACS: Extract bw40/80/160 freqs out of acs_usable_bwXXX_chan()
Fix Issue#1. Add 2.4G HT40- support
1. Add 2.4G HT40- support
2. Fix issue: selected best channel is out of channels
Fix Issue#2. Fix chan_switch to usable DFS channel fail due to ACS
[Release-log]
N/A
Change-Id: I56ff786744da83791f0134e0a1185abdf9c49bfb
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8237859
5 files changed