aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00usb.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2009-01-27 18:32:33 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 15:03:34 -0500
commita2c9b652a12a550d3d8509e9bae43bac396c5076 (patch)
tree8e871e038bc73465c6eca67f8563e9562d079d56 /drivers/net/wireless/rt2x00/rt2x00usb.h
parent382fe0f2da78db7833c6a7278e33e694e6e2a6f3 (diff)
rt2x00: Add kill_tx_queue callback function
provide rt2x00lib the possibility to kill a particular TX queue. This can be useful when disabling the radio, but more importantly will allow beaconing to be disabled when mac80211 requests this (during scanning for example) Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00usb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
index fe4523887bdf..bd2d59c85f1b 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.h
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.h
@@ -419,6 +419,17 @@ struct queue_entry_priv_usb_bcn {
419void rt2x00usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev, 419void rt2x00usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev,
420 const enum data_queue_qid qid); 420 const enum data_queue_qid qid);
421 421
422/**
423 * rt2x00usb_kill_tx_queue - Kill data queue
424 * @rt2x00dev: Pointer to &struct rt2x00_dev
425 * @qid: Data queue to kill
426 *
427 * This will walk through all entries of the queue and kill all
428 * previously kicked frames before they can be send.
429 */
430void rt2x00usb_kill_tx_queue(struct rt2x00_dev *rt2x00dev,
431 const enum data_queue_qid qid);
432
422/* 433/*
423 * Device initialization handlers. 434 * Device initialization handlers.
424 */ 435 */