qcacmn: Modify CDP AST APIs to synchronize add and delete cmds to FW

Change the CDP abstraction APIs for ast entry find, add and delete
to avoid external references for ast entry in upper layers

Process the HTT v2 peer map messages which will be enabled for
nexthop ast entries and use these messages instead of WMI event
for HKv1 WAR where we have to wait for delete confirmation from
target event which is processed in control path

Change-Id: Ifa91a259c0762344deb8ab89e868fc5554d75543
CRs-fixed: 2354951
Cette révision appartient à :
Chaithanya Garrepalli
2018-11-16 18:30:41 +05:30
révisé par nshrivas
Parent d6bdb6eb36
révision 9cc562c53b
10 fichiers modifiés avec 699 ajouts et 621 suppressions

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -136,7 +136,9 @@ static inline bool dp_rx_mcast_echo_check(struct dp_soc *soc,
}
}
} else
ase = dp_peer_ast_hash_find_soc(soc, &data[DP_MAC_ADDR_LEN]);
ase = dp_peer_ast_hash_find_by_pdevid(soc,
&data[DP_MAC_ADDR_LEN],
vdev->pdev->pdev_id);
if (ase) {