qcacld-3.0: Disallow TDLS when NAN is active

Since NAN has higher priority over TDLS, disallow TDLS link
when NAN is active.

Change-Id: I7de34dbb2f808c36358ac5266c26e2729b901941
CRs-fixed: 2537158
This commit is contained in:
Manikandan Mohan
2019-10-04 14:32:59 -07:00
committed by nshrivas
szülő 8417fa93ad
commit 7d0bbadf62
5 fájl változott, egészen pontosan 57 új sor hozzáadva és 2 régi sor törölve

Fájl megtekintése

@@ -283,6 +283,15 @@ bool ucfg_is_nan_sap_supported(struct wlan_objmgr_psoc *psoc);
bool ucfg_is_nan_enable_allowed(struct wlan_objmgr_psoc *psoc,
uint8_t nan_chan);
/**
* ucfg_is_nan_disc_active() - ucfg API to query if NAN Discovery is
* active
* @psoc: pointer to psoc object
*
* Return: True if NAN Discovery is active, False otherwise
*/
bool ucfg_is_nan_disc_active(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_nan_set_tgt_caps: ucfg API to set the NAN capabilities of the Target
* @psoc: pointer to psoc object
@@ -359,5 +368,10 @@ static inline void ucfg_nan_psoc_close(struct wlan_objmgr_psoc *psoc)
{
}
static inline bool ucfg_is_nan_disc_active(struct wlan_objmgr_psoc *psoc)
{
return false;
}
#endif /* WLAN_FEATURE_NAN */
#endif /* _NAN_UCFG_API_H_ */