From 593a7c6ae28a3e76bc29492dcdbbab1c6ba1be52 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Mon, 19 Apr 2021 08:30:12 -0700 Subject: [PATCH] qcacmn: Attach hal ops to get current PN number Register, for WCN7850, the hal ops to get the current PN for a packet from the tlvs. Change-Id: I9fabc84aee318de2031bfa5f88dafe19b723079a CRs-Fixed: 2965086 --- hal/wifi3.0/be/hal_be_generic_api.c | 1 - hal/wifi3.0/wcn7850/hal_7850.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hal/wifi3.0/be/hal_be_generic_api.c b/hal/wifi3.0/be/hal_be_generic_api.c index 8ec4b71ba8..f9d2683216 100644 --- a/hal/wifi3.0/be/hal_be_generic_api.c +++ b/hal/wifi3.0/be/hal_be_generic_api.c @@ -859,5 +859,4 @@ void hal_hw_txrx_default_ops_attach_be(struct hal_soc *hal_soc) hal_soc->ops->hal_reo_qdesc_setup = hal_reo_qdesc_setup_be; hal_soc->ops->hal_reo_status_update = hal_reo_status_update_be; hal_soc->ops->hal_get_tlv_hdr_size = hal_get_tlv_hdr_size_be; - hal_soc->ops->hal_rx_tlv_get_pn_num = hal_rx_tlv_get_pn_num_be; } diff --git a/hal/wifi3.0/wcn7850/hal_7850.c b/hal/wifi3.0/wcn7850/hal_7850.c index 801b43633c..56fdae4f11 100644 --- a/hal/wifi3.0/wcn7850/hal_7850.c +++ b/hal/wifi3.0/wcn7850/hal_7850.c @@ -1506,6 +1506,8 @@ static void hal_hw_txrx_ops_attach_wcn7850(struct hal_soc *hal_soc) hal_rx_msdu_start_msdu_len_set_be; hal_soc->ops->hal_rx_tlv_populate_mpdu_desc_info = hal_rx_tlv_populate_mpdu_desc_info_7850; + hal_soc->ops->hal_rx_tlv_get_pn_num = + hal_rx_tlv_get_pn_num_be; }; struct hal_hw_srng_config hw_srng_table_7850[] = {