qcacmn: Changes for vdev and pdev stats

Changes for vdev and pdev stats as per the new peer stats
re-organization architecture.

Change-Id: I48f9fb4b0915c40f4add83f2e2dd074cc97874fd
CRs-Fixed: 3092123
This commit is contained in:
Harsh Kumar Bijlani
2021-12-18 23:28:20 +05:30
committed by Madan Koyyalamudi
parent e8082534bd
commit d8e05be641
8 changed files with 483 additions and 217 deletions

View File

@@ -2864,7 +2864,7 @@ dp_rx_peer_unmap_handler(struct dp_soc *soc, uint16_t peer_id,
}
vdev = peer->vdev;
DP_UPDATE_STATS(vdev, peer);
dp_update_vdev_stats_on_peer_unmap(vdev, peer);
dp_peer_update_state(soc, peer, DP_PEER_STATE_INACTIVE);
dp_peer_unref_delete(peer, DP_MOD_ID_HTT);