[PATCH] Retreive shared frequency when a singly "phy" is shared between multiple interfaces

Johannes Berg johannes
Sat Nov 19 03:09:28 PST 2011


On Sat, 2011-11-19 at 11:33 +0200, Jouni Malinen wrote:

> This is something that we need to discuss in more detail (on
> linux-wireless mailing list, I'd guess). There are other driver (e.g.,
> ath6kl) where a mechanism for being able to use a different address or
> well, at least some kind of different context for P2P operations may be
> desired. I agree with Johannes that adding a separate wlan1 interface
> for P2P device is not really the best way of doing this. Though, there
> could be some potential issues in being able to multiplex all P2P
> management operations on the station interface (but most, if not all, of
> those have been resolved with new attributes allowing TX rate control
> etc.).
> 
> It could be a good starting point to run some experiments with a new
> nl80211 command to enable P2P functionality on the initial wlan0
> interface with a mechanism that allows the driver to return a P2P
> Device Address that may (or may not) differ from the wlan0 MAC address.

I agree with this, and some sort of context management for that would be
good even for other devices -- e.g. iwlwifi right now will enable P2P
device context on r-o-c and disable it again on a timeout.

This also goes towards having things like being discoverable (extended
listen) offloaded to the device.

johannes




More information about the Hostap mailing list