Explorar o código

qcacmn: Remove macro ENABLE_10_4_FW_HDR

Remove all occurrence of ENABLE_10_4_FW_HDR and conserve
any logic change.

CRs-Fixed: 3345419
Change-Id: I37993fd2412a99e605290f5a895b7d8d634b5a69
Mukul Dhiman %!s(int64=2) %!d(string=hai) anos
pai
achega
66fa364229
Modificáronse 4 ficheiros con 4 adicións e 13 borrados
  1. 1 1
      dp/wifi3.0/dp_internal.h
  2. 1 1
      dp/wifi3.0/dp_main.c
  3. 2 2
      dp/wifi3.0/dp_wdi_event.c
  4. 0 9
      hif/src/ce/ce_main.c

+ 1 - 1
dp/wifi3.0/dp_internal.h

@@ -2968,7 +2968,7 @@ dp_hif_update_pipe_callback(struct dp_soc *dp_soc, void *cb_context,
 			    uint8_t pipe_id)
 {
 }
-#endif /* CONFIG_WIN */
+#endif
 
 #ifdef VDEV_PEER_PROTOCOL_COUNT
 /**

+ 1 - 1
dp/wifi3.0/dp_main.c

@@ -14261,7 +14261,7 @@ static struct cdp_raw_ops dp_ops_raw = {
 static struct cdp_pflow_ops dp_ops_pflow = {
 	dp_tx_flow_ctrl_configure_pdev,
 };
-#endif /* CONFIG_WIN */
+#endif
 
 #if defined(WLAN_CFR_ENABLE) && defined(WLAN_ENH_CFR_ENABLE)
 static struct cdp_cfr_ops dp_ops_cfr = {

+ 2 - 2
dp/wifi3.0/dp_wdi_event.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2022-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
@@ -325,4 +325,4 @@ dp_wdi_event_detach(struct dp_pdev *txrx_pdev)
 	qdf_mem_free(txrx_pdev->wdi_event_list);
 	return 0;
 }
-#endif /* CONFIG_WIN */
+#endif

+ 0 - 9
hif/src/ce/ce_main.c

@@ -80,15 +80,6 @@ QDF_STATUS hif_post_recv_buffers_for_pipe(struct HIF_CE_pipe_info *pipe_info);
 #define BYPASS_QMI 0
 #endif
 
-#ifdef ENABLE_10_4_FW_HDR
-#if (ENABLE_10_4_FW_HDR == 1)
-#define WDI_IPA_SERVICE_GROUP 5
-#define WDI_IPA_TX_SVC MAKE_SERVICE_ID(WDI_IPA_SERVICE_GROUP, 0)
-#define HTT_DATA2_MSG_SVC MAKE_SERVICE_ID(HTT_SERVICE_GROUP, 1)
-#define HTT_DATA3_MSG_SVC MAKE_SERVICE_ID(HTT_SERVICE_GROUP, 2)
-#endif /* ENABLE_10_4_FW_HDR == 1 */
-#endif /* ENABLE_10_4_FW_HDR */
-
 static void hif_config_rri_on_ddr(struct hif_softc *scn);
 
 /**