rt2x00: WMM ring priority
Subsystems (3)
PATCH 10/26 rt2x00: WMM ring priority
rt61pci and rt73usb have the WMM ring priorities backwards. RING_AC_VO is the most important ring while RING_AC_BK the least important ring. Lets reorder the ring handling.
(And fix some small typos in the comments regarding the rings)
Signed-off-by Ivo van Doorn <[email protected]>
---
drivers/net/wireless/d80211/rt2x00/rt2400pci.h +1 -1
@@ -870,7 +870,7 @@#define RXD_W7_RESERVED FIELD32(0xffffffff)/* -* TX ring index number for rt2x00_pci structure. +* TX ring index number for rt2x00_dev structure. */ enum ring_index {RING_PRIO =0 ,
drivers/net/wireless/d80211/rt2x00/rt2500pci.h +1 -1
@@ -1145,7 +1145,7 @@#define RXD_W10_DROP FIELD32(0x00000001)/* -* TX ring index number for rt2x00_pci structure. +* TX ring index number for rt2x00_dev structure. */ enum ring_index {RING_PRIO =0 ,
drivers/net/wireless/d80211/rt2x00/rt2500usb.h +1 -1
@@ -652,7 +652,7 @@#define RXD_W3_EIV FIELD32(0xffffffff)/* -* TX ring index number for rt2x00_usb structure. +* TX ring index number for rt2x00_dev structure. */ enum ring_index {RING_PRIO =0 ,
drivers/net/wireless/d80211/rt2x00/rt61pci.c +30 -30
140 lines not on this page · raw message
drivers/net/wireless/d80211/rt2x00/rt61pci.h +5 -5
@@ -1309,13 +1309,13 @@#define RXD_W15_RESERVED FIELD32(0xffffffff)/* -* TX ring index number for rt2x00_pci structure. +* TX ring index number for rt2x00_dev structure. */ enum ring_index { -RING_AC_BK =0 , -RING_AC_BE =1 , -RING_AC_VI =2 , -RING_AC_VO =3 , +RING_AC_VO =0 , +RING_AC_VI =1 , +RING_AC_BE =2 , +RING_AC_BK =3 ,RING_PRIO =4 ,RING_BEACON =5 ,RING_RX =6 ,
drivers/net/wireless/d80211/rt2x00/rt73usb.c +24 -24
106 lines not on this page · raw message
drivers/net/wireless/d80211/rt2x00/rt73usb.h +5 -5
@@ -891,13 +891,13 @@#define RXD_W5_RESERVED FIELD32(0xffffffff)/* -* TX ring index number for rt2x00_usb structure. +* TX ring index number for rt2x00_dev structure. */ enum ring_index { -RING_AC_BK =0 , -RING_AC_BE =1 , -RING_AC_VI =2 , -RING_AC_VO =3 , +RING_AC_VO =0 , +RING_AC_VI =1 , +RING_AC_BE =2 , +RING_AC_BK =3 ,RING_PRIO =4 ,RING_BEACON =5 ,RING_RX =6 ,