mac80211: add p2p device type support
authorJohannes Berg <johannes.berg@intel.com>
Thu, 16 Sep 2010 12:58:23 +0000 (14:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Sep 2010 19:46:07 +0000 (15:46 -0400)
commit2ca27bcff7127da1aa7dd39cd2a6f7cb187e327f
treefae1b81c56763a53d432310b8fcbb81b9bb48d7e
parent074ac8df9f93f2a35a356d92fd7f16cd846f0a03
mac80211: add p2p device type support

When a driver advertises p2p device support,
mac80211 will handle it, but internally it will
rewrite the interface type to STA/AP rather than
P2P-STA/GO since otherwise a lot of paths need
to be touched that are otherwise identical. A
p2p boolean tells drivers whether or not a given
interface will be used for p2p or not.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/rx.c
net/mac80211/util.c