mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacmn: Add Sanity checks during RX processing
- Check for rx_desc.magic before using a rx_desc retrieved from the reo destination ring via rx_buf_cookie (dp_rx_process). Add stats. - Check if we end up re-using a rx_desc with rx_desc.in_use=1 in the replenish path (dp_rx_buffers_replenish). - Drop RX packet and assert in case MSDU Done failures are seen in in the TLV during dp_rx_process. Add stats. - Disable host2rxdma ring mask for MCL. MCL is not expected to be receiving these interrupts. Change-Id: Iaa345d04b8d48814f88ed6e2237fc67696f6a20c CRs-Fixed: 2382076
This commit is contained in:
parent
9e4bb950e4
commit
16cd1b2e8d
6 changed files with 76 additions and 41 deletions
|
|
@ -129,7 +129,7 @@ static const int rx_mon_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
|||
WLAN_CFG_RX_MON_RING_MASK_3};
|
||||
|
||||
static const int host2rxdma_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
||||
WLAN_CFG_HOST2RXDMA_RING_MASK_0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue