]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
print single GTKSA/PTKSA capability, TDLS/TPK auth
authorJoerg Mayer <jmayer@loplof.de>
Thu, 29 Aug 2013 10:07:38 +0000 (12:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Aug 2013 10:08:03 +0000 (12:08 +0200)
scan.c

diff --git a/scan.c b/scan.c
index 4fb0f23efe483e69a0a6556072fb07a2fda51b72..a0c9cab7d4f877b2f293c525b5373b97a6d2c2b1 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -425,6 +425,9 @@ static void print_auth(const uint8_t *data)
                case 6:
                        printf("PSK/SHA-256");
                        break;
+               case 7:
+                       printf("TDLS/TPK");
+                       break;
                default:
                        printf("%.02x-%.02x-%.02x:%d",
                                data[0], data[1] ,data[2], data[3]);
@@ -516,6 +519,7 @@ static void print_rsn_ie(const char *defcipher, const char *defauth,
                        printf(" NoPairwise");
                switch ((capa & 0x000c) >> 2) {
                case 0:
+                       printf(" 1-PTKSA-RC");
                        break;
                case 1:
                        printf(" 2-PTKSA-RC");
@@ -529,6 +533,7 @@ static void print_rsn_ie(const char *defcipher, const char *defauth,
                }
                switch ((capa & 0x0030) >> 4) {
                case 0:
+                       printf(" 1-GTKSA-RC");
                        break;
                case 1:
                        printf(" 2-GTKSA-RC");