]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: scan: Decode additional WPA3 AKM suite types
authorAlex Gavin <alex.gavin@candelatech.com>
Sun, 13 Apr 2025 18:24:54 +0000 (11:24 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Apr 2025 14:40:41 +0000 (16:40 +0200)
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.

Signed-off-by: Alex Gavin <alex.gavin@candelatech.com>
Link: https://patch.msgid.link/20250413182515.10755-2-alex.gavin@candelatech.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c

diff --git a/scan.c b/scan.c
index a366184c7bed4ad9a6b63922940338002e2780fe..b3ddb66eecc7a0cd7c66caf4f0008b493e5205b4 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -887,6 +887,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]);