aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-11-19 10:05:09 -0500
committerJohannes Berg <johannes.berg@intel.com>2012-11-19 10:20:37 -0500
commit49884568628db47a1f8c1f596c6ab3b8db81b73c (patch)
treec5fb7a7c9c5a4ea3c91b201f5f0bb692eaa8afe1 /include/net
parent3475b0946bd2057497628790d4b4fce4bfdcc304 (diff)
mac80211: make remain_on_channel() op pass vif param
Drivers (e.g. wl12xx) might need to know the vif to roc on (mainly in order to configure the rx filters correctly). Add the vif to the op params, and update the current users (iwlwifi) to use the new api. Signed-off-by: Eliad Peller <eliad@wizery.com> [fix hwsim] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index dd08fbb3cf2..d11037b5b85 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2530,6 +2530,7 @@ struct ieee80211_ops {
2530 int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant); 2530 int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant);
2531 2531
2532 int (*remain_on_channel)(struct ieee80211_hw *hw, 2532 int (*remain_on_channel)(struct ieee80211_hw *hw,
2533 struct ieee80211_vif *vif,
2533 struct ieee80211_channel *chan, 2534 struct ieee80211_channel *chan,
2534 enum nl80211_channel_type channel_type, 2535 enum nl80211_channel_type channel_type,
2535 int duration); 2536 int duration);