aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/ctrl.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-24 10:09:04 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-24 17:37:42 (GMT)
commitcd3b5cc0796340509f34dc9be331b660b57e3b4b (patch)
tree1e5055c28e6e0a63cf50321e088bfd5e684a414b /wlantest/ctrl.c
parentcb80fadaa7374a9ab8191d0ac45f3cb5e7ddcca4 (diff)
downloadhostap-cd3b5cc0796340509f34dc9be331b660b57e3b4b.zip
hostap-cd3b5cc0796340509f34dc9be331b660b57e3b4b.tar.gz
hostap-cd3b5cc0796340509f34dc9be331b660b57e3b4b.tar.bz2
wlantest: New mgmt_group_cipher values for BSS info and debug log
This adds BIP-GMAC-128, BIP-GMAC-256, and BIP-CMAC-256 to info_bss command and debug log. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/ctrl.c')
-rw-r--r--wlantest/ctrl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/wlantest/ctrl.c b/wlantest/ctrl.c
index 2b6d453..87f347c 100644
--- a/wlantest/ctrl.c
+++ b/wlantest/ctrl.c
@@ -906,6 +906,15 @@ static void info_print_cipher(char *buf, size_t len, int cipher)
if (cipher & WPA_CIPHER_AES_128_CMAC)
pos += os_snprintf(pos, end - pos, "%sBIP",
pos == buf ? "" : " ");
+ if (cipher & WPA_CIPHER_BIP_GMAC_128)
+ pos += os_snprintf(pos, end - pos, "%sBIP-GMAC-128",
+ pos == buf ? "" : " ");
+ if (cipher & WPA_CIPHER_BIP_GMAC_256)
+ pos += os_snprintf(pos, end - pos, "%sBIP-GMAC-256",
+ pos == buf ? "" : " ");
+ if (cipher & WPA_CIPHER_BIP_CMAC_256)
+ pos += os_snprintf(pos, end - pos, "%sBIP-CMAC-256",
+ pos == buf ? "" : " ");
}