diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 1fd1c4acfc8e..a587867375b2 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -3355,6 +3355,17 @@ int cfg80211_can_beacon_sec_chan(struct wiphy *wiphy, | |||
3355 | enum nl80211_channel_type channel_type); | 3355 | enum nl80211_channel_type channel_type); |
3356 | 3356 | ||
3357 | /* | 3357 | /* |
3358 | * cfg80211_ch_switch_notify - update wdev channel and notify userspace | ||
3359 | * @dev: the device which switched channels | ||
3360 | * @freq: new channel frequency (in MHz) | ||
3361 | * @type: channel type | ||
3362 | * | ||
3363 | * Acquires wdev_lock, so must only be called from sleepable driver context! | ||
3364 | */ | ||
3365 | void cfg80211_ch_switch_notify(struct net_device *dev, int freq, | ||
3366 | enum nl80211_channel_type type); | ||
3367 | |||
3368 | /* | ||
3358 | * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units) | 3369 | * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units) |
3359 | * @rate: given rate_info to calculate bitrate from | 3370 | * @rate: given rate_info to calculate bitrate from |
3360 | * | 3371 | * |