]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Allow HT40 on 5 GHz channels 165 and 169
authorBen Greear <greearb@candelatech.com>
Wed, 3 Jan 2018 18:53:53 +0000 (10:53 -0800)
committerJouni Malinen <j@w1.fi>
Sat, 17 Feb 2018 16:52:01 +0000 (18:52 +0200)
India supports 5 GHz channels 169 and 173 now. Enable HT40 across
channels 165 and 169. Leave channel 173 to remain HT20 only.

Signed-off-by: Ben Greear <greearb@candelatech.com>
src/common/hw_features_common.c

index fdd5e738c6bf15ac199d81dbaf4d210de1a787ca..db403792718505e000a0dbd9db9eaf2c341289d0 100644 (file)
@@ -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)