WSL2-Linux-Kernel/drivers/net/wireless
Felix Fietkau bbf807bc06 ath9k: fix duration calculation for non-aggregated packets
When not aggregating packets, fi->framelen should be passed in as length
to calculate the duration. Before the tx path rework, ath_tx_fill_desc
was called for either one aggregate, or one single frame, with the
length of the packet or the aggregate as a parameter.
After the rework, ath_tx_sched_aggr can pass a burst of single frames to
ath_tx_fill_desc and sets len=0.
Fix broken duration calculation by overriding the length in ath_tx_fill_desc
before passing it to ath_buf_set_rate.

Cc: stable@vger.kernel.org
Reported-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-12-09 14:59:13 -05:00
..
ath ath9k: fix duration calculation for non-aggregated packets 2013-12-09 14:59:13 -05:00
b43 Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
b43legacy Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
brcm80211 brcmfmac: fix uninitialized warning 2013-12-02 13:11:52 -05:00
cw1200 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
hostap net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
ipw2x00 Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2013-10-07 15:40:44 -04:00
iwlegacy Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2013-10-07 15:40:44 -04:00
iwlwifi iwlwifi: mvm: use a cast to calculate the last seqno from the next one 2013-11-25 23:00:21 +02:00
libertas libertas: fix error return code in if_cs_probe() 2013-11-11 14:38:58 -05:00
libertas_tf
mwifiex mwifiex: fix memory leak issue for ibss join 2013-11-25 15:46:50 -05:00
orinoco Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2013-10-07 15:40:44 -04:00
p54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-11-04 14:45:14 -05:00
prism54 prism54: set netdev type to "wlan" 2013-11-11 14:47:46 -05:00
rt2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem 2013-11-21 10:26:17 -05:00
rtl818x wireless: rtl818x: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:45 -04:00
rtlwifi rtlwifi: rtl8192cu: Fix more pointer arithmetic errors 2013-11-15 14:29:33 -05:00
ti wlcore: save last regdom configuration on stop 2013-10-23 09:47:45 +03:00
zd1211rw tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
Kconfig
Makefile
adm8211.c wireless: adm8211: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:42 -04:00
adm8211.h
airo.c wireless: airo: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:42 -04:00
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2013-11-04 14:51:28 -05:00
atmel.h
atmel_cs.c
atmel_pci.c
mac80211_hwsim.c mac80211_hwsim: Fix bcn_en_iter to use atomic iteration 2013-11-25 16:50:14 +01:00
mac80211_hwsim.h
mwl8k.c wireless: mwl8k: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:44 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
wl3501.h
wl3501_cs.c
zd1201.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-08-28 10:36:09 -04:00
zd1201.h