Correctly identify key management algorithms starting with "FT-"
Correctly categorize FT-EAP-SHA384 as WPA3 Signed-off-by: Joerg Werner <schreibubi@gmail.com>
This commit is contained in:
parent
0496c722f1
commit
00aab871c5
2 changed files with 5 additions and 1 deletions
|
@ -1683,6 +1683,7 @@ static struct {
|
|||
{ "IEEE 802.1X/EAP", 0, IWINFO_KMGMT_8021x },
|
||||
{ "EAP-SUITE-B-192", 4, IWINFO_KMGMT_8021x },
|
||||
{ "EAP-SUITE-B", 4, IWINFO_KMGMT_8021x },
|
||||
{ "EAP-SHA384", 4, IWINFO_KMGMT_8021x },
|
||||
{ "EAP-SHA256", 0, IWINFO_KMGMT_8021x },
|
||||
{ "PSK-SHA256", 0, IWINFO_KMGMT_PSK },
|
||||
{ "NONE", 0, IWINFO_KMGMT_NONE },
|
||||
|
@ -1868,6 +1869,9 @@ static int nl80211_get_encryption(const char *ifname, char *buf)
|
|||
if (!strncmp(p, "WPA-", 4))
|
||||
p += 4;
|
||||
|
||||
if (!strncmp(p, "FT-", 3))
|
||||
p += 3;
|
||||
|
||||
parse_wpa_suites(p, atoi(wpa), &c->wpa_version, &c->auth_suites);
|
||||
}
|
||||
|
||||
|
|
|
@ -428,11 +428,11 @@ void iwinfo_parse_rsn(struct iwinfo_crypto_entry *c, uint8_t *data, uint8_t len,
|
|||
|
||||
case 11: /* 802.1x Suite-B */
|
||||
case 12: /* 802.1x Suite-B-192 */
|
||||
case 13: /* FT/802.1x SHA-384 */
|
||||
c->wpa_version |= 4;
|
||||
c->auth_suites |= IWINFO_KMGMT_8021x;
|
||||
break;
|
||||
|
||||
case 13: /* FT/802.1x SHA-384 */
|
||||
case 14: /* FILS SHA-256 */
|
||||
case 15: /* FILS SHA-384 */
|
||||
case 16: /* FT/FILS SHA-256 */
|
||||
|
|
Loading…
Reference in a new issue