P2P Device support: how to deal with p2p_no_group_iface option

Johannes Berg johannes
Mon May 27 06:59:21 PDT 2013


On Mon, 2013-05-27 at 15:56 +0200, Arend van Spriel wrote:

> > I don't think I'd do either of those. Not creating P2P_DEVICE will
> > simply not work with drivers expecting it, and changing iftype to/from
> > P2P-Device isn't supported since it would delete/create the netdev.
> 
> So should we check that in cfg80211 upon wiphy_register().

Check what?

> > I don't really see much choice but reject (or ignore) this option for
> > drivers using P2P_DEVICE. Why would anyone *really* want P2P operation
> > on wlan0 when another interface can be used?
> 
> In this mac80211_hwsim is a special case. We could make P2P_DEVICE 
> support in mac80211_hwsim optional using module parameter to allow 
> testing both cases.

Yes, that we could do.

johannes




More information about the Hostap mailing list