]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Fix target crash due to WBM_IDLE_LINK ring desc shortage
authorVasanthakumar Thiagarajan <vthiagar@codeaurora.org>
Wed, 27 Nov 2019 16:30:09 +0000 (18:30 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Nov 2019 07:36:19 +0000 (09:36 +0200)
commite4189c925bcc7565574d66cd341eee8553f37bf3
tree8d4de0b7c81e1cddcd9ca30dabeed41bd606c505
parent43524f134f523288087178dad481c2dcf1e4b384
ath11k: Fix target crash due to WBM_IDLE_LINK ring desc shortage

Make sure the number of WBM_IDLE_LINK ring descriptors is power
of 2. This increases the number of descriptors to 32k from the
current ~18k to fix the target assert because of the shortage in
the descriptors in WBM_IDLE_LINK ring. Remove unnecessary
power of 2 calculation in ath11k_dp_link_desc_setup() as it is
not required after this change.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp.c