brcmfmac: msgbuf: Increase RX ring sizes to 1024
authorHector Martin <marcan@marcan.st>
Tue, 21 Dec 2021 08:39:04 +0000 (17:39 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:44:57 +0000 (10:44 -0700)
commitf750bed8f80f1587d2ea011565928f962c8b7055
tree92c0983e07bafbb54c47048385c72737c2fd4031
parent44c4f98bbd675c89b4e3e3743ce9a2af1989a3ce
brcmfmac: msgbuf: Increase RX ring sizes to 1024

Newer chips used on Apple platforms have a max_rxbufpost greater than
512, which causes warnings when brcmf_msgbuf_rxbuf_data_fill tries to
put more entries in the ring than will fit. Increase the ring sizes
to 1024.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.h