P2P group owner running scan of

Jouni Malinen j
Sun Oct 12 08:00:42 PDT 2014

On Mon, Sep 15, 2014 at 05:31:46PM +0000, Padmanabha, Seshadri K. wrote:
> I wish to know if below mentioned scenario is possible and what config or wpa_cli command sequence is necessary
> 1)      Say 'Device A' is a P2P group owner .
> *        What commands can I use to detect presence of preconfigured group owner( Device B - device address, SSID, PSK key known ) in background?
> *        I wish to activate the group client functionality on Device A on detecting Device B and disable GO functionality in Device A.

Assuming the driver you are using supports running a scan while
operating as an AP (including P2P GO), you could simply run a scan and
search for P2P groups (SSID has "DIRECT-" prefix and something after
that). "wpa_cli scan" followed by "wpa_cli scan_results" would show such
results with the [P2P] flag.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list