diff options
author | Thomas Pedersen <c_tpeder@qca.qualcomm.com> | 2012-04-06 16:35:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-11 16:23:59 -0400 |
commit | 5314526b1743e8e8614293db7d86e480b4fe9824 (patch) | |
tree | c493979d2d417b9a146ac6ef5e1b5562a5fda6df /net/wireless/nl80211.h | |
parent | 14dc7852099535d17807e348dd127433413b7e0a (diff) |
cfg80211: add channel switch notify event
The firmware may decide to switch channels while already beaconing, e.g.
in response to a cfg80211 connect request on a different vif. Add this
event to notify userspace when an AP or GO interface has successfully
migrated to a new channel, so it can update its configuration
accordingly.
Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r-- | net/wireless/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index 4ffe50df9f31..01a1122c3b33 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h | |||
@@ -118,6 +118,10 @@ void nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev, | |||
118 | struct net_device *netdev, int index, | 118 | struct net_device *netdev, int index, |
119 | const u8 *bssid, bool preauth, gfp_t gfp); | 119 | const u8 *bssid, bool preauth, gfp_t gfp); |
120 | 120 | ||
121 | void nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, | ||
122 | struct net_device *dev, int freq, | ||
123 | enum nl80211_channel_type type, gfp_t gfp); | ||
124 | |||
121 | bool nl80211_unexpected_frame(struct net_device *dev, | 125 | bool nl80211_unexpected_frame(struct net_device *dev, |
122 | const u8 *addr, gfp_t gfp); | 126 | const u8 *addr, gfp_t gfp); |
123 | bool nl80211_unexpected_4addr_frame(struct net_device *dev, | 127 | bool nl80211_unexpected_4addr_frame(struct net_device *dev, |