wlantest: Verify MFP use in association with MFPR BSS
This commit is contained in:
parent
994d6a88c5
commit
070d6173e2
1 changed files with 6 additions and 0 deletions
|
@ -108,6 +108,12 @@ void sta_update_assoc(struct wlantest_sta *sta, struct ieee802_11_elems *elems)
|
||||||
MAC2STR(sta->addr), data.group_cipher,
|
MAC2STR(sta->addr), data.group_cipher,
|
||||||
MAC2STR(bss->bssid), bss->group_cipher);
|
MAC2STR(bss->bssid), bss->group_cipher);
|
||||||
}
|
}
|
||||||
|
if ((bss->rsn_capab & WPA_CAPABILITY_MFPR) &&
|
||||||
|
!(sta->rsn_capab & WPA_CAPABILITY_MFPC)) {
|
||||||
|
wpa_printf(MSG_INFO, "STA " MACSTR " tries to associate "
|
||||||
|
"without MFP to BSS " MACSTR " that advertises "
|
||||||
|
"MFPR", MAC2STR(sta->addr), MAC2STR(bss->bssid));
|
||||||
|
}
|
||||||
|
|
||||||
wpa_printf(MSG_INFO, "STA " MACSTR
|
wpa_printf(MSG_INFO, "STA " MACSTR
|
||||||
" proto=%s%s%s"
|
" proto=%s%s%s"
|
||||||
|
|
Loading…
Reference in a new issue