linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac
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
..
bcdc.c
bcdc.h
bcmsdh.c brcmfmac: reset SDIO bus on a firmware crash 2020-07-14 12:48:34 +03:00
btcoex.c
btcoex.h
bus.h
cfg80211.c brcmfmac: Set timeout value when configuring power save 2020-08-02 18:32:06 +03:00
cfg80211.h
chip.c
chip.h
common.c brcmfmac: fix invalid permanent MAC address in wiphy 2020-07-14 12:43:43 +03:00
common.h
commonring.c
commonring.h
core.c brcmfmac: set pacing shift before transmitting skb to bus 2020-07-14 12:50:07 +03:00
core.h
debug.c
debug.h
dmi.c
feature.c
feature.h
firmware.c
firmware.h
flowring.c
flowring.h
fweh.c
fweh.h
fwil.c
fwil.h
fwil_types.h brcmfmac: To fix Bss Info flag definition Bug 2020-07-14 12:43:47 +03:00
fwsignal.c brcmfmac: set state of hanger slot to FREE when flushing PSQ 2020-07-14 12:50:06 +03:00
fwsignal.h
Kconfig
Makefile
msgbuf.c brcmfmac: increase message buffer size for control packets 2020-07-14 12:46:42 +03:00
msgbuf.h
of.c brcmfmac: Transform compatible string for FW loading 2020-07-14 12:50:43 +03:00
of.h
p2p.c brcmfmac: initialize the requested dwell time 2020-07-14 12:46:47 +03:00
p2p.h
pcie.c
pcie.h
pno.c
pno.h
proto.c
proto.h
sdio.c brcmfmac: reserve tx credit only when txctl is ready to send 2020-08-18 17:32:22 +03:00
sdio.h brcmfmac: reset SDIO bus on a firmware crash 2020-07-14 12:48:34 +03:00
tracepoint.c
tracepoint.h
usb.c
usb.h
vendor.c
vendor.h