mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: set nan_separate_iface_support flag in FTM mode
Set nan_separate_iface_support flag in FTM mode to avoid create NAN vdev in FTM mode. This helps in FTM mode test cases where max supported vdevs are used. Change-Id: Ia628655a87505db787043ef29dd18d259052b521 CRs-Fixed: 2888703
This commit is contained in:
parent
4e15799e1f
commit
59239622a0
1 changed files with 6 additions and 7 deletions
|
|
@ -7033,13 +7033,12 @@ int wma_rx_service_ready_ext_event(void *handle, uint8_t *event,
|
|||
* the num_vdevs by 1.
|
||||
*/
|
||||
|
||||
if (QDF_GLOBAL_FTM_MODE != cds_get_conparam()) {
|
||||
if (ucfg_nan_is_vdev_creation_allowed(wma_handle->psoc)) {
|
||||
wlan_res_cfg->nan_separate_iface_support = true;
|
||||
} else {
|
||||
wlan_res_cfg->num_vdevs--;
|
||||
wma_update_num_peers_tids(wma_handle, wlan_res_cfg);
|
||||
}
|
||||
if (ucfg_nan_is_vdev_creation_allowed(wma_handle->psoc) ||
|
||||
QDF_GLOBAL_FTM_MODE == cds_get_conparam()) {
|
||||
wlan_res_cfg->nan_separate_iface_support = true;
|
||||
} else {
|
||||
wlan_res_cfg->num_vdevs--;
|
||||
wma_update_num_peers_tids(wma_handle, wlan_res_cfg);
|
||||
}
|
||||
|
||||
if ((ucfg_pkt_capture_get_mode(wma_handle->psoc) !=
|
||||
|
|
|
|||
Loading…
Reference in a new issue