qcacmn: Support same link/mld peer mac address

Currently, if mld and link peer has the same mac
address, the peer cannot distinguished with
just the mac address as the search argument.

Hence to support same mld/link peer mac address,
cdp_peer APIs that uses both link and mld peers,
are also given peer_type info. This helps
to perform the operations on the correct peer.

Change-Id: If646755facc8f9a4d9fed2f31c5cc6618fa9a952
CRs-Fixed: 3043428
This commit is contained in:
Namita Nair
2022-06-06 09:18:48 -07:00
committed by Madan Koyyalamudi
parent 9738cd5a32
commit dc6a757028
7 changed files with 338 additions and 208 deletions

View File

@@ -266,7 +266,8 @@ struct cdp_cmn_ops {
QDF_STATUS
(*txrx_peer_delete)(struct cdp_soc_t *soc, uint8_t vdev_id,
uint8_t *peer_mac, uint32_t bitmap);
uint8_t *peer_mac, uint32_t bitmap,
enum cdp_peer_type peer_type);
QDF_STATUS (*txrx_set_monitor_mode)(struct cdp_soc_t *soc,
uint8_t vdev_id,