From 423c297cc334aa4bcab6c64b1cf7d6ae5fd0af7b Mon Sep 17 00:00:00 2001 From: Himanshu Batra Date: Fri, 8 Apr 2022 13:36:20 +0530 Subject: [PATCH] qcacmn: Disable host2rxdma interrupt for IPA offload Disable host2rxdma interrupt for IPA offload Change-Id: I8dd73df8f6296f7b2eb8c0a861b606e6a75699ff CRs-Fixed: 3171223 --- wlan_cfg/wlan_cfg.c | 58 +++++++-------------------------------------- 1 file changed, 9 insertions(+), 49 deletions(-) diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 34a748c0e2..fd5357cea5 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -291,11 +291,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { WLAN_CFG_HOST2RXDMA_RING_MASK_0, - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2, - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { WLAN_CFG_RXDMA2HOST_RING_MASK_0, WLAN_CFG_RXDMA2HOST_RING_MASK_1, @@ -349,11 +345,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { WLAN_CFG_HOST2RXDMA_RING_MASK_0 | - WLAN_CFG_HOST2RXDMA_RING_MASK_1 | - WLAN_CFG_HOST2RXDMA_RING_MASK_2 | - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { WLAN_CFG_RXDMA2HOST_RING_MASK_0 | WLAN_CFG_RXDMA2HOST_RING_MASK_1 | @@ -405,11 +397,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { WLAN_CFG_HOST2RXDMA_RING_MASK_0 | - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2 | - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { WLAN_CFG_RXDMA2HOST_RING_MASK_0 | WLAN_CFG_RXDMA2HOST_RING_MASK_1, @@ -462,12 +450,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { 0, 0, - WLAN_CFG_HOST2RXDMA_RING_MASK_0 | - WLAN_CFG_HOST2RXDMA_RING_MASK_1 | - WLAN_CFG_HOST2RXDMA_RING_MASK_2 | - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { 0, 0, WLAN_CFG_RXDMA2HOST_RING_MASK_0 | @@ -525,11 +508,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { WLAN_CFG_HOST2RXDMA_RING_MASK_0, - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2, - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { WLAN_CFG_RXDMA2HOST_RING_MASK_0, WLAN_CFG_RXDMA2HOST_RING_MASK_1, @@ -582,12 +561,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { 0, 0, 0, 0, - WLAN_CFG_HOST2RXDMA_RING_MASK_0 | - WLAN_CFG_HOST2RXDMA_RING_MASK_1 | - WLAN_CFG_HOST2RXDMA_RING_MASK_2 | - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { 0, 0, 0, 0, WLAN_CFG_RXDMA2HOST_RING_MASK_0 | @@ -646,11 +620,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { WLAN_CFG_HOST2RXDMA_RING_MASK_0, - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2, - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { WLAN_CFG_RXDMA2HOST_RING_MASK_0, WLAN_CFG_RXDMA2HOST_RING_MASK_1, @@ -704,12 +674,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { 0, 0, 0, - WLAN_CFG_HOST2RXDMA_RING_MASK_0, - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2, - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { 0, 0, 0, WLAN_CFG_RXDMA2HOST_RING_MASK_0, @@ -769,12 +734,7 @@ static struct dp_int_mask_assignment dp_mask_assignment[NUM_INTERRUPT_COMBINATIO WLAN_CFG_RX_MON_RING_MASK_2, 0, 0, 0, 0, 0}, /* host2rxdma ring masks */ - { 0, 0, 0, - WLAN_CFG_HOST2RXDMA_RING_MASK_0, - WLAN_CFG_HOST2RXDMA_RING_MASK_1, - WLAN_CFG_HOST2RXDMA_RING_MASK_2, - WLAN_CFG_HOST2RXDMA_RING_MASK_3, - 0, 0, 0, 0}, + { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, /* rxdma2host ring masks */ { 0, 0, 0, WLAN_CFG_RXDMA2HOST_RING_MASK_0,