qcacmn: Cleanup local peer id from DP APIs

Local peer_id is being cleaned up across DP, HDD and PS/WMA.
So, any references to local peer_id/sta_id will be replaced
by peer mac address and all interactions between the layers
will be based on peer mac address.

Cleanup local peer id usage from DP APIs.

Change-Id: I930e1c6a09092a373c093239632d6f310fee18e2
CRs-Fixed: 2529041
This commit is contained in:
Yeshwanth Sriram Guntuka
2019-11-22 14:50:02 +05:30
کامیت شده توسط nshrivas
والد 92aa901f84
کامیت 65d547730f
9فایلهای تغییر یافته به همراه36 افزوده شده و 69 حذف شده

مشاهده پرونده

@@ -1720,7 +1720,6 @@ bool dp_ipa_rx_intrabss_fwd(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
qdf_nbuf_t nbuf_copy;
uint8_t da_is_bcmc;
struct ethhdr *eh;
uint8_t local_id;
*fwd_success = false; /* set default as failure */
@@ -1761,16 +1760,14 @@ bool dp_ipa_rx_intrabss_fwd(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
if (!qdf_mem_cmp(eh->h_dest, vdev->mac_addr.raw, QDF_MAC_ADDR_SIZE))
return false;
da_peer = dp_find_peer_by_addr((struct cdp_pdev *)pdev, eh->h_dest,
&local_id);
da_peer = dp_find_peer_by_addr((struct cdp_pdev *)pdev, eh->h_dest);
if (!da_peer)
return false;
if (da_peer->vdev != vdev)
return false;
sa_peer = dp_find_peer_by_addr((struct cdp_pdev *)pdev, eh->h_source,
&local_id);
sa_peer = dp_find_peer_by_addr((struct cdp_pdev *)pdev, eh->h_source);
if (!sa_peer)
return false;