aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2019-07-23 21:00:01 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-07-26 13:08:28 +0200
commit5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d (patch)
treec1ef8a73e258af097396422b4adc20a76f4927d8 /include/net/mac80211.h
parentmac80211_hwsim: Fix a typo in the name of function 'mac80211_hswim_he_capab()' (diff)
downloadlinux-dev-5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d.tar.xz
linux-dev-5db4c4b9559f8cddd5f7f74e58c7b8f172120e6d.zip
mac80211: pass the vif to cancel_remain_on_channel
This low level driver can find it useful to get the vif when a remain on channel session is cancelled. iwlwifi will need this soon. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Link: https://lore.kernel.org/r/20190723180001.5828-1-emmanuel.grumbach@intel.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index d26da013f7c0..e39bf85ae4c2 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3914,7 +3914,8 @@ struct ieee80211_ops {
struct ieee80211_channel *chan,
int duration,
enum ieee80211_roc_type type);
- int (*cancel_remain_on_channel)(struct ieee80211_hw *hw);
+ int (*cancel_remain_on_channel)(struct ieee80211_hw *hw,
+ struct ieee80211_vif *vif);
int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx);
void (*get_ringparam)(struct ieee80211_hw *hw,
u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);