Browse Source

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
Karunakar Dasineni 7 years ago
parent
commit
860938ec59
2 changed files with 6 additions and 3 deletions
  1. 5 2
      wlan_cfg/wlan_cfg.c
  2. 1 1
      wlan_cfg/wlan_cfg.h

+ 5 - 2
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
 

+ 1 - 1
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