From: Christian Marangi Date: Wed, 8 Nov 2023 15:48:05 +0000 (+0100) Subject: hostapd: permit also channel 7 for 2.5GHz to be set to HT40PLUS X-Git-Tag: v22.03.6~18 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fcdecb5ba46d8ec2e6c10f09d79df4f4a9300c05;p=openwrt%2Fopenwrt.git hostapd: permit also channel 7 for 2.5GHz to be set to HT40PLUS Also channel 7 for 2.4GHz can be set to HT40PLUS. Permit this and add it to the list of the channels. Signed-off-by: Christian Marangi (cherry picked from commit b1c7b1bd67ca40289dfb7acd03e12ce43618d548) [ rework for openwrt-22.03 ] --- diff --git a/package/network/services/hostapd/patches/301-mesh-noscan.patch b/package/network/services/hostapd/patches/301-mesh-noscan.patch index b27ffc4493..3e3325f983 100644 --- a/package/network/services/hostapd/patches/301-mesh-noscan.patch +++ b/package/network/services/hostapd/patches/301-mesh-noscan.patch @@ -36,7 +36,7 @@ enum hostapd_hw_mode hw_mode; struct hostapd_hw_modes *mode = NULL; - int ht40plus[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, -+ int ht40plus[] = { 1, 2, 3, 4, 5, 6, 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, ++ int ht40plus[] = { 1, 2, 3, 4, 5, 6, 7, 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, 184, 192 }; int bw80[] = { 5180, 5260, 5500, 5580, 5660, 5745, 5955, 6035, 6115, 6195, 6275, 6355, 6435, 6515,