linux/drivers/net/wireless/ath5k
Bob Copeland b726604706 ath5k: warn and correct rate for unknown hw rate indexes
ath5k sets up a mapping table from the hardware rate index to
the rate index used by mac80211; however, we have seen some
received frames with incorrect rate indexes.  Such frames
normally get dropped with a warning in __ieee80211_rx(),
but it doesn't include enough information to track down the
error.

This patch adds a warning to hw_to_driver_rix for any lookups
that result in a rate index of -1, then returns a valid rate so
the frame can be processed.

Changes-licensed-under: 3-Clause-BSD

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-27 20:13:18 -04:00
..
ath5k.h ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
attach.c ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
base.c ath5k: warn and correct rate for unknown hw rate indexes 2009-03-27 20:13:18 -04:00
base.h ath5k: warn and correct rate for unknown hw rate indexes 2009-03-27 20:13:18 -04:00
caps.c ath5k: discard 11g caps if reported by an ar5211 eeprom 2009-01-29 16:00:26 -05:00
debug.c ath5k: constify stuff 2009-03-16 18:09:36 -04:00
debug.h mac80211: Generic TSF debugging 2009-01-29 16:01:46 -05:00
desc.c ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
desc.h ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
dma.c fix similar typos to successfull 2009-01-08 08:31:15 -08:00
eeprom.c ath5k: Convert chip specific calibration data to a generic format 2009-03-27 20:12:54 -04:00
eeprom.h ath5k: Convert chip specific calibration data to a generic format 2009-03-27 20:12:54 -04:00
gpio.c ath5k: fix off-by-one in gpio checks 2009-01-29 15:59:45 -05:00
initvals.c ath5k: Choose the right initvals for RF2425 2009-03-27 20:12:54 -04:00
Kconfig ath5k: convert LED code to use mac80211 triggers 2008-06-27 09:09:17 -04:00
led.c ath5k: Support LED's on Acer Extensa 5620z 2009-03-27 20:13:10 -04:00
Makefile ath5k: extract LED code into a separate file 2009-03-16 18:09:37 -04:00
pcu.c ath5k: Set TSF fix 2009-03-05 14:39:40 -05:00
phy.c ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
qcu.c ath5k: Minor QCU updates 2009-01-29 15:59:53 -05:00
reg.h ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
reset.c ath5k: Add tx power calibration support 2009-03-27 20:12:56 -04:00
rfbuffer.h ath5k: Update RF Buffer handling 2009-02-13 13:44:45 -05:00
rfgain.h ath5k: Update gain_F calibration code and add documentation 2009-02-13 13:44:43 -05:00