Browse Source

qcacld-3.0: Update for check patch refactoring

Host Target Communication module files are updated for check
patch warnings. Thus update dependent files.

Change-Id: Id37009ca13704beb0d8c4c28cc3eaff9cf930a0f
CRs-fixed: 2030824
Manikandan Mohan 8 years ago
parent
commit
83c939c474
4 changed files with 12 additions and 12 deletions
  1. 1 1
      core/cds/src/cds_api.c
  2. 9 9
      core/dp/htt/htt.c
  3. 1 1
      core/dp/htt/htt_h2t.c
  4. 1 1
      core/dp/htt/htt_internal.h

+ 1 - 1
core/cds/src/cds_api.c

@@ -381,7 +381,7 @@ QDF_STATUS cds_open(struct wlan_objmgr_psoc *psoc)
 	tSirRetStatus sirStatus = eSIR_SUCCESS;
 	struct cds_config_info *cds_cfg;
 	qdf_device_t qdf_ctx;
-	HTC_INIT_INFO htcInfo;
+	struct htc_init_info htcInfo;
 	struct ol_context *ol_ctx;
 	struct hif_opaque_softc *scn;
 	void *HTCHandle;

+ 9 - 9
core/dp/htt/htt.c

@@ -214,13 +214,13 @@ void htt_htc_misc_pkt_pool_free(struct htt_pdev_t *pdev)
  */
 static void
 htt_htc_tx_htt2_service_start(struct htt_pdev_t *pdev,
-			      HTC_SERVICE_CONNECT_REQ *connect_req,
-			      HTC_SERVICE_CONNECT_RESP *connect_resp)
+			      struct htc_service_connect_req *connect_req,
+			      struct htc_service_connect_resp *connect_resp)
 {
 	A_STATUS status;
 
-	qdf_mem_set(connect_req, 0, sizeof(HTC_SERVICE_CONNECT_REQ));
-	qdf_mem_set(connect_resp, 0, sizeof(HTC_SERVICE_CONNECT_RESP));
+	qdf_mem_set(connect_req, 0, sizeof(struct htc_service_connect_req));
+	qdf_mem_set(connect_resp, 0, sizeof(struct htc_service_connect_resp));
 
 	/* The same as HTT service but no RX. */
 	connect_req->EpCallbacks.pContext = pdev;
@@ -254,8 +254,8 @@ htt_htc_tx_htt2_service_start(struct htt_pdev_t *pdev,
 
 static inline void
 htt_htc_tx_htt2_service_start(struct htt_pdev_t *pdev,
-			      HTC_SERVICE_CONNECT_REQ *connect_req,
-			      HTC_SERVICE_CONNECT_RESP *connect_resp)
+			      struct htc_service_connect_req *connect_req,
+			      struct htc_service_connect_resp *connect_resp)
 {
 	return;
 }
@@ -278,7 +278,7 @@ htt_htc_tx_htt2_service_start(struct htt_pdev_t *pdev,
  */
 static
 void htt_htc_credit_flow_disable(struct htt_pdev_t *pdev,
-				 HTC_SERVICE_CONNECT_REQ *connect_req)
+				 struct htc_service_connect_req *connect_req)
 {
 	if (pdev->osdev->bus_type == QDF_BUS_TYPE_SDIO) {
 		/*
@@ -667,8 +667,8 @@ int htt_update_endpoint(struct htt_pdev_t *pdev,
 
 int htt_htc_attach(struct htt_pdev_t *pdev, uint16_t service_id)
 {
-	HTC_SERVICE_CONNECT_REQ connect;
-	HTC_SERVICE_CONNECT_RESP response;
+	struct htc_service_connect_req connect;
+	struct htc_service_connect_resp response;
 	A_STATUS status;
 
 	qdf_mem_set(&connect, sizeof(connect), 0);

+ 1 - 1
core/dp/htt/htt_h2t.c

@@ -113,7 +113,7 @@ void htt_h2t_send_complete(void *context, HTC_PACKET *htc_pkt)
 	htt_htc_pkt_free(pdev, htt_pkt);
 }
 
-HTC_SEND_FULL_ACTION htt_h2t_full(void *context, HTC_PACKET *pkt)
+enum htc_send_full_action htt_h2t_full(void *context, HTC_PACKET *pkt)
 {
 /* FIX THIS */
 	return HTC_SEND_FULL_KEEP;

+ 1 - 1
core/dp/htt/htt_internal.h

@@ -522,7 +522,7 @@ extern QDF_STATUS htt_h2t_rx_ring_cfg_msg_hl(struct htt_pdev_t *pdev);
 
 extern QDF_STATUS (*htt_h2t_rx_ring_cfg_msg)(struct htt_pdev_t *pdev);
 
-HTC_SEND_FULL_ACTION htt_h2t_full(void *context, HTC_PACKET *pkt);
+enum htc_send_full_action htt_h2t_full(void *context, HTC_PACKET *pkt);
 
 struct htt_htc_pkt *htt_htc_pkt_alloc(struct htt_pdev_t *pdev);