qcacld-3.0: Pass vdev_id as an argument in policy_mgr_get_pcl()

Pass vdev_id as an argument in policy_mgr_get_pcl()

Change-Id: If016b2ad1e47d1d8364037e44bd984e5b95c8d6f
CRs-Fixed: 3412927
This commit is contained in:
Jyoti Kumari
2023-01-10 18:27:41 +05:30
committed by Madan Koyyalamudi
부모 5c43a42b63
커밋 4ea4347be1
15개의 변경된 파일72개의 추가작업 그리고 45개의 파일을 삭제

파일 보기

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-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
@@ -329,11 +329,13 @@ bool ucfg_is_nan_sap_supported(struct wlan_objmgr_psoc *psoc);
* allowed
* @psoc: pointer to psoc object
* @nan_ch_freq: NAN Discovery primary social channel
* @vdev_id: Vdev Id
*
* Return: True if NAN Discovery enable is allowed, False otherwise
*/
bool ucfg_is_nan_enable_allowed(struct wlan_objmgr_psoc *psoc,
uint32_t nan_ch_freq);
uint32_t nan_ch_freq,
uint8_t vdev_id);
/**
* ucfg_is_nan_disc_active() - ucfg API to query if NAN Discovery is

파일 보기

@@ -717,9 +717,9 @@ bool ucfg_is_ndi_dbs_supported(struct wlan_objmgr_psoc *psoc)
}
bool ucfg_is_nan_enable_allowed(struct wlan_objmgr_psoc *psoc,
uint32_t nan_ch_freq)
uint32_t nan_ch_freq, uint8_t vdev_id)
{
return nan_is_enable_allowed(psoc, nan_ch_freq);
return nan_is_enable_allowed(psoc, nan_ch_freq, vdev_id);
}
bool ucfg_is_nan_disc_active(struct wlan_objmgr_psoc *psoc)
@@ -1234,7 +1234,8 @@ bool ucfg_nan_is_sta_ndp_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
/* The final freq would be provided by FW, it is not known now */
return policy_mgr_allow_concurrency(psoc, PM_NDI_MODE, 0,
HW_MODE_20_MHZ, conc_ext_flags);
HW_MODE_20_MHZ, conc_ext_flags,
wlan_vdev_get_id(vdev));
}
bool