qcacmn: Update ast entry during PTQM migration

Delete and add ast entry during PTQM migration for current and new primary
peer respectively.

Change-Id: I4a640f84a5778aeff19057e027b3aae9e939487a
CRs-Fixed: 3536670
此提交包含在:
Neha Bisht
2023-06-21 17:23:49 +05:30
提交者 Rahul Choudhary
父節點 6646c062ff
當前提交 c9d9e88708
共有 5 個檔案被更改,包括 73 行新增23 行删除

查看文件

@@ -2492,4 +2492,23 @@ bool dp_peer_check_wds_ext_peer(struct dp_peer *peer);
* Return: DP MLD peer id
*/
uint16_t dp_gen_ml_peer_id(struct dp_soc *soc, uint16_t peer_id);
#ifdef FEATURE_AST
/**
* dp_peer_host_add_map_ast() - Add ast entry with HW AST Index
* @soc: SoC handle
* @peer_id: peer id from firmware
* @mac_addr: MAC address of ast node
* @hw_peer_id: HW AST Index returned by target in peer map event
* @vdev_id: vdev id for VAP to which the peer belongs to
* @ast_hash: ast hash value in HW
* @is_wds: flag to indicate peer map event for WDS ast entry
*
* Return: QDF_STATUS code
*/
QDF_STATUS dp_peer_host_add_map_ast(struct dp_soc *soc, uint16_t peer_id,
uint8_t *mac_addr, uint16_t hw_peer_id,
uint8_t vdev_id, uint16_t ast_hash,
uint8_t is_wds);
#endif
#endif /* _DP_PEER_H_ */