From: Alexander Wetzel Date: Sun, 22 Mar 2020 16:35:24 +0000 (+0100) Subject: iw: Complete Extended Key ID detection X-Git-Tag: v5.8~23 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fiw.git;a=commitdiff_plain;h=05157b139e26c33bc6568923d1cd4b9c0cfaf602 iw: Complete Extended Key ID detection info: update text to have a unified spelling scan: flag Extended Key ID in scans Signed-off-by: Alexander Wetzel Link: https://lore.kernel.org/r/20200322163524.1338224-1-alexander@wetzel-home.de Signed-off-by: Johannes Berg --- diff --git a/info.c b/info.c index 97240f6..8d4cffc 100644 --- a/info.c +++ b/info.c @@ -698,7 +698,7 @@ broken_combination: "PMKSA caching supported in AP mode"); ext_feat_print(tb, SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD, "band specific RSSI thresholds for scheduled scan"); - ext_feat_print(tb, EXT_KEY_ID, "extended key ID support"); + ext_feat_print(tb, EXT_KEY_ID, "Extended Key ID support"); ext_feat_print(tb, STA_TX_PWR, "TX power control per station"); ext_feat_print(tb, SAE_OFFLOAD, "SAE offload support"); ext_feat_print(tb, VLAN_OFFLOAD, "VLAN offload support"); diff --git a/scan.c b/scan.c index 1ccea94..57d4e9c 100644 --- a/scan.c +++ b/scan.c @@ -1018,6 +1018,8 @@ static void _print_rsn_ie(const char *defcipher, const char *defauth, printf(" SPP-AMSDU-capable"); if (capa & 0x0800) printf(" SPP-AMSDU-required"); + if (capa & 0x2000) + printf(" Extended-Key-ID"); printf(" (0x%.4x)\n", capa); data += 2; len -= 2;