diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 494ac69ff477..77ea34b03285 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1545,6 +1545,10 @@ enum ieee80211_ampdu_mlme_action { | |||
1545 | * and need to call wiphy_rfkill_set_hw_state() in the callback. | 1545 | * and need to call wiphy_rfkill_set_hw_state() in the callback. |
1546 | * | 1546 | * |
1547 | * @testmode_cmd: Implement a cfg80211 test mode command. | 1547 | * @testmode_cmd: Implement a cfg80211 test mode command. |
1548 | * | ||
1549 | * @flush: Flush all pending frames from the hardware queue, making sure | ||
1550 | * that the hardware queues are empty. If the parameter @drop is set | ||
1551 | * to %true, pending frames may be dropped. | ||
1548 | */ | 1552 | */ |
1549 | struct ieee80211_ops { | 1553 | struct ieee80211_ops { |
1550 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 1554 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |
@@ -1601,6 +1605,7 @@ struct ieee80211_ops { | |||
1601 | #ifdef CONFIG_NL80211_TESTMODE | 1605 | #ifdef CONFIG_NL80211_TESTMODE |
1602 | int (*testmode_cmd)(struct ieee80211_hw *hw, void *data, int len); | 1606 | int (*testmode_cmd)(struct ieee80211_hw *hw, void *data, int len); |
1603 | #endif | 1607 | #endif |
1608 | void (*flush)(struct ieee80211_hw *hw, bool drop); | ||
1604 | }; | 1609 | }; |
1605 | 1610 | ||
1606 | /** | 1611 | /** |