From bc3e92d1d6a5afcf1b1c2a4cc71066910a0a290a Mon Sep 17 00:00:00 2001 From: Shwetha G K Date: Thu, 17 Sep 2020 16:13:51 +0530 Subject: [PATCH] qcacmn: Print oneshot/periodic CFR failure stats Print oneshot/periodic CFR failure stats as well during CFR stop Change-Id: Id81f0b79fd59e11c8170855aded88af7870162b3 --- target_if/cfr/src/target_if_cfr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target_if/cfr/src/target_if_cfr.c b/target_if/cfr/src/target_if_cfr.c index 5fa8f51c6922..4423a8937487 100644 --- a/target_if/cfr/src/target_if_cfr.c +++ b/target_if/cfr/src/target_if_cfr.c @@ -79,6 +79,12 @@ int target_if_cfr_stop_capture(struct wlan_objmgr_pdev *pdev, "Release count = %llu", pdev_cfrobj->dbr_evt_cnt, pdev_cfrobj->tx_evt_cnt, pdev_cfrobj->release_cnt); + cfr_err("tx_peer_status_cfr_fail = %llu", + pdev_cfrobj->tx_peer_status_cfr_fail = 0); + cfr_err("tx_evt_status_cfr_fail = %llu", + pdev_cfrobj->tx_evt_status_cfr_fail); + cfr_err("tx_dbr_cookie_lookup_fail = %llu", + pdev_cfrobj->tx_dbr_cookie_lookup_fail); pdev_cfrobj->dbr_evt_cnt = 0; pdev_cfrobj->tx_evt_cnt = 0;