]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Add channel 140 to allowed HT40 channel pairs
authorPeter Oh <poh@qca.qualcomm.com>
Sat, 14 Mar 2015 00:26:34 +0000 (17:26 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 16 Mar 2015 10:03:36 +0000 (12:03 +0200)
Channel 140 is needed as allowed HT40 channel pair to use
channel 144 introduced in 802.11ac for VHT40 and VHT80.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
src/common/hw_features_common.c

index e8babb52a9c56dc4175fad7539a3103e57bd8105..309215e5528f17106f7ce373ba06f070c0e8d172 100644 (file)
@@ -88,8 +88,8 @@ int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan,
                              int sec_chan)
 {
        int ok, j, first;
-       int allowed[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157,
-                         184, 192 };
+       int allowed[] = { 36, 44, 52, 60, 100, 108, 116, 124, 132, 140,
+                         149, 157, 184, 192 };
        size_t k;
 
        if (pri_chan == sec_chan || !sec_chan)