aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 8248e3909fdf..faa7b9cf9cc7 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2609,6 +2609,7 @@ enum ieee80211_roc_type {
2609 * of queues to flush, which is useful if different virtual interfaces 2609 * of queues to flush, which is useful if different virtual interfaces
2610 * use different hardware queues; it may also indicate all queues. 2610 * use different hardware queues; it may also indicate all queues.
2611 * If the parameter @drop is set to %true, pending frames may be dropped. 2611 * If the parameter @drop is set to %true, pending frames may be dropped.
2612 * Note that vif can be NULL.
2612 * The callback can sleep. 2613 * The callback can sleep.
2613 * 2614 *
2614 * @channel_switch: Drivers that need (or want) to offload the channel 2615 * @channel_switch: Drivers that need (or want) to offload the channel
@@ -2871,7 +2872,8 @@ struct ieee80211_ops {
2871 struct netlink_callback *cb, 2872 struct netlink_callback *cb,
2872 void *data, int len); 2873 void *data, int len);
2873#endif 2874#endif
2874 void (*flush)(struct ieee80211_hw *hw, u32 queues, bool drop); 2875 void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
2876 u32 queues, bool drop);
2875 void (*channel_switch)(struct ieee80211_hw *hw, 2877 void (*channel_switch)(struct ieee80211_hw *hw,
2876 struct ieee80211_channel_switch *ch_switch); 2878 struct ieee80211_channel_switch *ch_switch);
2877 int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant); 2879 int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);