aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-03-12 18:26:37 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-14 19:58:45 (GMT)
commit8dd9f9cdde4b865a7b611a2ed5b97a849ac945bc (patch)
tree53e6b696818bcc42effcc472c4ae31668ee83ac8 /src/ap/wpa_auth_glue.c
parent67d39cfb3245c8e3adb91e82482ff69d7f1b25c6 (diff)
downloadhostap-8dd9f9cdde4b865a7b611a2ed5b97a849ac945bc.zip
hostap-8dd9f9cdde4b865a7b611a2ed5b97a849ac945bc.tar.gz
hostap-8dd9f9cdde4b865a7b611a2ed5b97a849ac945bc.tar.bz2
Allow management group cipher to be configured
This allows hostapd to set a different management group cipher than the previously hardcoded default BIP (AES-128-CMAC). The new configuration file parameter group_mgmt_cipher can be set to BIP-GMAC-128, BIP-GMAC-256, or BIP-CMAC-256 to select one of the ciphers defined in IEEE Std 802.11ac-2013. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index da5fea7..6ee9a4f 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -49,6 +49,7 @@ static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf,
wconf->okc = conf->okc;
#ifdef CONFIG_IEEE80211W
wconf->ieee80211w = conf->ieee80211w;
+ wconf->group_mgmt_cipher = conf->group_mgmt_cipher;
#endif /* CONFIG_IEEE80211W */
#ifdef CONFIG_IEEE80211R
wconf->ssid_len = conf->ssid.ssid_len;