mac80211: add pre_channel_switch driver operation
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 8 Oct 2014 06:48:37 +0000 (09:48 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Oct 2014 09:30:08 +0000 (11:30 +0200)
commit6d027bcc8a4e2518ae825b0ff3dd069ab1abfe96
tree798d3bfaf90f5f653905da6cb3be864f2a7a0443
parente9a21949b79414dda42a017855b288901c07e613
mac80211: add pre_channel_switch driver operation

Some drivers may need to prepare for a channel switch also when it is
initiated from the remote side (eg. station, P2P client).  To make
this possible, add a generic callback that can be called for all
interface types.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h
net/mac80211/mlme.c
net/mac80211/trace.h