diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index ff137fd7714f..25cc192cbe4c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1608,6 +1608,16 @@ void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue); | |||
1608 | void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue); | 1608 | void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue); |
1609 | 1609 | ||
1610 | /** | 1610 | /** |
1611 | * ieee80211_queue_stopped - test status of the queue | ||
1612 | * @hw: pointer as obtained from ieee80211_alloc_hw(). | ||
1613 | * @queue: queue number (counted from zero). | ||
1614 | * | ||
1615 | * Drivers should use this function instead of netif_stop_queue. | ||
1616 | */ | ||
1617 | |||
1618 | int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue); | ||
1619 | |||
1620 | /** | ||
1611 | * ieee80211_stop_queues - stop all queues | 1621 | * ieee80211_stop_queues - stop all queues |
1612 | * @hw: pointer as obtained from ieee80211_alloc_hw(). | 1622 | * @hw: pointer as obtained from ieee80211_alloc_hw(). |
1613 | * | 1623 | * |