summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/htt.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2016-03-22 17:22:15 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2016-04-04 17:03:20 +0300
commit3128b3d8a2b97ba8fe38b21c3ed70c2c66cc7a9e (patch)
treea9befd865412735a1df153539a9e36de8e2bf94e /drivers/net/wireless/ath/ath10k/htt.h
parent18235664e7f9a5664cbef25d23b222ff2faf55bc (diff)
downloadtalos-op-linux-3128b3d8a2b97ba8fe38b21c3ed70c2c66cc7a9e.tar.gz
talos-op-linux-3128b3d8a2b97ba8fe38b21c3ed70c2c66cc7a9e.zip
ath10k: speedup htt rx descriptor processing for rx_ind
In follow up patch, htt rx descriptors will be reused instead of dealloc and refill. To achieve that htt rx indication messages should not be deferred and should be processed in pci tasklet itself. Also from rx indication message, mpdu_count alone is used. So it is maintained as atomic variable and all rx amsdu handlers are done processed from txrx tasklet. This change get rid of rx_compl_q usage. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htt.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/htt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h
index 76c4bae0b434..27a65ecba7b0 100644
--- a/drivers/net/wireless/ath/ath10k/htt.h
+++ b/drivers/net/wireless/ath/ath10k/htt.h
@@ -1663,6 +1663,7 @@ struct ath10k_htt {
* used to avoid further failures */
bool rx_confused;
struct tasklet_struct rx_replenish_task;
+ atomic_t num_mpdus_ready;
/* This is used to group tx/rx completions separately and process them
* in batches to reduce cache stalls */
OpenPOWER on IntegriCloud