wil6210: make sure Rx ring sizes are correlated
authorDedy Lansky <dlansky@codeaurora.org>
Wed, 31 Oct 2018 08:52:12 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:02:32 +0000 (18:02 +0200)
commit61e5ec044748486f06dec760a19dce78247b3ad8
treed9ac8ce7b901ca16a579f8a96e68826d0fe3c38f
parentcbebe277beb1169a157d5f486c87f5ceabf0bf82
wil6210: make sure Rx ring sizes are correlated

When enlarging rx_ring_order module param, wil6210 fails to load
because there are not enough Rx buffers.
Fix this by enlarging number of Rx buffers at startup, if needed based
on rx_ring_order.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/txrx_edma.c
drivers/net/wireless/ath/wil6210/wil6210.h