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:
@@ -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
|
||||
|
Reference in New Issue
Block a user