diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-06-15 18:19:54 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-08-20 07:58:21 -0400 |
commit | 98104fdeda63d57631c9f89e90a7b83b58fcee40 (patch) | |
tree | 22d0f75c2f369fd02695ea8051ddc68e6f8b8390 /net/mac80211/util.c | |
parent | cc74c0c7d6d623d0d3f13ef64895937edb7b3177 (diff) |
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>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 7dff94e43a0c..9a4e4e30ea6c 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1390,6 +1390,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1390 | case NL80211_IFTYPE_MONITOR: | 1390 | case NL80211_IFTYPE_MONITOR: |
1391 | /* ignore virtual */ | 1391 | /* ignore virtual */ |
1392 | break; | 1392 | break; |
1393 | case NL80211_IFTYPE_P2P_DEVICE: | ||
1394 | /* not yet supported */ | ||
1393 | case NL80211_IFTYPE_UNSPECIFIED: | 1395 | case NL80211_IFTYPE_UNSPECIFIED: |
1394 | case NUM_NL80211_IFTYPES: | 1396 | case NUM_NL80211_IFTYPES: |
1395 | case NL80211_IFTYPE_P2P_CLIENT: | 1397 | case NL80211_IFTYPE_P2P_CLIENT: |