summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2019-08-20 14:18:16 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-09-01 12:38:57 +0200
commitf8ef45065207b93b6a1df2a6619e82fef121f8bb (patch)
treec6f6af7e25e5917739abfc4da4a2b707a966bdff /include
parenta9f95570341baf2773a71585eef760ad5c257e65 (diff)
downloadiwinfo-f8ef45065207b93b6a1df2a6619e82fef121f8bb.tar.gz
iwinfo: Add support for WPA3
This patch adds support for WPA3, meaning SAE and OWE are now properly identified. This fixes iwinfo and LuCi showing WPA2 NONE for WPA3 SAE and OWE. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/iwinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h
index 9b2ffd1..d035c9c 100644
--- a/include/iwinfo.h
+++ b/include/iwinfo.h
@@ -43,7 +43,9 @@
#define IWINFO_KMGMT_NONE (1 << 0)
#define IWINFO_KMGMT_8021x (1 << 1)
#define IWINFO_KMGMT_PSK (1 << 2)
-#define IWINFO_KMGMT_COUNT 3
+#define IWINFO_KMGMT_SAE (1 << 3)
+#define IWINFO_KMGMT_OWE (1 << 4)
+#define IWINFO_KMGMT_COUNT 5
#define IWINFO_AUTH_OPEN (1 << 0)
#define IWINFO_AUTH_SHARED (1 << 1)