Thursday, 6 June 2019

WiFi Direct

https://w1.fi/cgit/hostap/plain/wpa_supplicant/README-P2P

https://wireless.wiki.kernel.org/en/developers/p2p/overview

http://riya80211.blogspot.com/2013/12/eap-based-setup-based-on-external.html

P2P device mode
P2P group owner mode
P2P client mode

Device Discovery:

1. Find phasse - Arrive at common channel for group formation. For listen state channel 1, 6, 11 are used as listen channels.

P2P device will use p2p device interface address for all the exchange of packet for group formation.

During scan - probe request has P2P IE also probe responce  has P2P IE.

Probe request  - Wild card SSID - "DIRECT-"


Find phase :

Group formation:

group formation request
1. SSID - wild card ssid
2. Intent
3. channel list
4. WSC IE - Device Password ID
5.

Group formation responce
Intent
SSID - if it is goinf GO
channel list
operating channel

Group formation:




Invitation: