qcacmn: Handle BUF_ADDR ring desc in dp_rx_err

Currently dp_rx_err_process expects ring descriptor to be only
LINK_DESC_TYPE. In certain cases BUF_ADDR_TYPE ring descriptor is
observed in reo_exception ring. Add logic to handle the same.

Change-Id: I5baecc3f8eafc0830672b91bc9d9607b568a6cda
CRs-Fixed: 2954653
Tento commit je obsažen v:
Mohit Khanna
2021-05-27 10:26:43 -07:00
odevzdal Madan Koyyalamudi
rodič c3dc016a8c
revize c9bcf7e494
4 změnil soubory, kde provedl 143 přidání a 3 odebrání

Zobrazit soubor

@@ -440,6 +440,7 @@ struct dp_srng *dp_get_rxdma_ring(struct dp_pdev *pdev, int lmac_id)
* 2.4GHz band uses lmac_id = 1
* 5GHz/6GHz band uses lmac_id=0
*/
#define DP_INVALID_LMAC_ID (-1)
#define DP_MON_INVALID_LMAC_ID (-1)
#define DP_MON_2G_LMAC_ID 1
#define DP_MON_5G_LMAC_ID 0