qcacmn: Reset rxdma2host dst ring mask for ipq5018 target
During interrupt mask initialization bitmap of rxdma2host destination ring mask is filled in host mode. To avoid spurious interrupts reset this interrupt mask when NSS offload is enabled. Change-Id: I513a78639898c6f2bd9ea5418def03d64d7232d0
This commit is contained in:

committed by
snandini

parent
a577961e92
commit
5c02cbbc5e
@@ -3494,6 +3494,17 @@ static void dp_soc_reset_intr_mask(struct dp_soc *soc)
|
||||
wlan_cfg_set_rx_err_ring_mask(soc->wlan_cfg_ctx,
|
||||
group_number, 0);
|
||||
}
|
||||
|
||||
/* reset interrupt mask for offloaded rxdma2host ring
|
||||
* for IPQ5018 platform.
|
||||
* disable_mac1_intr is set only for IPQ5018 target.
|
||||
*/
|
||||
if (soc->disable_mac1_intr) {
|
||||
grp_mask = &soc->wlan_cfg_ctx->int_rxdma2host_ring_mask[0];
|
||||
group_number = dp_srng_find_ring_in_mask(0x0, grp_mask);
|
||||
wlan_cfg_set_rxdma2host_ring_mask(soc->wlan_cfg_ctx,
|
||||
group_number, 0x0);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef IPA_OFFLOAD
|
||||
|
Reference in New Issue
Block a user