linux_dsm_epyc7002/drivers/net/wireless
Ivo van Doorn bc8a979e2d rt2x00: Improve TX status entry validation
The TX_STA_FIFO contains some information for identifying
a outgoing frame, however matching by WCID and ACK status is
not sufficient to 100% identify the macthing queue_entry structure
(containing the SKB buffer) which belongs to the status report.

Within TX_STA_FIFO we have a 4-bit field named PACKETID, which is
currently used to encode the queue id. The queue ID is however
limited to values from 0 to 3, which means 2 bits are sufficient
to encode the value. With the remaining 2 bits we can encode a
partial queue_entry index number. The value of PACKETID is not
allowed to become 0, with the queue ID ranging from 0 to 3, at least
one of the bits for the entry identification must be 1.

That leaves us with 3 possible values we can still encode in the
bits. Altough this doesn't allow 100% accurate matching of the
TX_STA_FIFO queue to a queue_entry structure, it at least improves
the accuracy. This allows us to better detect if we have missed the
TX_STA_FIFO report, which in turn reduces the number of watchdog
warnings regarding the TX status timeout.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-10-05 13:35:28 -04:00
..
ath ath9k: Report total tx/rx bytes and packets in debugfs. 2010-10-05 13:35:25 -04:00
b43 b43: N-PHY: add missing phyrxchain setting and fix warning in RX core function 2010-08-25 14:33:20 -04:00
b43legacy
hostap
ipw2x00
iwlwifi iwlwifi: change WARN_ON to IWL_WARN in iwl_mac_add_interface 2010-10-05 13:35:22 -04:00
iwmc3200wifi
libertas Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-09-24 15:52:34 -04:00
libertas_tf
orinoco orinoco: Fix walking past the end of the buffer 2010-08-25 14:33:17 -04:00
p54 p54usb: add five more USBIDs 2010-10-05 13:35:25 -04:00
prism54
rt2x00 rt2x00: Improve TX status entry validation 2010-10-05 13:35:28 -04:00
rtl818x
wl12xx wl12xx: fix separate-object-folder builds 2010-09-28 10:52:26 -04:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c airo: remove "basic_rate" module option 2010-09-24 15:54:29 -04:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c mac80211: add p2p device type support 2010-09-16 15:46:07 -04:00
Makefile wl12xx: fix separate-object-folder builds 2010-09-28 10:52:26 -04:00
mwl8k.c
ray_cs.c ray_cs: make data const 2010-09-07 13:54:32 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h