]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nl80211: prepare for non-netdev wireless devs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 12:33:17 +0000 (14:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 9 Jul 2012 12:51:46 +0000 (14:51 +0200)
commit89a54e48b9cbb44aed1bf6cd712e087b96b6ae65
treef605a69704d49c5535adf2906b276ca2207a078f
parentf72b85b8eb6657fae95ac8f5cb20954b4d87a520
nl80211: prepare for non-netdev wireless devs

In order to support a P2P device abstraction and
Bluetooth high-speed AMPs, we need to have a way
to identify virtual interfaces that don't have a
netdev associated.

Do this by adding a NL80211_ATTR_WDEV attribute
to identify a wdev which may or may not also be
a netdev.

To simplify things, use a 64-bit value with the
high 32 bits being the wiphy index for this new
wdev identifier in the nl80211 API.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/sme.c
net/wireless/util.c