qcacmn: Replace void * Host Target Communications handle with abstract type

Replace void * Host Target Communications handle with abstract type handles
provided by Host Target Communications component

Change-Id: I16ca87e4f9716791d340da2fda0a8a640fa2ec34
CRs-Fixed: 2487151
This commit is contained in:
Himanshu Batra
2019-07-10 12:36:06 +05:30
committed by nshrivas
orang tua 115309a008
melakukan 032d352263
10 mengubah file dengan 33 tambahan dan 33 penghapusan

Melihat File

@@ -38,7 +38,13 @@ extern "C" {
#define HTC_HTT_TRANSFER_HDRSIZE 24
typedef void *HTC_HANDLE;
/*
* NOTE WELL: struct opaque_htc_handle is not defined anywhere. This
* reference is used to help ensure that a HTC_HANDLE is never used
* where a different handle type is expected
*/
struct opaque_htc_handle;
typedef struct opaque_htc_handle *HTC_HANDLE;
typedef uint16_t HTC_SERVICE_ID;
@@ -691,7 +697,7 @@ struct ol_ath_htc_stats *ieee80211_ioctl_get_htc_stats(HTC_HANDLE
*
* Return: htc_handle tx queue depth
*/
int htc_get_tx_queue_depth(HTC_HANDLE *htc_handle, HTC_ENDPOINT_ID endpoint_id);
int htc_get_tx_queue_depth(HTC_HANDLE htc_handle, HTC_ENDPOINT_ID endpoint_id);
#ifdef WLAN_FEATURE_FASTPATH
void htc_ctrl_msg_cmpl(HTC_HANDLE htc_pdev, HTC_ENDPOINT_ID htc_ep_id);