diff options
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index acaeaa784d68..11f6469b3f98 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -680,3 +680,30 @@ void cfg80211_mlme_down(struct cfg80211_registered_device *rdev, | |||
680 | } | 680 | } |
681 | } | 681 | } |
682 | } | 682 | } |
683 | |||
684 | void cfg80211_ready_on_channel(struct net_device *dev, u64 cookie, | ||
685 | struct ieee80211_channel *chan, | ||
686 | enum nl80211_channel_type channel_type, | ||
687 | unsigned int duration, gfp_t gfp) | ||
688 | { | ||
689 | struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
690 | struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
691 | |||
692 | nl80211_send_remain_on_channel(rdev, dev, cookie, chan, channel_type, | ||
693 | duration, gfp); | ||
694 | } | ||
695 | EXPORT_SYMBOL(cfg80211_ready_on_channel); | ||
696 | |||
697 | void cfg80211_remain_on_channel_expired(struct net_device *dev, | ||
698 | u64 cookie, | ||
699 | struct ieee80211_channel *chan, | ||
700 | enum nl80211_channel_type channel_type, | ||
701 | gfp_t gfp) | ||
702 | { | ||
703 | struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; | ||
704 | struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy); | ||
705 | |||
706 | nl80211_send_remain_on_channel_cancel(rdev, dev, cookie, chan, | ||
707 | channel_type, gfp); | ||
708 | } | ||
709 | EXPORT_SYMBOL(cfg80211_remain_on_channel_expired); | ||