]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add P2P Device abstraction
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jun 2012 22:19:54 +0000 (00:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 11:58:21 +0000 (13:58 +0200)
commit06568f9fe26db99f289ad9d242353a731cb46799
tree22d0f75c2f369fd02695ea8051ddc68e6f8b8390
parent68dd14f71832ba3f2f7d69f80f5430da2fcf42a5
cfg80211: add P2P Device abstraction

In order to support using a different MAC address
for the P2P Device address we must first have a
P2P Device abstraction that can be assigned a MAC
address.

This abstraction will also be useful to support
offloading P2P operations to the device, e.g.
periodic listen for discoverability.

Currently, the driver is responsible for assigning
a MAC address to the P2P Device, but this could be
changed by allowing a MAC address to be given to
the NEW_INTERFACE command.

As it has no associated netdev, a P2P Device can
only be identified by its wdev identifier but the
previous patches allowed using the wdev identifier
in various APIs, e.g. remain-on-channel.

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