aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>2015-04-27 17:42:08 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-27 21:22:16 (GMT)
commit01a025937c67f0eca6021d94b8ec3b144f8b1730 (patch)
tree1aa5028fe2245bbeb376ff08b2d7db9b34610997 /hostapd/config_file.c
parent0ef1e290ab59fde307b9355b153596b431403317 (diff)
downloadhostap-01a025937c67f0eca6021d94b8ec3b144f8b1730.zip
hostap-01a025937c67f0eca6021d94b8ec3b144f8b1730.tar.gz
hostap-01a025937c67f0eca6021d94b8ec3b144f8b1730.tar.bz2
WPS: Add support for 60 GHz band
Handling of WPS RF band for 60 GHz was missing. Add it in all relevant places and also map "AES" as the cipher to GCMP instead of CCMP when operating on the 60 GHz band. Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 4976966..0c1f401 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -2545,7 +2545,9 @@ static int hostapd_config_fill(struct hostapd_config *conf,
return 1;
}
} else if (os_strcmp(buf, "wps_rf_bands") == 0) {
- if (os_strcmp(pos, "a") == 0)
+ if (os_strcmp(pos, "ad") == 0)
+ bss->wps_rf_bands = WPS_RF_60GHZ;
+ else if (os_strcmp(pos, "a") == 0)
bss->wps_rf_bands = WPS_RF_50GHZ;
else if (os_strcmp(pos, "g") == 0 ||
os_strcmp(pos, "b") == 0)