brcmfmac: set F2 blocksize and watermark for 4359
authorChung-Hsien Hsu <stanley.hsu@cypress.com>
Wed, 11 Dec 2019 23:52:46 +0000 (00:52 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 19:07:39 +0000 (21:07 +0200)
commit172f6854551d48d1c9530f84513b421db944e714
tree8c7c943c8e2198c1424101d3c3c8b7db06ed7b9a
parent1b8d2e0a9e4221b99eea375c079507ce8ef655f5
brcmfmac: set F2 blocksize and watermark for 4359

Set F2 blocksize to 256 bytes and watermark to 0x40 for 4359. Also
enable and configure F1 MesBusyCtrl. It fixes DMA error while having
UDP bi-directional traffic.

Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
[slightly adapted for rebase on mainline linux]
Signed-off-by: Soeren Moch <smoch@web.de>
Reviewed-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c