Fix the issue with probe req data rate on 5G channels.
Pass the interface persona to firmware to identify the device mode
and program the data rates accordingly.
Change-Id: Id2607fc806aeec7e91d85ee3c174fb77340680d8
CRs-Fixed: 497478
diff --git a/CORE/SME/inc/csrInternal.h b/CORE/SME/inc/csrInternal.h
index 9a5dfea..de7ee50 100644
--- a/CORE/SME/inc/csrInternal.h
+++ b/CORE/SME/inc/csrInternal.h
@@ -462,10 +462,12 @@
}tWmStatusChangeCmd;
+
typedef struct tagAddStaForSessionCmd
{
//Session self mac addr
tSirMacAddr selfMacAddr;
+ tVOS_CON_MODE currDeviceMode;
}tAddStaForSessionCmd;
typedef struct tagDelStaForSessionCmd
diff --git a/CORE/SME/inc/smeInternal.h b/CORE/SME/inc/smeInternal.h
index 24c7f6e..e646d01 100644
--- a/CORE/SME/inc/smeInternal.h
+++ b/CORE/SME/inc/smeInternal.h
@@ -156,6 +156,7 @@
tDblLinkList smeCmdFreeList; //preallocated roam cmd list
void (*pTxPerHitCallback) (void *pCallbackContext); /* callback for Tx PER hit to HDD */
void *pTxPerHitCbContext;
+ tVOS_CON_MODE currDeviceMode;
} tSmeStruct, *tpSmeStruct;
diff --git a/CORE/SME/inc/sme_Api.h b/CORE/SME/inc/sme_Api.h
index a9d2603..94aac47 100644
--- a/CORE/SME/inc/sme_Api.h
+++ b/CORE/SME/inc/sme_Api.h
@@ -223,9 +223,18 @@
\sa
--------------------------------------------------------------------------*/
-eHalStatus sme_OpenSession(tHalHandle hHal, csrRoamCompleteCallback callback, void *pContext,
- tANI_U8 *pSelfMacAddr, tANI_U8 *pbSessionId);
+eHalStatus sme_OpenSession(tHalHandle hHal, csrRoamCompleteCallback callback,
+ void *pContext, tANI_U8 *pSelfMacAddr,
+ tANI_U8 *pbSessionId);
+/*--------------------------------------------------------------------------
+
+ \brief sme_SetCurrDeviceMode() - Sets the current operating device mode.
+ \param hHal - The handle returned by macOpen.
+ \param currDeviceMode - Current operating device mode.
+ --------------------------------------------------------------------------*/
+
+void sme_SetCurrDeviceMode (tHalHandle hHal, tVOS_CON_MODE currDeviceMode);
/*--------------------------------------------------------------------------