]> git.baikalelectronics.ru Git - kernel.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)
commit2aa22c2a57e4345b73014ed8cabc31646c94bba5
treef605a69704d49c5535adf2906b276ca2207a078f
parentddcf6b388fd8bb11253b84b13f83bc0fb94b046b
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