mac80211: support runtime interface type changes
Add support to mac80211 for changing the interface type even when the interface is UP, if the driver supports it. To achieve this * add a new driver callback for switching, * split some of the interface up/down code out into new functions (do_open/do_stop), and * maintain an own __SDATA_RUNNING bit that will not be set during interface type, so that any other code doesn't use the interface. Signed-off-by:Johannes Berg <johannes.berg@intel.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- include/net/mac80211.h 9 additions, 0 deletionsinclude/net/mac80211.h
- net/mac80211/cfg.c 0 additions, 3 deletionsnet/mac80211/cfg.c
- net/mac80211/driver-ops.h 14 additions, 0 deletionsnet/mac80211/driver-ops.h
- net/mac80211/driver-trace.h 25 additions, 0 deletionsnet/mac80211/driver-trace.h
- net/mac80211/ieee80211_i.h 13 additions, 1 deletionnet/mac80211/ieee80211_i.h
- net/mac80211/iface.c 124 additions, 33 deletionsnet/mac80211/iface.c
Loading
Please register or sign in to comment