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
parent d097ea1836
commit cf5048294b
5 changed files with 57 additions and 2 deletions

View File

@@ -553,6 +553,11 @@ bool ucfg_is_nan_enable_allowed(struct wlan_objmgr_psoc *psoc, uint8_t nan_chan)
return nan_is_enable_allowed(psoc, nan_chan);
}
bool ucfg_is_nan_disc_active(struct wlan_objmgr_psoc *psoc)
{
return nan_is_disc_active(psoc);
}
QDF_STATUS ucfg_nan_discovery_req(void *in_req, uint32_t req_type)
{
struct wlan_objmgr_psoc *psoc;