[PATCH V2 21/23] nl80211: verify P2P-GO/CLIENT address with all interface addresses

Jouni Malinen j at w1.fi
Tue Jul 2 12:28:29 EDT 2013


On Tue, Jul 02, 2013 at 08:09:39PM +0800, Chengyi Zhao wrote:
> I think Google, Boardcom and Intel use this solution for the Wi-Fi P2P
> cross connection, but it can not run fine in Android 4.2.2 yet. Please
> refer to the following information of android P2P, it is a P2P-GO role in
> mobile,

I'm not sure what "this solution" here is referring to. Use of three
different MAC addresses? Or the new dedicated non-netdev P2P_DEVICE?
Neither of those is needed for P2P cross connection.

> if wlan0 connect the internet, and system uses iptable(maybe more another
> techonology) to create a special relation between p2p0  and wlan0, P2P-Client
> will very conveniently surf internet via  the Wi-Fi P2P cross connection.
> In fact this functionality is simalerly tetheing

Sure, and that works just fine with wlan0 being used for managing P2P
operations and for the infrastructure AP connection while another netdev
is used for the P2P group (i.e., just two MAC addresses and no need for
P2P_DEVICE concept).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list