aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-12-21 14:54:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:58:43 -0500
commita15bd00543a859a72546e4b09342b70e79e9ef1e (patch)
tree36c908af74b8584e2cdd9691604a026a71e63ab6 /drivers/net/wireless/p54/p54common.h
parent0ea9c00c9d4e6309637a2defe18d26b6cda0fdc0 (diff)
p54: label queues with their corresponding names
This patch introduce new shiny named labels for our 8 (4 - on old firmware) queues. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54common.h')
-rw-r--r--drivers/net/wireless/p54/p54common.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.h b/drivers/net/wireless/p54/p54common.h
index f5729de83fe1..514f660d0be9 100644
--- a/drivers/net/wireless/p54/p54common.h
+++ b/drivers/net/wireless/p54/p54common.h
@@ -329,7 +329,7 @@ struct p54_frame_sent {
329 u8 padding; 329 u8 padding;
330} __attribute__ ((packed)); 330} __attribute__ ((packed));
331 331
332enum p54_tx_data_crypt { 332enum p54_tx_data_crypt {
333 P54_CRYPTO_NONE = 0, 333 P54_CRYPTO_NONE = 0,
334 P54_CRYPTO_WEP, 334 P54_CRYPTO_WEP,
335 P54_CRYPTO_TKIP, 335 P54_CRYPTO_TKIP,
@@ -340,6 +340,23 @@ enum p54_tx_data_crypt {
340 P54_CRYPTO_AESCCMP 340 P54_CRYPTO_AESCCMP
341}; 341};
342 342
343enum p54_tx_data_queue {
344 P54_QUEUE_BEACON = 0,
345 P54_QUEUE_FWSCAN = 1,
346 P54_QUEUE_MGMT = 2,
347 P54_QUEUE_CAB = 3,
348 P54_QUEUE_DATA = 4,
349
350 P54_QUEUE_AC_NUM = 4,
351 P54_QUEUE_AC_VO = 4,
352 P54_QUEUE_AC_VI = 5,
353 P54_QUEUE_AC_BE = 6,
354 P54_QUEUE_AC_BK = 7,
355
356 /* keep last */
357 P54_QUEUE_NUM = 8,
358};
359
343struct p54_tx_data { 360struct p54_tx_data {
344 u8 rateset[8]; 361 u8 rateset[8];
345 u8 rts_rate_idx; 362 u8 rts_rate_idx;