1
0

qcacmn: Replace void * wmi_hdl with abstract type (2/10)

Replace void * wmi handle with abstract type handles
provided by wmi component.

Change-Id: Id12d6446aed8fd389b8677f08765bb31cabf2fb0
CRs-Fixed: 2475444
Este cometimento está contido em:
Himanshu Batra
2019-06-20 12:19:39 +05:30
cometido por nshrivas
ascendente 9173c9192d
cometimento 29bc991911
5 ficheiros modificados com 544 adições e 576 eliminações

Ver ficheiro

@@ -130,8 +130,9 @@ init_deinit_populate_fw_version_cmd(wmi_unified_t wmi_handle, uint8_t *event);
*
* Return: zero on successful population of target cap or failure flag
*/
int init_deinit_populate_target_cap(void *wmi_handle, uint8_t *event,
struct wlan_psoc_target_capability_info *cap);
int init_deinit_populate_target_cap(
wmi_unified_t wmi_handle, uint8_t *event,
struct wlan_psoc_target_capability_info *cap);
/**
* init_deinit_populate_service_ready_ext_param() - populate service ready ext
@@ -253,8 +254,9 @@ QDF_STATUS init_deinit_spectral_scaling_params_free(
* Return: zero on successful parsing of physical reg capability or failure flag
*/
int init_deinit_populate_phy_reg_cap(struct wlan_objmgr_psoc *psoc,
void *wmi_handle, uint8_t *event,
struct tgt_info *info, bool service_ready);
wmi_unified_t wmi_handle, uint8_t *event,
struct tgt_info *info,
bool service_ready);
/**
* init_deinit_validate_160_80p80_fw_caps() - validate 160 80p80 fw caps

Ver ficheiro

@@ -154,8 +154,9 @@ int init_deinit_populate_fw_version_cmd(wmi_unified_t wmi_handle,
return 0;
}
int init_deinit_populate_target_cap(void *wmi_handle, uint8_t *event,
struct wlan_psoc_target_capability_info *cap)
int init_deinit_populate_target_cap(
wmi_unified_t wmi_handle, uint8_t *event,
struct wlan_psoc_target_capability_info *cap)
{
QDF_STATUS status;
@@ -567,8 +568,9 @@ static void init_deinit_update_phy_reg_cap(struct wlan_objmgr_psoc *psoc,
#endif
int init_deinit_populate_phy_reg_cap(struct wlan_objmgr_psoc *psoc,
void *handle, uint8_t *event,
struct tgt_info *info, bool service_ready)
wmi_unified_t handle, uint8_t *event,
struct tgt_info *info,
bool service_ready)
{
uint8_t reg_idx;
uint32_t num_phy_reg_cap;