Peer sync before sending P2P action frame

Jouni Malinen j at w1.fi
Sun Aug 2 14:18:11 EDT 2015


On Thu, Jul 16, 2015 at 05:53:58AM +0000, Atul Joshi wrote:
> When handling P2P-INVITE or P2P-CONNECT for sending a p2p-invitation-req or p2p-go-negotiation-req, the sender needs to ensure that the peer device is in the listen state.
> P2P specification suggests to send a Probe request and wait for Probe response to ensure this before sending the above requests..
> Is the wpa_supplciant responsible for ensuring that or is it the responsibility of the underlying driver (mac80211/vendor specific) /device to ensure that peer's listen state is ensured before sending the request over the air?

wpa_supplicant uses the Invitation Request or GO Negotiation frame to do
this, i.e., there is no need to run separate Probe Request/Response
exchange for this. It is just wasting airtime and adding risk for race
conditions.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list