From: Peter Oh Date: Sat, 14 Mar 2015 00:26:34 +0000 (-0700) Subject: hostapd: Add channel 140 to allowed HT40 channel pairs X-Git-Tag: hostap_2_5~958 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6128a90979a22b863eda63cd3e3fa96fb7aa59f6;p=thirdparty%2Fhostap.git hostapd: Add channel 140 to allowed HT40 channel pairs 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 --- diff --git a/src/common/hw_features_common.c b/src/common/hw_features_common.c index e8babb52a..309215e55 100644 --- a/src/common/hw_features_common.c +++ b/src/common/hw_features_common.c @@ -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)