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:

committed by
nshrivas

szülő
8417fa93ad
commit
7d0bbadf62
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user