|
@@ -1190,6 +1190,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
|
|
|
if ((tx_evt_param.status & PEER_CFR_CAPTURE_EVT_STATUS_MASK) == 0) {
|
|
|
cfr_debug("CFR capture failed for peer: " QDF_MAC_ADDR_STR,
|
|
|
QDF_MAC_ADDR_ARRAY(tx_evt_param.peer_mac_addr.bytes));
|
|
|
+ pcfr->tx_peer_status_cfr_fail++;
|
|
|
retval = -EINVAL;
|
|
|
goto relref;
|
|
|
}
|
|
@@ -1199,6 +1200,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
|
|
|
QDF_MAC_ADDR_STR,
|
|
|
tx_evt_param.status & CFR_TX_EVT_STATUS_MASK,
|
|
|
QDF_MAC_ADDR_ARRAY(tx_evt_param.peer_mac_addr.bytes));
|
|
|
+ pcfr->tx_evt_status_cfr_fail++;
|
|
|
retval = -EINVAL;
|
|
|
goto relref;
|
|
|
}
|
|
@@ -1211,6 +1213,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
|
|
|
&cookie, 0)) {
|
|
|
cfr_debug("Cookie lookup failure for addr: 0x%pK status: 0x%x",
|
|
|
(void *)((uintptr_t)buf_addr), tx_evt_param.status);
|
|
|
+ pcfr->tx_dbr_cookie_lookup_fail++;
|
|
|
retval = -EINVAL;
|
|
|
goto relref;
|
|
|
}
|
|
@@ -1672,6 +1675,9 @@ QDF_STATUS cfr_6018_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
|
|
pcfr->invalid_dma_length_cnt = 0;
|
|
|
pcfr->clear_txrx_event = 0;
|
|
|
pcfr->cfr_dma_aborts = 0;
|
|
|
+ pcfr->tx_peer_status_cfr_fail = 0;
|
|
|
+ pcfr->tx_evt_status_cfr_fail = 0;
|
|
|
+ pcfr->tx_dbr_cookie_lookup_fail = 0;
|
|
|
qdf_mem_zero(&pcfr->rcc_param, sizeof(struct cfr_rcc_param));
|
|
|
qdf_mem_zero(&pcfr->global, (sizeof(struct ta_ra_cfr_cfg) *
|
|
|
MAX_TA_RA_ENTRIES));
|