diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-12-13 06:36:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:23:36 -0500 |
commit | f615e9a38a8e6239d35891a05f2ac1159088780a (patch) | |
tree | 7aa1d79a6b02b222f321d5a747eff0cf6e8d1e4f /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | dba5dc1ae9764902f46d5225c9ff40e4f7b614c7 (diff) |
rt2x00: Fix WMM Queue naming
The Queue names were incorrectly copied from the legacy drivers,
as a result the queue names were inversed to what was expected.
This renames the queues using this mapping:
QID_AC_BK -> QID_AC_VO (priority 0)
QID_AC_BE -> QID_AC_VI (priority 1)
QID_AC_VI -> QID_AC_BE (priority 2)
QID_AC_VO -> QID_AC_BK (priority 3)
Note that this was a naming problem only, which didn't affect
the assignment of frames to their respective queues.
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 47659346070..fab8e2687f2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -45,10 +45,10 @@ | |||
45 | /** | 45 | /** |
46 | * enum data_queue_qid: Queue identification | 46 | * enum data_queue_qid: Queue identification |
47 | * | 47 | * |
48 | * @QID_AC_VO: AC VO queue | ||
49 | * @QID_AC_VI: AC VI queue | ||
48 | * @QID_AC_BE: AC BE queue | 50 | * @QID_AC_BE: AC BE queue |
49 | * @QID_AC_BK: AC BK queue | 51 | * @QID_AC_BK: AC BK queue |
50 | * @QID_AC_VI: AC VI queue | ||
51 | * @QID_AC_VO: AC VO queue | ||
52 | * @QID_HCCA: HCCA queue | 52 | * @QID_HCCA: HCCA queue |
53 | * @QID_MGMT: MGMT queue (prio queue) | 53 | * @QID_MGMT: MGMT queue (prio queue) |
54 | * @QID_RX: RX queue | 54 | * @QID_RX: RX queue |
@@ -57,10 +57,10 @@ | |||
57 | * @QID_ATIM: Atim queue (value unspeficied, don't send it to device) | 57 | * @QID_ATIM: Atim queue (value unspeficied, don't send it to device) |
58 | */ | 58 | */ |
59 | enum data_queue_qid { | 59 | enum data_queue_qid { |
60 | QID_AC_BE = 0, | 60 | QID_AC_VO = 0, |
61 | QID_AC_BK = 1, | 61 | QID_AC_VI = 1, |
62 | QID_AC_VI = 2, | 62 | QID_AC_BE = 2, |
63 | QID_AC_VO = 3, | 63 | QID_AC_BK = 3, |
64 | QID_HCCA = 4, | 64 | QID_HCCA = 4, |
65 | QID_MGMT = 13, | 65 | QID_MGMT = 13, |
66 | QID_RX = 14, | 66 | QID_RX = 14, |