qcacld-3.0: Enable TDLS in case of STA association failure

TDLS is disabled if second connection comes up.
If that second connection fails then enable
the TDLS again.

Change-Id: Id5df1df81c94bcf3a0616bbfb4b33f3e4d81dcbe
CRs-Fixed: 2445831
This commit is contained in:
Bala Venkatesh
2019-05-06 15:29:35 +05:30
committed by nshrivas
parent f108e02f54
commit 444588c41e
3 changed files with 28 additions and 0 deletions

View File

@@ -268,6 +268,16 @@ QDF_STATUS ucfg_set_tdls_secoffchanneloffset(struct wlan_objmgr_vdev *vdev,
*/
QDF_STATUS ucfg_tdls_set_rssi(struct wlan_objmgr_vdev *vdev,
uint8_t *mac, int8_t rssi);
/**
* ucfg_tdls_notify_connect_failure() - This api is called if STA/P2P
* connection fails on one iface and to enable/disable TDLS on the other
* STA/P2P iface which is already connected.
* @psoc: psoc object
*
* Return: void
*/
void ucfg_tdls_notify_connect_failure(struct wlan_objmgr_psoc *psoc);
#else
static inline
@@ -331,5 +341,10 @@ QDF_STATUS ucfg_tdls_set_rssi(struct wlan_objmgr_vdev *vdev,
{
return QDF_STATUS_SUCCESS;
}
static inline
void ucfg_tdls_notify_connect_failure(struct wlan_objmgr_psoc *psoc)
{
}
#endif /* FEATURE_WLAN_TDLS */
#endif