diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2008-06-06 16:47:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-14 12:17:56 -0400 |
commit | f019d51410a9b61278eeff811a1ca11d2a905241 (patch) | |
tree | 3f038d3e8b7301c33df31344307c7a3180227e51 /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | 565a019ac635d4f5140a8c4da21387c3b2b28fb9 (diff) |
rt2x00: Implement rt2x00usb_kick_tx_queue()
rt2x00usb_kick_tx_queue() will loop over all entries
within the INDEX_DONE->INDEX range and kick each entry
which is pending to be kicked. This makes the kick_tx_queue
approach work the same as with the PCI drivers which
will allow for more code generalisation into rt2x00lib.
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/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 4d00ced14cc7..303d5568470d 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -260,11 +260,14 @@ struct txentry_desc { | |||
260 | * @ENTRY_OWNER_DEVICE_CRYPTO: This entry is owned by the device for data | 260 | * @ENTRY_OWNER_DEVICE_CRYPTO: This entry is owned by the device for data |
261 | * encryption or decryption. The entry should only be touched after | 261 | * encryption or decryption. The entry should only be touched after |
262 | * the device has signaled it is done with it. | 262 | * the device has signaled it is done with it. |
263 | * @ENTRY_DATA_PENDING: This entry contains a valid frame and is waiting | ||
264 | * for the signal to start sending. | ||
263 | */ | 265 | */ |
264 | enum queue_entry_flags { | 266 | enum queue_entry_flags { |
265 | ENTRY_BCN_ASSIGNED, | 267 | ENTRY_BCN_ASSIGNED, |
266 | ENTRY_OWNER_DEVICE_DATA, | 268 | ENTRY_OWNER_DEVICE_DATA, |
267 | ENTRY_OWNER_DEVICE_CRYPTO, | 269 | ENTRY_OWNER_DEVICE_CRYPTO, |
270 | ENTRY_DATA_PENDING, | ||
268 | }; | 271 | }; |
269 | 272 | ||
270 | /** | 273 | /** |