Wpa_supplicant+wpa_cli P2P Go and client at the same time

Dan Williams dcbw
Mon Dec 15 13:24:50 PST 2014


On Mon, 2014-12-15 at 20:01 +0000, Stefano Cappa wrote:
> I have a question, probably very stupid but i only want to be sure:
> 
> 
> 1) With wpa_supplicant+wpa_cli it's possible for a P2P GO to be a P2P Client in another network at the same time? If yes, this feature is also available on Android devices Kitkat/Lollipop?

I think that depends on the kernel driver for the wifi interface, and on
the hardware's capability.  But if you have two wifi interfaces, then as
long as one driver supports P2P GO and one driver supports client, then:

> 2) If 1 is not possibile, can i execute wifi Direct protocol with 2 different instances of wpa_supplicant+wpa_cli on two different network interfaces (p2p0 and another one created for example with ip/iw/ifconfig...) and implement the previous feature? Or i need something more sophisticated?

Yes.  Or two different interfaces but using the same
wpa_supplicant/wpa_cli process.  No reason to use two different
wpa_supplicant processes, since the same process can easily control any
number of wifi interfaces at the same time, independently.

Dan




More information about the Hostap mailing list