Преглед на файлове

qcacmn: Enable CFR on pebble

1.Enabling CFR capture for pebble.
2.Clean up redundant check for Pebble while fetching rtt info
3.Clean up redundant check for Miami while fetching rtt info
4.Add 2023 to copyright year

Change-Id: I2ac845a1c5914004a0af4a007264d0cd5f431d3f
CRs-Fixed: 3596397
Vaishnavi Chekuru преди 1 година
родител
ревизия
937e92c6c5
променени са 3 файла, в които са добавени 5 реда и са изтрити 6 реда
  1. 1 2
      hal/wifi3.0/qca5332/hal_5332.c
  2. 1 2
      hal/wifi3.0/qcn6432/hal_6432.c
  3. 3 2
      umac/cfr/dispatcher/src/wlan_cfr_tgt_api.c

+ 1 - 2
hal/wifi3.0/qca5332/hal_5332.c

@@ -1486,8 +1486,7 @@ static void hal_hw_txrx_ops_attach_qca5332(struct hal_soc *hal_soc)
 					hal_rx_msdu_get_flow_params_be;
 	hal_soc->ops->hal_rx_tlv_get_tcp_chksum = hal_rx_tlv_get_tcp_chksum_be;
 	hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_be;
-#if defined(QCA_WIFI_QCA5332) && defined(WLAN_CFR_ENABLE) && \
-	defined(WLAN_ENH_CFR_ENABLE)
+#if defined(WLAN_CFR_ENABLE) && defined(WLAN_ENH_CFR_ENABLE)
 	hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_5332;
 	hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_5332;
 #else

+ 1 - 2
hal/wifi3.0/qcn6432/hal_6432.c

@@ -1628,8 +1628,7 @@ static void hal_hw_txrx_ops_attach_qcn6432(struct hal_soc *hal_soc)
 		hal_rx_msdu_get_flow_params_be;
 	hal_soc->ops->hal_rx_tlv_get_tcp_chksum = hal_rx_tlv_get_tcp_chksum_be;
 	hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_be;
-#if defined(QCA_WIFI_QCA6432) && defined(WLAN_CFR_ENABLE) && \
-	defined(WLAN_ENH_CFR_ENABLE)
+#if defined(WLAN_CFR_ENABLE) && defined(WLAN_ENH_CFR_ENABLE)
 	hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_6432;
 	hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_6432;
 #else

+ 3 - 2
umac/cfr/dispatcher/src/wlan_cfr_tgt_api.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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
@@ -154,7 +154,8 @@ int tgt_cfr_validate_period(struct wlan_objmgr_psoc *psoc, u_int32_t period)
 	    target_type == TARGET_TYPE_QCA8074V2 ||
 	    target_type == TARGET_TYPE_QCA5018 ||
 	    target_type == TARGET_TYPE_QCA5332 ||
-	    target_type == TARGET_TYPE_QCN9224) {
+	    target_type == TARGET_TYPE_QCN9224 ||
+	    target_type == TARGET_TYPE_QCN6432) {
 		/* No additional check required for these targets */
 		status = 1;
 	} else {