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 brcmfmac: map 802.1d priority to precedence level based on AP WMM params 2020-05-12 11:50:40 +03:00
chip.c brcmfmac: add the BRCM 4364 found in MacBook Pro 15,2 2020-02-12 18:12:51 +02:00
chip.h
common.c brcmfmac: fix invalid permanent MAC address in wiphy 2020-07-14 12:43:43 +03:00
common.h brcmfmac: map 802.1d priority to precedence level based on AP WMM params 2020-05-12 11:50:40 +03:00
commonring.c brcm80211: remove redundant pointer 'address' 2020-04-14 18:04:55 +03:00
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 brcmfmac: no need to check return value of debugfs_create functions 2020-05-04 12:50:13 +03:00
debug.h brcmfmac: no need to check return value of debugfs_create functions 2020-05-04 12:50:13 +03:00
dmi.c
feature.c brcmfmac: fix wrong location to get firmware feature 2020-04-14 18:02:57 +03:00
feature.h
firmware.c
firmware.h brcmfmac: Replace zero-length array with flexible-array member 2020-03-23 19:12:12 +02:00
flowring.c brcmfmac: fix 802.1d priority to ac mapping for pcie dongles 2020-05-12 11:50:42 +03:00
flowring.h
fweh.c brcmfmac: Replace zero-length array with flexible-array member 2020-03-23 19:12:12 +02:00
fweh.h
fwil_types.h brcmfmac: To fix Bss Info flag definition Bug 2020-07-14 12:43:47 +03:00
fwil.c
fwil.h
fwsignal.c brcmfmac: set state of hanger slot to FREE when flushing PSQ 2020-07-14 12:50:06 +03:00
fwsignal.h brcmfmac: map 802.1d priority to precedence level based on AP WMM params 2020-05-12 11:50:40 +03:00
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 brcmfmac: support the second p2p connection 2020-05-06 11:39:17 +03:00
pcie.c brcmfmac: add the BRCM 4364 found in MacBook Pro 15,2 2020-02-12 18:12:51 +02:00
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 brcmfmac: add USB autosuspend feature support 2020-03-26 11:44:18 +02:00
usb.h
vendor.c
vendor.h