qcacld-3.0: Add Component APIs for required ucfg APIs in DP component

When component dependent functions calling from higher
modules or any other components, it uses ucfg APIs pattern.
Calling ucfg dependent APIs is acceptable for higher modules
like HDD, OSIF but for another components like DP to avoid
using ucfg APIs here, implementing component APIs for existing
ucfg APIs to other components like NAN, vdev_mgr in DP
component module.

Change-Id: Ia5431c7de7fc944aacf5c8a328072a8ec31e8f3f
CRs-Fixed: 3351496
Esse commit está contido em:
Roopavathi Lingampalli
2022-12-01 14:09:27 +05:30
commit de Madan Koyyalamudi
commit 38bf757799
6 arquivos alterados com 96 adições e 19 exclusões

Ver arquivo

@@ -28,7 +28,7 @@
#include "wlan_cm_roam_ucfg_api.h"
#include <wlan_cm_api.h>
#include "wlan_dp_nud_tracking.h"
#include "wlan_vdev_mgr_ucfg_api.h"
#include "wlan_vdev_mgr_api.h"
#ifdef WLAN_NUD_TRACKING
/**
@@ -216,7 +216,7 @@ static bool dp_nud_honour_failure(struct wlan_dp_intf *dp_intf)
vdev = dp_objmgr_get_vdev_by_user(dp_intf, WLAN_DP_ID);
if (!vdev)
goto fail;
ucfg_wlan_vdev_mgr_get_param_bssid(vdev, bssid);
wlan_vdev_mgr_get_param_bssid(vdev, bssid);
dp_objmgr_put_vdev_by_user(vdev, WLAN_DP_ID);
tx_transmitted = nud_tracking->tx_rx_stats.post_tx_packets -

Ver arquivo

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. 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
@@ -35,7 +35,7 @@
#include "wlan_dp_fisa_rx.h"
#endif
#include "nan_public_structs.h"
#include "nan_ucfg_api.h"
#include "wlan_nan_api_i.h"
#include <wlan_cm_api.h>
#include <enet.h>
#include <cds_utils.h>
@@ -422,7 +422,7 @@ void dp_get_transmit_mac_addr(struct wlan_dp_intf *dp_intf,
switch (dp_intf->device_mode) {
case QDF_NDI_MODE:
state = ucfg_nan_get_ndi_state(dp_intf->vdev);
state = wlan_nan_get_ndi_state(dp_intf->vdev);
if (state == NAN_DATA_NDI_CREATED_STATE ||
state == NAN_DATA_CONNECTED_STATE ||
state == NAN_DATA_CONNECTING_STATE ||