diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-01-05 14:21:14 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-01-05 22:19:43 +0000 |
commit | 8bfd8d88001e0d239d741c954c2421052b858fc1 (patch) | |
tree | 02dee1e9f9ddfc625e8e6b57c7cf8c73118371b6 /iwinfo_cli.c | |
parent | 74d13fb98730a7a8af6e6662d0f4281b6655ddd0 (diff) | |
download | iwinfo-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_cli.c')
-rw-r--r-- | iwinfo_cli.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iwinfo_cli.c b/iwinfo_cli.c index c052d63..4976790 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -158,6 +158,9 @@ static char * format_enc_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, "); |