summaryrefslogtreecommitdiff
path: root/iwinfo_lua.c
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-01-05 14:21:14 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-01-05 22:19:43 +0000
commit8bfd8d88001e0d239d741c954c2421052b858fc1 (patch)
tree02dee1e9f9ddfc625e8e6b57c7cf8c73118371b6 /iwinfo_lua.c
parent74d13fb98730a7a8af6e6662d0f4281b6655ddd0 (diff)
downloadiwinfo-8bfd8d88001e0d239d741c954c2421052b858fc1.tar.gz
iwinfo: add support for GCMP cipher
Extend support for WPA ciphers by GCMP which is required for 802.11ad. Breaks ABI as ciphers now needs to be a field of 16 bits instead of 8. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'iwinfo_lua.c')
-rw-r--r--iwinfo_lua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iwinfo_lua.c b/iwinfo_lua.c
index 58a5537..abe848b 100644
--- a/iwinfo_lua.c
+++ b/iwinfo_lua.c
@@ -61,6 +61,9 @@ static char * iwinfo_crypto_print_ciphers(int ciphers)
if (ciphers & IWINFO_CIPHER_CCMP)
pos += sprintf(pos, "CCMP, ");
+ if (ciphers & IWINFO_CIPHER_GCMP)
+ pos += sprintf(pos, "GCMP, ");
+
if (ciphers & IWINFO_CIPHER_WRAP)
pos += sprintf(pos, "WRAP, ");