wlan: Reassociation support from CLI
Support for triggering the reassociation to the
associated AP is needed for WMM-AC certification.
So bringing back the changes reverted as part of the change
I728157a66a89a72be254e9f58239ba6e2f2a7c79.
Change-Id: I33327f964e25c0469cb7a51521c2cac505d28bc8
CRs-Fixed: 684036
diff --git a/CORE/SME/inc/sme_Api.h b/CORE/SME/inc/sme_Api.h
index 31c6c26..3320095 100644
--- a/CORE/SME/inc/sme_Api.h
+++ b/CORE/SME/inc/sme_Api.h
@@ -1065,7 +1065,22 @@
eHalStatus sme_CfgSetStr(tHalHandle hHal, tANI_U32 cfgId, tANI_U8 *pStr,
tANI_U32 length, tCcmCfgSetCallback callback,
eAniBoolean toBeSaved) ;
+/* ---------------------------------------------------------------------------
+ \fn sme_GetModifyProfileFields
+ \brief HDD or SME - QOS calls this function to get the current values of
+ connected profile fields, changing which can cause reassoc.
+ This function must be called after CFG is downloaded and STA is in connected
+ state. Also, make sure to call this function to get the current profile
+ fields before calling the reassoc. So that pModifyProfileFields will have
+ all the latest values plus the one(s) has been updated as part of reassoc
+ request.
+ \param pModifyProfileFields - pointer to the connected profile fields
+ changing which can cause reassoc
+ \return eHalStatus
+ -------------------------------------------------------------------------------*/
+eHalStatus sme_GetModifyProfileFields(tHalHandle hHal, tANI_U8 sessionId,
+ tCsrRoamModifyProfileFields * pModifyProfileFields);
/* ---------------------------------------------------------------------------
\fn sme_HT40StopOBSSScan
\brief HDD or SME - Command to stop the OBSS scan