|
@@ -2609,6 +2609,7 @@ enum ieee80211_roc_type {
|
|
* of queues to flush, which is useful if different virtual interfaces
|
|
* of queues to flush, which is useful if different virtual interfaces
|
|
* use different hardware queues; it may also indicate all queues.
|
|
* use different hardware queues; it may also indicate all queues.
|
|
* If the parameter @drop is set to %true, pending frames may be dropped.
|
|
* If the parameter @drop is set to %true, pending frames may be dropped.
|
|
|
|
+ * Note that vif can be NULL.
|
|
* The callback can sleep.
|
|
* The callback can sleep.
|
|
*
|
|
*
|
|
* @channel_switch: Drivers that need (or want) to offload the channel
|
|
* @channel_switch: Drivers that need (or want) to offload the channel
|
|
@@ -2871,7 +2872,8 @@ struct ieee80211_ops {
|
|
struct netlink_callback *cb,
|
|
struct netlink_callback *cb,
|
|
void *data, int len);
|
|
void *data, int len);
|
|
#endif
|
|
#endif
|
|
- void (*flush)(struct ieee80211_hw *hw, u32 queues, bool drop);
|
|
|
|
|
|
+ void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|
|
|
+ u32 queues, bool drop);
|
|
void (*channel_switch)(struct ieee80211_hw *hw,
|
|
void (*channel_switch)(struct ieee80211_hw *hw,
|
|
struct ieee80211_channel_switch *ch_switch);
|
|
struct ieee80211_channel_switch *ch_switch);
|
|
int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);
|
|
int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);
|