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
このコミットが含まれているのは:
Sourav Mohapatra
2019-09-06 14:38:53 +05:30
committed by nshrivas
コミット 575de29bcb
5個のファイルの変更64行の追加2行の削除

ファイルの表示

@@ -53,6 +53,17 @@ bool cfg_nan_get_datapath_enable(struct wlan_objmgr_psoc *psoc);
* This function returns NAN Datapath Interface MAC randomization status
*/
bool cfg_nan_get_ndi_mac_randomize(struct wlan_objmgr_psoc *psoc);
/**
* cfg_nan_get_ndp_inactivity_timeout() - get NDP inactivity timeout value
* @psoc: pointer to psoc object
* @val: pointer to the value where inactivity timeout has to be copied to
*
* Return: QDF_STATUS
*/
QDF_STATUS cfg_nan_get_ndp_inactivity_timeout(struct wlan_objmgr_psoc *psoc,
uint16_t *val);
#else
static inline bool cfg_nan_get_enable(struct wlan_objmgr_psoc *psoc)
{
@@ -68,6 +79,13 @@ static inline bool cfg_nan_get_ndi_mac_randomize(struct wlan_objmgr_psoc *psoc)
{
return false;
}
static inline
QDF_STATUS cfg_nan_get_ndp_inactivity_timeout(struct wlan_objmgr_psoc *psoc,
uint16_t *val)
{
return QDF_STATUS_SUCCESS;
}
#endif
#endif