qcacmn: Fix for removal of common_wmi_handle

Add changes to remove usage of common_wmi_handle
Instead use wmi_unified_t as opaque pointer

Change-Id: I85ae8581ce8e4f7fd02fb753e3f482f8a6edebac
Šī revīzija ir iekļauta:
Akshay Kosigi
2019-06-12 12:12:16 +05:30
revīziju iesūtīja nshrivas
vecāks 59b6bee259
revīzija dc8e095f30
8 mainīti faili ar 28 papildinājumiem un 29 dzēšanām

Parādīt failu

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -117,7 +117,7 @@ bool lmac_is_target_ar900b(struct wlan_objmgr_psoc *psoc);
*
* Return: wmi handler
*/
struct common_wmi_handle *lmac_get_wmi_hdl(struct wlan_objmgr_psoc *psoc);
struct wmi_unified *lmac_get_wmi_hdl(struct wlan_objmgr_psoc *psoc);
/**
* lmac_get_wmi_unified_hdl() - get wmi handle
@@ -179,7 +179,7 @@ struct hif_opaque_softc *lmac_get_ol_hif_hdl(struct wlan_objmgr_psoc *psoc);
*
* Return: wmi handle
*/
struct common_wmi_handle *lmac_get_pdev_wmi_handle(
struct wmi_unified *lmac_get_pdev_wmi_handle(
struct wlan_objmgr_pdev *pdev);
/**

Parādīt failu

@@ -327,7 +327,7 @@ QDF_STATUS init_deinit_handle_host_mem_req(
uint32_t i;
uint32_t idx;
QDF_STATUS status = QDF_STATUS_SUCCESS;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
struct tgt_info *info;
if (!tgt_hdl) {
@@ -438,7 +438,7 @@ void init_deinit_prepare_send_init_cmd(
{
struct wmi_init_cmd_param init_param = {0};
struct tgt_info *info;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
QDF_STATUS ret_val;
if (!tgt_hdl) {

Parādīt failu

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -187,7 +187,7 @@ bool lmac_is_target_ar900b(struct wlan_objmgr_psoc *psoc)
}
qdf_export_symbol(lmac_is_target_ar900b);
struct common_wmi_handle *lmac_get_wmi_hdl(struct wlan_objmgr_psoc *psoc)
struct wmi_unified *lmac_get_wmi_hdl(struct wlan_objmgr_psoc *psoc)
{
struct target_psoc_info *tgt_hdl;
@@ -274,7 +274,7 @@ struct hif_opaque_softc *lmac_get_ol_hif_hdl(struct wlan_objmgr_psoc *psoc)
}
qdf_export_symbol(lmac_get_ol_hif_hdl);
struct common_wmi_handle *lmac_get_pdev_wmi_handle(
struct wmi_unified *lmac_get_pdev_wmi_handle(
struct wlan_objmgr_pdev *pdev)
{
struct target_pdev_info *tgt_hdl;

Parādīt failu

@@ -41,7 +41,7 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
struct wlan_objmgr_psoc *psoc;
struct target_psoc_info *tgt_hdl;
wmi_legacy_service_ready_callback legacy_callback;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
QDF_STATUS ret_val;
if (!scn_handle) {
@@ -193,7 +193,7 @@ static int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
int err_code;
struct wlan_objmgr_psoc *psoc;
struct target_psoc_info *tgt_hdl;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
struct tgt_info *info;
wmi_legacy_service_ready_callback legacy_callback;
@@ -319,7 +319,7 @@ static int init_deinit_service_available_handler(ol_scn_t scn_handle,
{
struct wlan_objmgr_psoc *psoc;
struct target_psoc_info *tgt_hdl;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
if (!scn_handle) {
target_if_err("scn handle NULL");
@@ -360,7 +360,7 @@ static int init_deinit_ready_event_handler(ol_scn_t scn_handle,
struct wlan_objmgr_psoc *psoc;
struct wlan_objmgr_pdev *pdev;
struct target_psoc_info *tgt_hdl;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
struct wmi_host_fw_abi_ver fw_ver;
uint8_t myaddr[QDF_MAC_ADDR_SIZE];
struct tgt_info *info;

Parādīt failu

@@ -593,7 +593,7 @@ QDF_STATUS init_deinit_validate_160_80p80_fw_caps(
bool vhtcap_160mhz_sgi = false;
bool valid = false;
struct wlan_psoc_host_hal_reg_capabilities_ext *reg_cap;
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
if (!tgt_hdl) {
target_if_err(
@@ -708,7 +708,7 @@ QDF_STATUS init_deinit_is_service_ext_msg(
struct wlan_objmgr_psoc *psoc,
struct target_psoc_info *tgt_hdl)
{
struct common_wmi_handle *wmi_handle;
struct wmi_unified *wmi_handle;
if (!tgt_hdl) {
target_if_err(