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
Этот коммит содержится в:
Srinivas Dasari
2020-07-10 00:35:11 +05:30
коммит произвёл nshrivas
родитель c6551b04b0
Коммит 440a823073
5 изменённых файлов: 77 добавлений и 59 удалений

Просмотреть файл

@@ -26,6 +26,14 @@
#include "wlan_objmgr_cmn.h"
#include "nan_public_structs.h"
#define NAN_CONCURRENCY_SUPPORTED(psoc) \
(ucfg_is_nan_dbs_supported(psoc) || \
ucfg_is_nan_conc_control_supported(psoc))
#define NDI_CONCURRENCY_SUPPORTED(psoc) \
(ucfg_is_ndi_dbs_supported(psoc) || \
ucfg_is_nan_conc_control_supported(psoc))
#ifdef WLAN_FEATURE_NAN
#define ucfg_nan_set_ndi_state(vdev, state) \
__ucfg_nan_set_ndi_state(vdev, state, __func__)