android_kernel_xiaomi_sm8350/drivers/net/wireless
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
..
ar9170 ar9170: simplify & deBUG tx_status queueing and reporting 2009-03-27 20:13:14 -04:00
ath5k ath5k: warn and correct rate for unknown hw rate indexes 2009-03-27 20:13:18 -04:00
ath9k Add mesh point functionality to ath9k 2009-03-27 20:13:06 -04:00
b43 b43: fix b43_plcp_get_bitrate_idx_ofdm return type 2009-03-27 20:13:18 -04:00
b43legacy
hostap
ipw2x00
iwlwifi iwl3945: replace stations with stations_39 2009-03-27 20:13:00 -04:00
libertas wireless: radiotap updates 2009-03-27 20:12:52 -04:00
libertas_tf
orinoco
p54 p54: Kconfig maintenance 2009-03-27 20:13:18 -04:00
prism54
rt2x00
rtl818x
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
arlan-main.c wireless: convert arlan to net_device_ops 2009-03-27 00:46:45 -07:00
arlan-proc.c
arlan.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
i82586.h
i82593.h
Kconfig ar9170: update Makefile, Kconfig and MAINTAINERS 2009-03-27 20:13:09 -04:00
mac80211_hwsim.c mac80211_hwsim: let the reg workqueue breathe when regtest is set 2009-03-27 20:13:06 -04:00
Makefile ar9170: update Makefile, Kconfig and MAINTAINERS 2009-03-27 20:13:09 -04:00
mwl8k.c
netwave_cs.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
strip.c
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c wireless: convert wavelan to net_device_ops 2009-03-27 00:46:46 -07:00
wavelan.h
wavelan.p.h wireless: convert wavelan to net_device_ops 2009-03-27 00:46:46 -07:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h