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>
Showing
- drivers/net/wireless/mac80211_hwsim.c 11 additions, 4 deletionsdrivers/net/wireless/mac80211_hwsim.c
- include/net/mac80211.h 26 additions, 1 deletioninclude/net/mac80211.h
- net/mac80211/cfg.c 18 additions, 7 deletionsnet/mac80211/cfg.c
- net/mac80211/driver-ops.h 3 additions, 3 deletionsnet/mac80211/driver-ops.h
- net/mac80211/driver-trace.h 13 additions, 8 deletionsnet/mac80211/driver-trace.h
- net/mac80211/iface.c 26 additions, 3 deletionsnet/mac80211/iface.c
- net/mac80211/main.c 15 additions, 0 deletionsnet/mac80211/main.c
- net/mac80211/rx.c 1 addition, 3 deletionsnet/mac80211/rx.c
- net/mac80211/util.c 4 additions, 14 deletionsnet/mac80211/util.c
Loading
Please register or sign in to comment