Browse Source

qcacmn: add support for multi soc htt logger

add support for multi soc htt logger

Change-Id: Ic007fb2cdf8a504991b3e1b98cc49cb2a8246c52
Tallapragada Kalyan 4 years ago
parent
commit
3ae6e993b4
2 changed files with 3 additions and 2 deletions
  1. 1 1
      dp/wifi3.0/dp_htt.c
  2. 2 1
      dp/wifi3.0/dp_htt.h

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

@@ -4931,7 +4931,7 @@ htt_htc_soc_attach(struct htt_soc *soc)
 
 
 	hif_save_htc_htt_config_endpoint(dpsoc->hif_handle, soc->htc_endpoint);
 	hif_save_htc_htt_config_endpoint(dpsoc->hif_handle, soc->htc_endpoint);
 
 
-	htt_interface_logging_init(&soc->htt_logger_handle);
+	htt_interface_logging_init(&soc->htt_logger_handle, soc->ctrl_psoc);
 	dp_hif_update_pipe_callback(soc->dp_soc, (void *)soc,
 	dp_hif_update_pipe_callback(soc->dp_soc, (void *)soc,
 		dp_htt_hif_t2h_hp_callback, DP_HTT_T2H_HP_PIPE);
 		dp_htt_hif_t2h_hp_callback, DP_HTT_T2H_HP_PIPE);
 
 

+ 2 - 1
dp/wifi3.0/dp_htt.h

@@ -31,7 +31,8 @@
 #else
 #else
 struct htt_logger;
 struct htt_logger;
 static inline
 static inline
-void htt_interface_logging_init(struct htt_logger **htt_logger_handle)
+void htt_interface_logging_init(struct htt_logger **htt_logger_handle,
+				struct cdp_ctrl_objmgr_psoc *ctrl_psoc)
 {
 {
 }
 }