qcacmn: Do cleanup related to peer_map_unmap_v2

AST entry delete logic has some conditional checks making code with respect
to HTT V1 and V2 messages making it tough to follow.

Change-Id: I229324446134b32021a956fb689e4726256fcc28
This commit is contained in:
Radha Krishna Simha Jiguru
2019-12-23 17:09:41 +05:30
committed by nshrivas
parent 03a9f5b19c
commit 64b4848aa0
3 changed files with 100 additions and 50 deletions

View File

@@ -148,6 +148,12 @@ void dp_peer_free_hmwds_cb(struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
void dp_peer_ast_hash_remove(struct dp_soc *soc,
struct dp_ast_entry *ase);
void dp_peer_free_ast_entry(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
void dp_peer_unlink_ast_entry(struct dp_soc *soc,
struct dp_ast_entry *ast_entry);
/*
* dp_peer_find_by_id_exist - check if peer exists for given id
* @soc: core DP soc context