Add SAE and FT/SAE into scan results info
These key management options were missing from the previous set of parsed information in scan results. Signed-off-by: Javier Lopez <jlopex@gmail.com> Signed-off-by: Jason Abele <jason.abele@gmail.com>
This commit is contained in:
parent
99e5f0e616
commit
be6b29f63d
1 changed files with 14 additions and 0 deletions
|
@ -2106,6 +2106,13 @@ static char * wpa_supplicant_ie_txt(char *pos, char *end, const char *proto,
|
||||||
return pos;
|
return pos;
|
||||||
pos += ret;
|
pos += ret;
|
||||||
}
|
}
|
||||||
|
if (data.key_mgmt & WPA_KEY_MGMT_SAE) {
|
||||||
|
ret = os_snprintf(pos, end - pos, "%sSAE",
|
||||||
|
pos == start ? "" : "+");
|
||||||
|
if (ret < 0 || ret >= end - pos)
|
||||||
|
return pos;
|
||||||
|
pos += ret;
|
||||||
|
}
|
||||||
#ifdef CONFIG_IEEE80211R
|
#ifdef CONFIG_IEEE80211R
|
||||||
if (data.key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) {
|
if (data.key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) {
|
||||||
ret = os_snprintf(pos, end - pos, "%sFT/EAP",
|
ret = os_snprintf(pos, end - pos, "%sFT/EAP",
|
||||||
|
@ -2121,6 +2128,13 @@ static char * wpa_supplicant_ie_txt(char *pos, char *end, const char *proto,
|
||||||
return pos;
|
return pos;
|
||||||
pos += ret;
|
pos += ret;
|
||||||
}
|
}
|
||||||
|
if (data.key_mgmt & WPA_KEY_MGMT_FT_SAE) {
|
||||||
|
ret = os_snprintf(pos, end - pos, "%sFT/SAE",
|
||||||
|
pos == start ? "" : "+");
|
||||||
|
if (ret < 0 || ret >= end - pos)
|
||||||
|
return pos;
|
||||||
|
pos += ret;
|
||||||
|
}
|
||||||
#endif /* CONFIG_IEEE80211R */
|
#endif /* CONFIG_IEEE80211R */
|
||||||
#ifdef CONFIG_IEEE80211W
|
#ifdef CONFIG_IEEE80211W
|
||||||
if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) {
|
if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue