P2P: Do not reply to 802.11b-only Probe Request frames as GO
If AP mode SME/MLME within wpa_supplicant is used for processing Probe Request frames in GO mode, drop Probe Request frames that include only 802.11b rates per P2P spec section 2.4.1. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
ec7b97ab00
commit
85b4eac364
4 changed files with 46 additions and 33 deletions
|
@ -485,6 +485,17 @@ void handle_probe_req(struct hostapd_data *hapd,
|
|||
}
|
||||
#endif /* CONFIG_INTERWORKING */
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
if ((hapd->conf->p2p & P2P_GROUP_OWNER) &&
|
||||
supp_rates_11b_only(&elems)) {
|
||||
/* Indicates support for 11b rates only */
|
||||
wpa_printf(MSG_EXCESSIVE, "P2P: Ignore Probe Request from "
|
||||
MACSTR " with only 802.11b rates",
|
||||
MAC2STR(mgmt->sa));
|
||||
return;
|
||||
}
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
/* TODO: verify that supp_rates contains at least one matching rate
|
||||
* with AP configuration */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue