summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2016-03-01 13:16:10 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2016-03-06 15:31:13 +0100
commit43c9e3846ba30ca3d657bd82f1005d1573bb3a6d (patch)
tree436f58f5834631d0383ded9eac0901d6b74dda4d
parentath10k: implement push-pull tx (diff)
downloadlinux-43c9e3846ba30ca3d657bd82f1005d1573bb3a6d.tar.xz
linux-43c9e3846ba30ca3d657bd82f1005d1573bb3a6d.zip
ath10k: fix HTT Tx CE ring size
QCA4019 can queue up to 2500 frames at a time. This means it requires roughly 5000 entires on the ring to work properly. Otherwise random tx failure may occur. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath10k/ce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ce.h b/drivers/net/wireless/ath/ath10k/ce.h
index 47b734ce7ecf..dac676817532 100644
--- a/drivers/net/wireless/ath/ath10k/ce.h
+++ b/drivers/net/wireless/ath/ath10k/ce.h
@@ -22,7 +22,7 @@
/* Maximum number of Copy Engine's supported */
#define CE_COUNT_MAX 12
-#define CE_HTT_H2T_MSG_SRC_NENTRIES 4096
+#define CE_HTT_H2T_MSG_SRC_NENTRIES 8192
/* Descriptor rings must be aligned to this boundary */
#define CE_DESC_RING_ALIGN 8