Skip to contentSkip to conversation

iw: scan: Decode additional WPA3 AKM suites and group ciphers

PATCH New Alex Gavin 1 participant 3 messages Apr 13, 2025

lore
Share & tools
lore

Alex Gavin

author
#0 lore raw

cover iw: scan: Decode additional WPA3 AKM suites and group ciphers

Alex Gavin (2):
iw: scan: Decode additional WPA3 AKM suite types
iw: scan: Decode additional WPA3 group ciphers

 scan.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Signature · 1 line
2.47.2
author
#1 lore raw

PATCH 1/2 iw: scan: Decode additional WPA3 AKM suite types

These values are taken from the publicly-available WPA3 specification available on the WFA website.

Specific string choice attempts to match previous
printouts, rather than matching the specification
verbatim.

---
 scan.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
scan.c +12 -0
index 6cf44d2..63babdc 100644
@@ -885,6 +885,18 @@ static void print_auth(const uint8_t *data)
 		case 18:
 			printf("OWE");
 			break;
+		case 19:
+			printf("FT/PSK/SHA-384");
+			break;
+		case 20:
+			printf("PSK/SHA-384");
+			break;
+		case 24:
+			printf("SAE-EXT-KEY");
+			break;
+		case 25:
+			printf("FT/SAE-EXT-KEY");
+			break;
 		default:
 			printf("%.02x-%.02x-%.02x:%d",
 				data[0], data[1] ,data[2], data[3]);
Signature · 1 line
2.47.2
author
#2 lore raw

PATCH 2/2 iw: scan: Decode additional WPA3 group ciphers

In reply to Alex Gavin

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'.

---
 scan.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
scan.c +12 -0
index 63babdc..c2c04ac 100644
@@ -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]);
Signature · 1 line
2.47.2