ath11k: fix reo flush send
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Wed, 22 Apr 2020 10:46:18 +0000 (16:16 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 27 Apr 2020 04:52:59 +0000 (07:52 +0300)
commit5cb899dd5ba430bd2debf6e4ce7b5cece9e9025d
treece0c8b7578a5b34b0d03895b1ed22310dc9c4e62
parent8347784d6f5fae467e82522029ab1290673c50d6
ath11k: fix reo flush send

we are sending the reo flush command for the deleted peer
tid after the ageout period reaches 1 second. This handling
causes reo ring get full when more than 128 clients are
disconnected continuously. so added the count for flush list
and reo flush command is triggered after the list count reaches
the threshold value, it is configured as 64 (half of the reo ring).
This will avoid the situation where reo ring get full.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1587552378-4884-1-git-send-email-periyasa@codeaurora.org
drivers/net/wireless/ath/ath11k/dp.c
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c