diff options
author | Jouni Malinen <j@w1.fi> | 2011-07-15 20:25:53 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-07-15 20:28:46 +0300 |
commit | 04a85e4401c958f2685224a55c1932e5bcf22213 (patch) | |
tree | b330705908f3c373ba3c04ec38d7861f892bf4c9 /wpa_supplicant/p2p_supplicant.h | |
parent | 15f0961447f9865640505378b4d63207f3c1aa5f (diff) | |
download | external_wpa_supplicant_8_ti-04a85e4401c958f2685224a55c1932e5bcf22213.zip external_wpa_supplicant_8_ti-04a85e4401c958f2685224a55c1932e5bcf22213.tar.gz external_wpa_supplicant_8_ti-04a85e4401c958f2685224a55c1932e5bcf22213.tar.bz2 |
P2P: Filter Probe Request frames based on DA and BSSID in Listen state
Only accept Probe Request frames that have a Wildcard BSSID and a
destination address that matches with our P2P Device Address or is the
broadcast address per P2P specification 3.1.2.1.1.
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r-- | wpa_supplicant/p2p_supplicant.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h index b1080a5..ad74217 100644 --- a/wpa_supplicant/p2p_supplicant.h +++ b/wpa_supplicant/p2p_supplicant.h @@ -58,6 +58,7 @@ int wpas_p2p_listen(struct wpa_supplicant *wpa_s, unsigned int timeout); int wpas_p2p_assoc_req_ie(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, u8 *buf, size_t len, int p2p_group); int wpas_p2p_probe_req_rx(struct wpa_supplicant *wpa_s, const u8 *addr, + const u8 *dst, const u8 *bssid, const u8 *ie, size_t ie_len); void wpas_p2p_rx_action(struct wpa_supplicant *wpa_s, const u8 *da, const u8 *sa, const u8 *bssid, |