linux/drivers/net/wireless/ath/ath9k
Felix Fietkau 5bec3e5ade ath9k: fix tx queue index confusion in debugfs code
Various places printing tx queue information used various different ways to
get a tx queue index for printing statistics. Most of these ways were wrong.

ATH_TXQ_AC_* cannot be used as an index for sc->tx.txq, because it is only
used internally for queue assignment.

One place used WME_AC_* as a queue index for sc->debug.stats.txstats, however
this array uses the ath9k_hw queue number as well.

Fix all of this by always using the ath9k_hw queue number as an index, and
always looking it up by going through sc->tx.txq_map.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-28 15:42:00 -05:00
..
ahb.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
ani.c
ani.h
ar5008_initvals.h
ar5008_phy.c ath9k_hw: remove baseband rfsilent support 2010-12-20 14:49:48 -05:00
ar9001_initvals.h
ar9002_calib.c ath9k_hw: fix carrier leakage calibration for AR9271 2011-01-19 11:36:10 -05:00
ar9002_hw.c ath9k: correct MODULE_PARM_DESC parameters for force_new_ani 2011-01-05 14:36:33 -05:00
ar9002_initvals.h
ar9002_mac.c ath9k_hw: remove ah->txpower_indexoffset 2010-12-13 15:23:32 -05:00
ar9002_phy.c ath9k: fix spur mitigation no-spur case for AR9002 2011-01-04 14:35:12 -05:00
ar9002_phy.h
ar9003_2p2_initvals.h ath9k_hw: update AR9003 initvals to improve carrier leak calibration/correction 2010-12-13 15:23:33 -05:00
ar9003_calib.c ath9k_hw: Tx IQ cal changes for AR9003 2010-12-16 15:22:30 -05:00
ar9003_eeprom.c ath9k_hw: replace magic values in register writes with proper defines 2011-01-21 16:21:43 -05:00
ar9003_eeprom.h ath9k_hw: Add a helper to get paprd scale factor 2010-12-16 15:22:30 -05:00
ar9003_hw.c ath9k_hw: clean up SREV version checks 2010-12-13 15:23:31 -05:00
ar9003_mac.c ath9k_hw: partially revert "fix dma descriptor rx error bit parsing" 2011-01-19 11:36:09 -05:00
ar9003_mac.h
ar9003_paprd.c ath9k_hw: fix PA predistortion HT40 mask 2010-12-20 14:52:18 -05:00
ar9003_phy.c ath9k_hw: remove baseband rfsilent support 2010-12-20 14:49:48 -05:00
ar9003_phy.h ath9k_hw: replace magic values in register writes with proper defines 2011-01-21 16:21:43 -05:00
ar9485_initvals.h
ath9k.h ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
beacon.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
btcoex.c
btcoex.h
calib.c ath9k: preserve caldata history buffer across scanning 2011-01-19 11:36:10 -05:00
calib.h
common.c
common.h
debug.c ath9k: fix tx queue index confusion in debugfs code 2011-01-28 15:42:00 -05:00
debug.h ath9k: fix tx queue index confusion in debugfs code 2011-01-28 15:42:00 -05:00
eeprom_4k.c ath9k_hw: Offload USB eeprom reading to target 2011-01-19 11:36:06 -05:00
eeprom_9287.c ath9k_hw: Offload USB eeprom reading to target 2011-01-19 11:36:06 -05:00
eeprom_def.c ath9k_hw: Offload USB eeprom reading to target 2011-01-19 11:36:06 -05:00
eeprom.c ath9k_hw: Offload USB eeprom reading to target 2011-01-19 11:36:06 -05:00
eeprom.h ath9k_hw: Offload USB eeprom reading to target 2011-01-19 11:36:06 -05:00
gpio.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
hif_usb.c ath9k_htc: Handle pending URBs properly 2011-01-04 14:42:59 -05:00
hif_usb.h ath9k_htc: Handle pending URBs properly 2011-01-04 14:42:59 -05:00
htc_drv_beacon.c
htc_drv_gpio.c ath9k_htc: Move LED/RFKILL code to htc_drv_gpio.c 2011-01-04 14:43:00 -05:00
htc_drv_init.c ath9k_htc: Add multiple register read API 2011-01-19 11:36:06 -05:00
htc_drv_main.c mac80211: track receiver's aggregation reorder buffer size 2011-01-19 11:36:11 -05:00
htc_drv_txrx.c mac80211: Add timeout to BA session start API 2010-12-15 17:03:59 -05:00
htc_hst.c
htc_hst.h
htc.h ath9k_htc: keep calibrated noise floor value for oper channel 2011-01-19 11:36:10 -05:00
hw-ops.h ath9k_hw: remove baseband rfsilent support 2010-12-20 14:49:48 -05:00
hw.c ath9k_hw: read and backup AR_WA register value even before chip reset on. 2011-01-25 16:36:07 -05:00
hw.h ath9k_htc: Add multiple register read API 2011-01-19 11:36:06 -05:00
init.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
Kconfig
mac.c ath9k: fix misplaced debug code 2011-01-27 16:03:59 -05:00
mac.h
main.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
Makefile ath9k: remove support for virtual wiphys 2011-01-28 15:41:59 -05:00
pci.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
phy.h
rc.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
rc.h ath9k : few rate control clean ups 2011-01-04 14:46:13 -05:00
recv.c ath9k: fold struct ath_wiphy into struct ath_softc 2011-01-28 15:42:00 -05:00
reg.h
wmi.c ath9k_htc: Handle FATAL events 2011-01-04 14:43:00 -05:00
wmi.h ath9k_htc: Handle FATAL events 2011-01-04 14:43:00 -05:00
xmit.c ath9k: fix tx queue index confusion in debugfs code 2011-01-28 15:42:00 -05:00