linux/drivers/net/wireless
Wright Feng 9a2a0862d9 brcmfmac: reserve tx credit only when txctl is ready to send
The 4329 throughput drops from 40.2 Mbits/sec to 190 Kbits/sec in 2G
11n mode because the commit b41c232d33 ("brcmfmac: reserve 2 credits
for host tx control path"). To fix the issue, host driver only reserves
tx control credit when there is a txctl frame is pending to send. And
we also check available credit by using "not equal to 0" instead of
"greater than 0" because tx_max and tx_seq are circled positive numbers.

Reported-by: Dmitry Osipenko <digetx@gmail.com>
Fixes: b41c232d33 ("brcmfmac: reserve 2 credits for host tx control path")
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200813070017.89023-1-wright.feng@cypress.com
2020-08-18 17:32:22 +03:00
..
admtek adm8211: use generic power management 2020-07-15 13:38:57 +03:00
ath Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
atmel atmel: fix wiki website url 2020-07-15 13:18:40 +03:00
broadcom brcmfmac: reserve tx credit only when txctl is ready to send 2020-08-18 17:32:22 +03:00
cisco airo: use generic power management 2020-08-02 18:24:37 +03:00
intel Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
intersil mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
marvell wireless-drivers-next patches for v5.9 2020-08-04 12:57:02 -07:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2020-08-04 14:02:54 +03:00
microchip wilc1000: Move wilc1000 SDIO ID's from driver source to common header file 2020-08-02 18:12:23 +03:00
quantenna qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc() 2020-08-02 18:20:30 +03:00
ralink rt2x00: pci: use generic power management 2020-08-02 18:13:45 +03:00
realtek rtl818x: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
rsi mmc: sdio: Move SDIO IDs from rsi_sdio driver to common include file 2020-07-13 12:18:24 +02:00
st treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ti wl1251: fix always return 0 error 2020-08-02 18:25:14 +03:00
zydas zd1211rw: remove needless check before usb_free_coherent() 2020-07-15 19:46:38 +03:00
Kconfig wireless-drivers-next patches for v5.9 2020-07-20 17:52:50 -07:00
mac80211_hwsim.c mac80211: Use fallthrough pseudo-keyword 2020-07-31 09:24:23 +02:00
mac80211_hwsim.h
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501.h
wl3501_cs.c