OSDN Git Service

brcmfmac: set F2 SDIO block size to 128 bytes for BCM4329
authorDmitry Osipenko <digetx@gmail.com>
Sun, 30 Aug 2020 19:14:39 +0000 (22:14 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Sep 2020 08:51:45 +0000 (11:51 +0300)
commitcc95fa81524a95358a7bc1d29e9e3c314753486c
tree3c29b39cbbc2cdd3882b7f09f115f3f1c1527a58
parent1a867a6230db7f41163b3b49840e5e50c3cc3a74
brcmfmac: set F2 SDIO block size to 128 bytes for BCM4329

Setting F2 block size to 128 bytes for BCM4329 allows to significantly
improve RX throughput on NVIDIA Tegra20. Before this change the throughput
was capped to 30 Mbit/s on Tegra, now throughput is at 40 Mbit/s, which is
a maximum throughput for the BCM4329 chip. The F2 block size is borrowed
from the downstream BCMDHD driver. The comment in the BCMDHD driver says
that 128B improves throughput and turns out that it works for the brcmfmac
as well.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200830191439.10017-4-digetx@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c