wlan: Add diag event for TDLS enable link
Add diag event for EVENT_WLAN_TDLS_ENABLE_LINK.
This event contains below info:
- peer mac address
- Does peer supports off channel
- Is off channel configured
- Is off channel established
Change-Id: Ib491d8ac1d8a7850a050bf14a60b6eb08ab94078
CRs-Fixed: 934449
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 99c7774..a5adaea 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -18178,6 +18178,10 @@
/* stop TCP delack timer if TDLS is enable */
set_bit(WLAN_TDLS_MODE, &pHddCtx->mode);
hdd_manage_delack_timer(pHddCtx);
+ hdd_wlan_tdls_enable_link_event(peer,
+ pTdlsPeer->isOffChannelSupported,
+ pTdlsPeer->isOffChannelConfigured,
+ pTdlsPeer->isOffChannelEstablished);
}
break;
case NL80211_TDLS_DISABLE_LINK: