From 162d95556ef0e8dbdbcf82bf3180dd5af3ac9cbe Mon Sep 17 00:00:00 2001 From: Rakshith Suresh Patkar Date: Wed, 21 Aug 2019 13:21:17 +0530 Subject: [PATCH] qcacmn: Cleanup peer local id references from DP RX 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 references to peer_local_id from the following APIs: 1) dp_rx_process 2) dp_rx_process_rxdma_err Change-Id: Ia1c8bd091759132367718e6c6d5f67cf5a98e507 CRs-Fixed: 2512706 --- dp/wifi3.0/dp_rx.c | 2 -- dp/wifi3.0/dp_rx_err.c | 1 - 2 files changed, 3 deletions(-) diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index 929d9c97e7..b9b79b4b65 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -2159,8 +2159,6 @@ done: dp_rx_fill_gro_info(soc, rx_tlv_hdr, nbuf, &rx_ol_pkt_cnt); - qdf_nbuf_cb_update_peer_local_id(nbuf, peer->local_id); - DP_RX_LIST_APPEND(deliver_list_head, deliver_list_tail, nbuf); diff --git a/dp/wifi3.0/dp_rx_err.c b/dp/wifi3.0/dp_rx_err.c index bd69385fd5..529f596803 100644 --- a/dp/wifi3.0/dp_rx_err.c +++ b/dp/wifi3.0/dp_rx_err.c @@ -952,7 +952,6 @@ dp_rx_process_rxdma_err(struct dp_soc *soc, qdf_nbuf_t nbuf, * rekey frame to stack. */ if (qdf_nbuf_is_ipv4_wapi_pkt(nbuf)) { - qdf_nbuf_cb_update_peer_local_id(nbuf, peer->local_id); goto process_rx; } /*