qcacld-3.0: Update policy mgr table if nan_conc control is supported

Currently, policy mgr table entries correspond to NAN/NDI are
updated only if nan_dbs is supported. Update/access the
policy mgr table even when nan_conc_control is supported by host.
This allows the host to take care of NAN cuncurrencies through
policy mgr on the non-DBS platforms.
Process NAN enable request in host if nan_conc_control is
supported, which updates the NAN entry to policy mgr table.

Change-Id: Id6e58a9bfde6ceb66a8a0b33136880f75e36090f
CRs-Fixed: 2729995
This commit is contained in:
Srinivas Dasari
2020-07-10 00:35:11 +05:30
committed by nshrivas
parent c6551b04b0
commit 440a823073
5 changed files with 77 additions and 59 deletions

View File

@@ -999,7 +999,7 @@ QDF_STATUS ucfg_ndi_remove_entry_from_policy_mgr(struct wlan_objmgr_vdev *vdev)
qdf_spin_unlock_bh(&vdev_priv_obj->lock);
if (state == NAN_DATA_NDI_DELETED_STATE &&
psoc_priv_obj->nan_caps.ndi_dbs_supported &&
NDI_CONCURRENCY_SUPPORTED(psoc) &&
active_ndp_peers) {
nan_info("Delete NDP peers: %u and remove NDI from policy mgr",
active_ndp_peers);