|
@@ -161,7 +161,7 @@ QDF_STATUS target_if_p2p_register_lo_event_handler(
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
{
|
|
{
|
|
int status;
|
|
int status;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
|
|
|
|
@@ -184,7 +184,7 @@ QDF_STATUS target_if_p2p_register_noa_event_handler(
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
{
|
|
{
|
|
int status;
|
|
int status;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
|
|
|
|
@@ -207,7 +207,7 @@ QDF_STATUS target_if_p2p_unregister_lo_event_handler(
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
{
|
|
{
|
|
int status;
|
|
int status;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
|
|
|
|
@@ -229,7 +229,7 @@ QDF_STATUS target_if_p2p_unregister_noa_event_handler(
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
struct wlan_objmgr_psoc *psoc, void *arg)
|
|
{
|
|
{
|
|
int status;
|
|
int status;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
target_if_debug("psoc:%p, arg:%p", psoc, arg);
|
|
|
|
|
|
@@ -252,7 +252,7 @@ QDF_STATUS target_if_p2p_set_ps(struct wlan_objmgr_psoc *psoc,
|
|
{
|
|
{
|
|
struct p2p_ps_params cmd;
|
|
struct p2p_ps_params cmd;
|
|
QDF_STATUS status;
|
|
QDF_STATUS status;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, vdev_id:%d, opp_ps:%d", psoc,
|
|
target_if_debug("psoc:%p, vdev_id:%d, opp_ps:%d", psoc,
|
|
ps_config->vdev_id, ps_config->opp_ps);
|
|
ps_config->vdev_id, ps_config->opp_ps);
|
|
@@ -293,7 +293,7 @@ QDF_STATUS target_if_p2p_set_ps(struct wlan_objmgr_psoc *psoc,
|
|
QDF_STATUS target_if_p2p_lo_start(struct wlan_objmgr_psoc *psoc,
|
|
QDF_STATUS target_if_p2p_lo_start(struct wlan_objmgr_psoc *psoc,
|
|
struct p2p_lo_start *lo_start)
|
|
struct p2p_lo_start *lo_start)
|
|
{
|
|
{
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, vdev_id:%d", psoc, lo_start->vdev_id);
|
|
target_if_debug("psoc:%p, vdev_id:%d", psoc, lo_start->vdev_id);
|
|
|
|
|
|
@@ -313,7 +313,7 @@ QDF_STATUS target_if_p2p_lo_start(struct wlan_objmgr_psoc *psoc,
|
|
QDF_STATUS target_if_p2p_lo_stop(struct wlan_objmgr_psoc *psoc,
|
|
QDF_STATUS target_if_p2p_lo_stop(struct wlan_objmgr_psoc *psoc,
|
|
uint32_t vdev_id)
|
|
uint32_t vdev_id)
|
|
{
|
|
{
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
target_if_debug("psoc:%p, vdev_id:%d", psoc, vdev_id);
|
|
target_if_debug("psoc:%p, vdev_id:%d", psoc, vdev_id);
|
|
|
|
|
|
@@ -330,7 +330,7 @@ QDF_STATUS target_if_p2p_set_noa(struct wlan_objmgr_psoc *psoc,
|
|
uint32_t vdev_id, bool disable_noa)
|
|
uint32_t vdev_id, bool disable_noa)
|
|
{
|
|
{
|
|
struct vdev_set_params param;
|
|
struct vdev_set_params param;
|
|
- wmi_unified_t wmi_handle = wlan_psoc_get_tgt_if_handle(psoc);
|
|
|
|
|
|
+ wmi_unified_t wmi_handle = target_if_get_wmi_handle(psoc);
|
|
|
|
|
|
if (!wmi_handle) {
|
|
if (!wmi_handle) {
|
|
target_if_err("Invalid wmi handle");
|
|
target_if_err("Invalid wmi handle");
|