ath10k: Modify CE4 src buffer entries to 2048 for WCN3990
authorGovind Singh <govinds@codeaurora.org>
Sat, 2 Mar 2019 04:36:05 +0000 (10:06 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 May 2019 13:39:28 +0000 (16:39 +0300)
CE4 is host to target HTT tx pipe, tx completion are not served
on time when CPU is loaded and this cause ce src ring full condition
due to less no of src buffer entries.

To mitigate the issue increase CE4 src buffer entries to 2048.

Testing:
        Tested on QCS404 platform(WCN3990 HW)
        Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/snoc.c

index 845914f2eaf852791f9890643511fb7414417c2c..ca1186ec4129971e05621a00c96cdfbdcd206d49 100644 (file)
@@ -165,7 +165,7 @@ static struct ce_attr host_ce_config_wlan[] = {
        /* CE4: host->target HTT */
        {
                .flags = CE_ATTR_FLAGS | CE_ATTR_DIS_INTR,
-               .src_nentries = 256,
+               .src_nentries = 2048,
                .src_sz_max = 256,
                .dest_nentries = 0,
                .send_cb = ath10k_snoc_htt_tx_cb,