diff mbox series

[iw,2/2] iw: scan: Decode additional WPA3 group ciphers

Message ID 20250413182515.10755-3-alex.gavin@candelatech.com (mailing list archive)
State New
Delegated to: Johannes Berg
Headers show
Series iw: scan: Decode additional WPA3 AKM suites and group ciphers | expand

Checks

Context Check Description
wifibot/tree_selection success Not a local patch

Commit Message

Alex Gavin April 13, 2025, 6:24 p.m. UTC
These values are taken from the publicly-available WPA3
specification available on the WFA website.

The values also match hostapd keys 'group_cipher'
and 'group_mgmt_cipher'.

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
---
 scan.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/scan.c b/scan.c
index 63babdc..c2c04ac 100644
--- a/scan.c
+++ b/scan.c
@@ -807,6 +807,18 @@  static void print_cipher(const uint8_t *data)
 		case 8:
 			printf("GCMP");
 			break;
+		case 9:
+			printf("GCMP-256");
+			break;
+		case 11:
+			printf("BIP-GMAC-128");
+			break;
+		case 12:
+			printf("BIP-GMAC-256");
+			break;
+		case 13:
+			printf("BIP-CMAC-256");
+			break;
 		default:
 			printf("%.02x-%.02x-%.02x:%d",
 				data[0], data[1] ,data[2], data[3]);