ath10k: drop probe responses when too many are queued
authorVivek Natarajan <nataraja@qti.qualcomm.com>
Mon, 31 Aug 2015 11:04:55 +0000 (16:34 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 9 Sep 2015 09:37:41 +0000 (12:37 +0300)
commit7b7da0a02192fd518c26c46dad6b14aca4569605
treeaa5df6d1bf49b05e75749d5ea28763628b4a8353
parenta925a3763982799460b9e9b5299520172652b785
ath10k: drop probe responses when too many are queued

In a noisy environment, when multiple interfaces are created,
the management tx descriptors are fully occupied by the probe
responses from all the interfaces. This prevents a new station
from a successful association.

Fix this by limiting the probe responses when the specified
threshold limit is reached.

Signed-off-by: Vivek Natarajan <nataraja@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/txrx.c