qcacmn: Change to remove void pointer usage for HIF handle

Add code to remove void pointer usage for hif_handle
and use opaque pointer hif_opaque_softc and also use
cdp_soc for opaque DP soc handle

Change-Id: I2896f7704ffb809214c5b08756c4b8673307fd9e
CRs-Fixed: 2487247
This commit is contained in:
Akshay Kosigi
2019-07-08 23:04:36 +05:30
committed by nshrivas
parent 67c8bb9e06
commit 4002f765f1
10 changed files with 56 additions and 26 deletions

View File

@@ -44,6 +44,8 @@
#define CDP_PEER_DELETE_NO_SPECIAL 0
#define CDP_PEER_DO_NOT_START_UNMAP_TIMER 1
struct hif_opaque_softc;
/* same as ieee80211_nac_param */
enum cdp_nac_param_cmd {
/* IEEE80211_NAC_PARAM_ADD */
@@ -320,7 +322,7 @@ struct cdp_cmn_ops {
*/
void *(*txrx_soc_init)(void *soc,
struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
void *hif_handle,
struct hif_opaque_softc *hif_handle,
HTC_HANDLE htc_handle, qdf_device_t qdf_osdev,
struct ol_if_ops *ol_ops, uint16_t device_id);