]> err.no Git - linux-2.6/blobdiff - drivers/net/wireless/rt2x00/rt2x00usb.h
rt2x00: Implement rt2x00usb_kick_tx_queue()
[linux-2.6] / drivers / net / wireless / rt2x00 / rt2x00usb.h
index 26f53f868af67e01440a1239741403c441b590cd..460d32c444d136c902096c17efd84707123cd6b9 100644 (file)
@@ -245,6 +245,17 @@ struct queue_entry_priv_usb_bcn {
        struct urb *guardian_urb;
 };
 
+/**
+ * rt2x00usb_kick_tx_queue - Kick data queue
+ * @rt2x00dev: Pointer to &struct rt2x00_dev
+ * @qid: Data queue to kick
+ *
+ * This will walk through all entries of the queue and push all pending
+ * frames to the hardware as a single burst.
+ */
+void rt2x00usb_kick_tx_queue(struct rt2x00_dev *rt2x00dev,
+                            const enum data_queue_qid qid);
+
 /*
  * Device initialization handlers.
  */