qcacmn: Add support for asynchronous Host to Target connection

Add support for asynchronous Host to Target connection connection in
whcih packets can be queued in both interrrupt and process context.

Change-Id: I52f0f972b938a558e4ef3c13cf4d76aa3a63d58f
CRs-Fixed: 1092518
This commit is contained in:
Venkateswara Swamy Bandaru
2016-11-21 15:06:24 +05:30
کامیت شده توسط qcabuildsw
والد 1dd971bf7f
کامیت ae41b9e0ae
4فایلهای تغییر یافته به همراه43 افزوده شده و 11 حذف شده

مشاهده پرونده

@@ -770,4 +770,18 @@ int htc_pm_runtime_put(HTC_HANDLE htc_handle);
static inline int htc_pm_runtime_get(HTC_HANDLE htc_handle) { return 0; }
static inline int htc_pm_runtime_put(HTC_HANDLE htc_handle) { return 0; }
#endif
/**
* htc_set_async_ep() - set async HTC end point
* user should call this function after htc_connect_service before
* queing any packets to end point
* @HTCHandle: htc handle
* @HTC_ENDPOINT_ID: end point id
* @value: true or false
*
* Return: None
*/
void htc_set_async_ep(HTC_HANDLE HTCHandle,
HTC_ENDPOINT_ID htc_ep_id, bool value);
#endif /* _HTC_API_H_ */