wifi: brcmfmac: msgbuf: Increase RX ring sizes to 1024
authorHector Martin <marcan@marcan.st>
Fri, 16 Sep 2022 16:03:07 +0000 (17:03 +0100)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 09:59:34 +0000 (12:59 +0300)
commitf48476780ce33ffbbe4fb1fd9e07881c8cf69294
tree1f94577a1b1534ff83ea57d11154f199666d1b88
parent687f767d6fab448e4e80011cf5230cd021135bfb
wifi: 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>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/E1oZDo3-0077ak-2h@rmk-PC.armlinux.org.uk
drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.h