[openwrt/openwrt] hostapd: permit also channel 7 for 2.5GHz to be set to HT40PLUS

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 9 07:42:32 PST 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/fcdecb5ba46d8ec2e6c10f09d79df4f4a9300c05

commit fcdecb5ba46d8ec2e6c10f09d79df4f4a9300c05
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Nov 8 16:48:05 2023 +0100

    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 <ansuelsmth at gmail.com>
    (cherry picked from commit b1c7b1bd67ca40289dfb7acd03e12ce43618d548)
    [ rework for openwrt-22.03 ]
---
 package/network/services/hostapd/patches/301-mesh-noscan.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,




More information about the lede-commits mailing list