wlan: Manual Reassoc Functionality
To handle the reassoc request from supplicant as part of
Manual reassoc request
Change-Id: I5719596e466c57dbba9acf37f9a369f3442cba17
CRs-Fixed: 481935
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 37a5e27..0f88ce0 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -1702,7 +1702,9 @@
tANI_U8 channel = 0;
tSirMacAddr targetApBssid;
eHalStatus status = eHAL_STATUS_SUCCESS;
-
+#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
+ tCsrHandoffRequest handoffInfo;
+#endif
hdd_station_ctx_t *pHddStaCtx = NULL;
tANI_BOOLEAN wesMode = eANI_BOOLEAN_FALSE;
pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
@@ -1754,6 +1756,11 @@
}
/* Proceed with reassoc */
+#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
+ handoffInfo.channel = channel;
+ vos_mem_copy(handoffInfo.bssid, targetApBssid, sizeof(tSirMacAddr));
+ sme_HandoffRequest(pHddCtx->hHal, &handoffInfo);
+#endif
}
#endif
#ifdef FEATURE_WLAN_LFR