qcacld-3.0: Add ini support for NDP inactivity timeout

Add an ini configuration that configures the inactivity timeout for NDP
peer. The value is sent to the firmware via the VDEV param
WMI_VDEV_PARAM_NDP_INACTIVITY_TIMEOUT.

Change-Id: Ifffe6bb40df94761d739463cf7e54a0be7e2a375
CRs-Fixed: 2531756
This commit is contained in:
Sourav Mohapatra
2019-09-06 14:38:53 +05:30
committed by nshrivas
parent 67ecb07330
commit 3f02b6a70d
6 changed files with 73 additions and 2 deletions

View File

@@ -64,6 +64,8 @@ static void nan_cfg_dp_init(struct wlan_objmgr_psoc *psoc,
CFG_NAN_DATAPATH_ENABLE);
nan_obj->cfg_param.ndi_mac_randomize =
cfg_get(psoc, CFG_NAN_RANDOMIZE_NDI_MAC);
nan_obj->cfg_param.ndp_inactivity_timeout =
cfg_get(psoc, CFG_NAN_NDP_INACTIVITY_TIMEOUT);
}
#else
static void nan_cfg_init(struct wlan_objmgr_psoc *psoc,