summaryrefslogtreecommitdiff
path: root/core/utils
diff options
context:
space:
mode:
authorManikandan Mohan <manikand@codeaurora.org>2017-04-13 20:23:07 -0700
committerSandeep Puligilla <spuligil@codeaurora.org>2017-04-15 19:39:25 -0700
commitb7d7c014dab00f4353e31a1a8fdbf44292bad081 (patch)
tree11df17201d14eaaacf27cbf1a8971565d2a974df /core/utils
parentc4a81650f4cf126a25f301ddef79b0ba5a4ff408 (diff)
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
Diffstat (limited to 'core/utils')
-rw-r--r--core/utils/epping/inc/epping_internal.h5
-rw-r--r--core/utils/epping/src/epping_main.c6
-rw-r--r--core/utils/epping/src/epping_tx.c5
-rw-r--r--core/utils/epping/src/epping_txrx.c6
-rw-r--r--core/utils/pktlog/pktlog_ac.c6
5 files changed, 15 insertions, 13 deletions
diff --git a/core/utils/epping/inc/epping_internal.h b/core/utils/epping/inc/epping_internal.h
index fdd71c417492..d7003c9680e6 100644
--- a/core/utils/epping/inc/epping_internal.h
+++ b/core/utils/epping/inc/epping_internal.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -171,7 +171,8 @@ void epping_tx_complete_multiple(void *ctx, HTC_PACKET_QUEUE *pPacketQueue);
int epping_tx_send(qdf_nbuf_t skb, epping_adapter_t *pAdapter);
#ifdef HIF_SDIO
-HTC_SEND_FULL_ACTION epping_tx_queue_full(void *Context, HTC_PACKET *pPacket);
+enum htc_send_full_action epping_tx_queue_full(void *Context,
+ HTC_PACKET *pPacket);
#endif
void epping_tx_dup_pkt(epping_adapter_t *pAdapter,
HTC_ENDPOINT_ID eid, qdf_nbuf_t skb);
diff --git a/core/utils/epping/src/epping_main.c b/core/utils/epping/src/epping_main.c
index a248966af6f4..bdd58e04a154 100644
--- a/core/utils/epping/src/epping_main.c
+++ b/core/utils/epping/src/epping_main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -170,7 +170,7 @@ void epping_close(void)
/**
* epping_target_suspend_acknowledge() - process wow ack/nack from fw
- * @context: HTC_INIT_INFO->context
+ * @context: htc_init_info->context
* @wow_nack: true when wow is rejected
*/
static void epping_target_suspend_acknowledge(void *context, bool wow_nack)
@@ -219,7 +219,7 @@ int epping_enable(struct device *parent_dev)
epping_context_t *pEpping_ctx = NULL;
cds_context_type *p_cds_context = NULL;
qdf_device_t qdf_ctx;
- HTC_INIT_INFO htcInfo;
+ struct htc_init_info htcInfo;
struct hif_opaque_softc *scn;
tSirMacAddr adapter_macAddr;
struct hif_target_info *tgt_info;
diff --git a/core/utils/epping/src/epping_tx.c b/core/utils/epping/src/epping_tx.c
index 5cfe3d1a57de..58336585eaf8 100644
--- a/core/utils/epping/src/epping_tx.c
+++ b/core/utils/epping/src/epping_tx.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -305,7 +305,8 @@ tx_fail:
}
#ifdef HIF_SDIO
-HTC_SEND_FULL_ACTION epping_tx_queue_full(void *Context, HTC_PACKET *pPacket)
+enum htc_send_full_action epping_tx_queue_full(void *Context,
+ HTC_PACKET *pPacket)
{
/*
* Call netif_stop_queue frequently will impact the mboxping tx t-put.
diff --git a/core/utils/epping/src/epping_txrx.c b/core/utils/epping/src/epping_txrx.c
index 43cd77713df8..370832bb7765 100644
--- a/core/utils/epping/src/epping_txrx.c
+++ b/core/utils/epping/src/epping_txrx.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -402,8 +402,8 @@ epping_adapter_t *epping_add_adapter(epping_context_t *pEpping_ctx,
int epping_connect_service(epping_context_t *pEpping_ctx)
{
int status, i;
- HTC_SERVICE_CONNECT_REQ connect;
- HTC_SERVICE_CONNECT_RESP response;
+ struct htc_service_connect_req connect;
+ struct htc_service_connect_resp response;
qdf_mem_zero(&connect, sizeof(connect));
qdf_mem_zero(&response, sizeof(response));
diff --git a/core/utils/pktlog/pktlog_ac.c b/core/utils/pktlog/pktlog_ac.c
index 50c568da389d..d28656a7354d 100644
--- a/core/utils/pktlog/pktlog_ac.c
+++ b/core/utils/pktlog/pktlog_ac.c
@@ -731,7 +731,7 @@ static void pktlog_h2t_send_complete(void *context, HTC_PACKET *htc_pkt)
*
* Return: HTC action
*/
-static HTC_SEND_FULL_ACTION pktlog_h2t_full(void *context, HTC_PACKET *pkt)
+static enum htc_send_full_action pktlog_h2t_full(void *context, HTC_PACKET *pkt)
{
return HTC_SEND_FULL_KEEP;
}
@@ -744,8 +744,8 @@ static HTC_SEND_FULL_ACTION pktlog_h2t_full(void *context, HTC_PACKET *pkt)
*/
static int pktlog_htc_connect_service(struct ol_pktlog_dev_t *pdev)
{
- 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);