P2P: Add automatic GO Negotiation vs. join-a-group selection
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 13 Apr 2012 13:04:36 +0000 (16:04 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 13 Apr 2012 13:04:36 +0000 (16:04 +0300)
commitb31be3a0fd58b38e669d804aa082b1039408566f
tree9ca840a93242edc6874858ae142b3f37deba551a
parent7b63c6396a8c1eb5a7bbb60480098412f668dfa3
P2P: Add automatic GO Negotiation vs. join-a-group selection

p2p_connect command can now be used with an optional "auto" parameter
to request wpa_supplicant to determine automatically whether to use
join-a-group operation (if the peer is operating as a GO) or group
formation. This makes it easier for external programs to handle
connection type selection by offloading this to wpa_supplicant. The
previously used p2p_connect join commands can be replaced with
p2p_connect auto to use this new mechanism.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h
wpa_supplicant/wpa_supplicant_i.h