diff options
| author | Jeff Johnson <jjohnson@qca.qualcomm.com> | 2014-02-18 16:01:32 -0800 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-03 10:38:25 -0800 |
| commit | f5e1e564fdfd4f5971856ca3137434a039a2f804 (patch) | |
| tree | dea239cd1f2b6c8fdc7e7e0a31f2839aacb878d8 | |
| parent | 050dbd8094a222618acd2041f8b0f3928d5679f3 (diff) | |
qcacld: CORE/WDI/TRP/CTS cleanfile
Run CORE/WDI/TRP/CTS through kernel/scripts/cleanfile to remove
whitespace that is inconsistent with the Linux Kernel coding standard
Change-Id: Icf55970200c087a71555bd2e13d8843008225022
CRs-fixed: 619495
| -rw-r--r-- | CORE/WDI/TRP/CTS/inc/wlan_qct_wdi_cts.h | 106 | ||||
| -rw-r--r-- | CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.c | 6 |
2 files changed, 56 insertions, 56 deletions
diff --git a/CORE/WDI/TRP/CTS/inc/wlan_qct_wdi_cts.h b/CORE/WDI/TRP/CTS/inc/wlan_qct_wdi_cts.h index f8882ac66d44..bc58ccf5fafc 100644 --- a/CORE/WDI/TRP/CTS/inc/wlan_qct_wdi_cts.h +++ b/CORE/WDI/TRP/CTS/inc/wlan_qct_wdi_cts.h @@ -30,10 +30,10 @@ /*=========================================================================== - W L A N C O N T R O L T R A N S P O R T S E R V I C E + W L A N C O N T R O L T R A N S P O R T S E R V I C E E X T E R N A L A P I - - + + DESCRIPTION This file contains the external API exposed by the wlan control transport service module. @@ -69,14 +69,14 @@ when who what, where, why /*---------------------------------------------------------------------------- * Include Files * -------------------------------------------------------------------------*/ -#include "wlan_qct_pal_type.h" +#include "wlan_qct_pal_type.h" /*---------------------------------------------------------------------------- * Preprocessor Definitions and Constants * -------------------------------------------------------------------------*/ #ifdef __cplusplus extern "C" { - #endif + #endif /*---------------------------------------------------------------------------- * Type Declarations @@ -85,7 +85,7 @@ when who what, where, why /* Control Transport Service Handle Type*/ typedef void* WCTS_HandleType; -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WCTS_NotifyEventType ---------------------------------------------------------------------------*/ typedef enum @@ -101,56 +101,56 @@ typedef enum /*--------------------------------------------------------------------------- WCTS_NotifyCBType - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by the control transport when it wishes to send up a notification like the ones mentioned above. - - PARAMETERS + + PARAMETERS IN - wctsHandle: handle to the control transport service + wctsHandle: handle to the control transport service wctsEvent: the event being notified - wctsNotifyCBData: the callback data of the user - - - RETURN VALUE + wctsNotifyCBData: the callback data of the user + + + RETURN VALUE None ---------------------------------------------------------------------------*/ -typedef void (*WCTS_NotifyCBType) (WCTS_HandleType wctsHandle, +typedef void (*WCTS_NotifyCBType) (WCTS_HandleType wctsHandle, WCTS_NotifyEventType wctsEvent, void* wctsNotifyCBData); /*--------------------------------------------------------------------------- WCTS_RxMsgCBType - - DESCRIPTION - + + DESCRIPTION + This callback is invoked by the control transport when it wishes to send up a packet received over the bus. Upon return of Rx callback, the ownership of the message belongs to the CT and this one is free to deallocate any buffer that was used to get this message. If WDI wishes to maintain the information beyond the lifetime of the call, it must make a copy of it. - - PARAMETERS + + PARAMETERS IN - wctsHandle: handle to the control transport service + wctsHandle: handle to the control transport service pMsg: the packet uLen: the packet length - wctsRxMsgCBData: the callback data of the user - - - RETURN VALUE + wctsRxMsgCBData: the callback data of the user + + + RETURN VALUE None ---------------------------------------------------------------------------*/ -typedef void (*WCTS_RxMsgCBType) (WCTS_HandleType wctsHandle, +typedef void (*WCTS_RxMsgCBType) (WCTS_HandleType wctsHandle, void* pMsg, wpt_uint32 uLen, void* wctsRxMsgCBData); -/*--------------------------------------------------------------------------- +/*--------------------------------------------------------------------------- WCTS Transport Callbacks holder type ---------------------------------------------------------------------------*/ typedef struct @@ -167,26 +167,26 @@ typedef struct /** @brief This function is used by the DAL Core to initialize the Control Transport for processing. It must be called prior to calling any - other APIs of the Control Transport. + other APIs of the Control Transport. - @param szName: unique name for the channel that is to be opened + @param szName: unique name for the channel that is to be opened uSize: size of the channel that must be opened (should fit the largest size of packet that the Dal Core wishes to send) wctsCBs: a list of callbacks that the CT needs to use to send - notification and messages back to DAL - - @see - @return A handle that must be used for further communication with the CTS. + notification and messages back to DAL + + @see + @return A handle that must be used for further communication with the CTS. This is an opaque structure for the caller and it will be used in - all communications to and from the CTS. + all communications to and from the CTS. */ -WCTS_HandleType -WCTS_OpenTransport -( +WCTS_HandleType +WCTS_OpenTransport +( const wpt_uint8* szName, - wpt_uint32 uSize, + wpt_uint32 uSize, WCTS_TransportCBsType* wctsCBs ); @@ -199,38 +199,38 @@ WCTS_OpenTransport @param wctsHandlehandle: received upon open - - @see + + @see @return 0 for success */ wpt_uint32 -WCTS_CloseTransport +WCTS_CloseTransport ( WCTS_HandleType wctsHandle ); /** - @brief This function is used by the DAL Core to to send a + @brief This function is used by the DAL Core to to send a message over to the WLAN sub-system. - + Once a buffer has been passed into the Send Message - API, CT takes full ownership of it and it is responsible for - freeing the associated resources. (This prevents a memcpy in - case of a deffered write) + API, CT takes full ownership of it and it is responsible for + freeing the associated resources. (This prevents a memcpy in + case of a deffered write) - The messages transported through the CT on both RX and TX are - flat memory buffers that can be accessed and manipulated - through standard memory functions. + The messages transported through the CT on both RX and TX are + flat memory buffers that can be accessed and manipulated + through standard memory functions. @param wctsHandlehandle: received upon open pMsg: the message to be sent uLen: the length of the message - @see + @see @return 0 for success */ wpt_uint32 -WCTS_SendMessage +WCTS_SendMessage ( WCTS_HandleType wctsHandle, void* pMsg, diff --git a/CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.c b/CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.c index aa9454fc1e59..c72e6e1c0d0e 100644 --- a/CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.c +++ b/CORE/WDI/TRP/CTS/src/wlan_qct_wdi_cts.c @@ -86,7 +86,7 @@ #include "msm_smd.h" #endif -/* Global context for CTS handle, it is required to keep this +/* Global context for CTS handle, it is required to keep this * transport open during SSR shutdown */ static WCTS_HandleType gwctsHandle; /*---------------------------------------------------------------------------- @@ -433,7 +433,7 @@ WCTS_PALDataCallback } /*WCTS_PALDataCallback*/ /** - @brief This helper function is used to clean up the pending + @brief This helper function is used to clean up the pending messages in the transport queue @param wctsHandlehandle: transport handle @@ -647,7 +647,7 @@ WCTS_OpenTransport WPAL_TRACE(eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL, "WCTS_OpenTransport: Invalid magic."); return NULL; - } + } pWCTSCb->wctsState = WCTS_STATE_OPEN; pWCTSCb->wctsNotifyCB((WCTS_HandleType)pWCTSCb, |
