how can i use wlan0 and p2p0 for p2p operations without new virtual interfaces?

Jouni Malinen j
Thu Jan 22 15:29:09 PST 2015


On Wed, Jan 21, 2015 at 03:30:07PM +0000, Stefano Cappa wrote:
> I'm always at the same point, i mean, i want to have an android device with 2 p2p interfaces.

Do you have any reason to believe that the driver you are using supports
this?

> I tried with driver_param=use_p2p_group_interface=1 without success, because i can create only one interface for p2p operations and i really don't understand the reason.

That would sound like a clear sign of the driver not supporting this..

> Suppose that i have limitations about the total number of interfaces that i can create, for example 3. There is a way to use p2p-p2p0-0 and directly p2p0, instead of p2p-p2p0-1? Or p2p-p2p0-0 and wlan0? Or p2p0 and wlan0, directly?
> 
> And, if the answer is yes, how can i achieve this with wpa_supplicant + wpa_cli?

Only a single P2P group case can use a specific netdev since that same
netdev is used for both P2P management operations and group. In order to
use multiple concurrent groups, the only available option is to use a new
group interface for each group.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list