aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-07-24 14:02:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 16:29:50 -0400
commit92ab85354993ac3a364c65cab45745af470ffc67 (patch)
treeb36501661ee9093cb8e66919bbebbca4374c36d6 /include/net/mac80211.h
parent5442060c08a49bd0b416f033e0ae43ccedef5278 (diff)
mac80211: add ieee80211_queue_stopped)
This patch adds ieee80211_queue_stopped that let drivers to query queue status Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h10
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);
1608void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue); 1608void 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
1618int 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 *