From 2b7628c86363806c5fc878cf83fd292b53d9646f Mon Sep 17 00:00:00 2001 From: Karunakar Dasineni Date: Tue, 23 Oct 2018 22:59:37 -0700 Subject: [PATCH] qcacmn: Fix interrupt batch count initialization Interrupt batch count configuration "dp_int_batch_threshold_other" was initialized to wrong values, which was causing missed interrupts from REO status ring. Also remove the extra RXDMA2SW ring handling, which is currently done in both UMAC and LMAC interrupt processing loops. Change-Id: I9a9e951780356db6b491d1301d2c08ef1ac585d5 --- dp/wifi3.0/dp_main.c | 6 ------ wlan_cfg/cfg_dp.h | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 91e44862fc83..a4625d02df8b 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -1217,12 +1217,6 @@ static uint32_t dp_service_srngs(void *dp_ctx, uint32_t dp_budget) remaining_quota = budget; } } - - for (ring = 0; ring < MAX_RX_MAC_RINGS; ring++) { - work_done = dp_rxdma_err_process(soc, ring, - remaining_quota); - budget -= work_done; - } } if (reo_status_mask) diff --git a/wlan_cfg/cfg_dp.h b/wlan_cfg/cfg_dp.h index 0f91262b1f0b..eb2f31bf606b 100644 --- a/wlan_cfg/cfg_dp.h +++ b/wlan_cfg/cfg_dp.h @@ -292,9 +292,9 @@ #define CFG_DP_INT_BATCH_THRESHOLD_OTHER \ CFG_INI_UINT("dp_int_batch_threshold_other", \ - WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MIN, \ - WLAN_CFG_INT_TIMER_THRESHOLD_OTHER_MAX, \ - WLAN_CFG_INT_TIMER_THRESHOLD_OTHER, \ + WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MIN, \ + WLAN_CFG_INT_BATCH_THRESHOLD_OTHER_MAX, \ + WLAN_CFG_INT_BATCH_THRESHOLD_OTHER, \ CFG_VALUE_OR_DEFAULT, "DP INT threshold Other") #define CFG_DP_INT_BATCH_THRESHOLD_RX \