[PATCH] P2P: fill bridge interface on GO creation

Jouni Malinen j at w1.fi
Thu Aug 9 08:55:27 EDT 2012


On Thu, Aug 09, 2012 at 05:33:52PM +0530, Rajkumar Manoharan wrote:
> I tried to bridge ethernet and P2P GO like we do it for AP and ethernet.
> Thanks for the spec. reference. I did my testing by creating a bridge interface
> and started supplicant with bridge option then started autonomus GO. Later
> add the group interface as bridge member by bridge-utils.

While you could do that that with non-P2P AP interface, the P2P cross
connection is supposed to use masquerading NAT and IP routing instead of
layer 2 bridge.

In addition, the sequence where a new interface gets added to a bridge
is not really something that is handled by wpa_supplicant currently.
This would need to be more like hostapd implementation or some other
ways of more dynamically changing the parameters. Just assuming that the
parent interface and the GO (or any other separately added interface)
will end up getting added to the same bridge does not sound generic
enough.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list