hostapd: Allow HT40 on ch 165, 169.

Message ID 1515005633-26836-1-git-send-email-greearb@candelatech.com
State New
Headers show
Series
  • hostapd: Allow HT40 on ch 165, 169.
Related show

Commit Message

Ben Greear Jan. 3, 2018, 6:53 p.m.
From: Ben Greear <greearb@candelatech.com>

India supports CH 169 and 173 now.  Enable HT40 across
CH 165 and 169.  I think that CH 173 must remain HT20
only.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
 src/common/hw_features_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/src/common/hw_features_common.c b/src/common/hw_features_common.c
index 4486124..263958d 100644
--- a/src/common/hw_features_common.c
+++ b/src/common/hw_features_common.c
@@ -89,7 +89,7 @@  int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan,
 {
 	int ok, j, first;
 	int allowed[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 140,
-			  149, 157, 184, 192 };
+			  149, 157, 165, 184, 192 };
 	size_t k;
 
 	if (pri_chan == sec_chan || !sec_chan)