From 860938ec5972308f62ad4d1cd4f9a8732ed3d68a Mon Sep 17 00:00:00 2001 From: Karunakar Dasineni Date: Wed, 14 Mar 2018 17:28:15 -0700 Subject: [PATCH] qcacmn: Move monitor interrupt to separate group Avoid monitor procees starvation by moving monitor interrupts to a separate interrupt group. Currently these are part of regular data ring interrupts, and are not being handled sometimes with DBDC peak throughput, causing ring stall assertion failure in target. Change-Id: I51d72187c68922de582be0a9da8e191e0e3c7bcf --- wlan_cfg/wlan_cfg.c | 7 +++++-- wlan_cfg/wlan_cfg.h | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 40215f4ca4eb..656bcfc6ad6a 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -230,10 +230,13 @@ static const int rx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = { WLAN_CFG_RX_RING_MASK_3}; static const int rx_mon_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = { + 0, + 0, + 0, + 0, WLAN_CFG_RX_MON_RING_MASK_0, WLAN_CFG_RX_MON_RING_MASK_1, - WLAN_CFG_RX_MON_RING_MASK_2, - WLAN_CFG_RX_MON_RING_MASK_3}; + WLAN_CFG_RX_MON_RING_MASK_2}; #endif diff --git a/wlan_cfg/wlan_cfg.h b/wlan_cfg/wlan_cfg.h index 4903bc1cd9dc..458bdbee189c 100644 --- a/wlan_cfg/wlan_cfg.h +++ b/wlan_cfg/wlan_cfg.h @@ -37,7 +37,7 @@ #else #define MAX_PDEV_CNT 3 -#define WLAN_CFG_INT_NUM_CONTEXTS 4 +#define WLAN_CFG_INT_NUM_CONTEXTS 7 /* * This mask defines how many transmit frames account for 1 NAPI work unit * 0xFFFF means each 64K tx frame completions account for 1 unit of NAPI budget