mac80211: add IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jun 2012 15:19:44 +0000 (17:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 11:58:23 +0000 (13:58 +0200)
commit6d71117a279aa30574a8af6c7348570c292285c2
tree89334a1d7bf17383524318179c6aee11d52f55d7
parentf142c6b906da451ded2c7a8e17b2a0e6fee3e891
mac80211: add IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF

Some devices like the current iwlwifi implementation
require that the P2P interface address match the P2P
Device address (only one P2P interface is supported.)
Add the HW flag IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF
that allows drivers to request that P2P Interfaces
added while a P2P Device is active get the same MAC
address by default.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/iface.c