From 8bfd8d88001e0d239d741c954c2421052b858fc1 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 5 Jan 2021 14:21:14 +0000 Subject: 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 --- iwinfo_cli.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'iwinfo_cli.c') 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, "); -- cgit v1.2.1