Note: The design on this page is WIP: http://thread.gmane.org/gmane.linux.kernel.wireless.general/93044
Some drivers/devices would like to
A separate netdev would be the most obvious choice, but can be confusing:
Better: use dedicated API in nl80211:
(or maybe don't have “stop-P2P” but simply stop when socket is closed like mgmt frame subscriptions)
The only issue with this is that things like scan, mgmt-tx etc. need a netdev index now. However, this can be changed, idea:
struct wireless_dev
but without a netdev
scan
,
remain_on_channel
) to take
struct wireless_dev
instead of netdev, driver can check what the type is etc.
This could also be a good framework for additional features that we'll need to add: