wlan: make hal interface msg definition compatible for frame logging
Correction in hal interface msg definition for frame logging.
Swaping maxLogBuffSize and minLogBuffSize and changing order of
logMailBoxAddr.
Change-Id: Iede0102a3d17daf4415dec42b9d99cf19ddc5d2b
CRs-Fixed: 856651
diff --git a/riva/inc/wlan_hal_msg.h b/riva/inc/wlan_hal_msg.h
index a05e3a7..59992bc 100644
--- a/riva/inc/wlan_hal_msg.h
+++ b/riva/inc/wlan_hal_msg.h
@@ -8533,8 +8533,6 @@
*--------------------------------------------------------------------------*/
typedef PACKED_PRE struct PACKED_POST
{
- /* Host mem address to be used as logmailbox */
- tANI_U64 logMailBoxAddr;
/* BIT0 - enable frame logging
* BIT1 - enableBMUHWtracing
* BIT2 - enableQXDMlogging
@@ -8544,16 +8542,18 @@
tANI_U8 frameType;
tANI_U8 frameSize;
tANI_U8 bufferMode;
+ /* Host mem address to be used as logmailbox */
+ tANI_U64 logMailBoxAddr;
/* firmware will wakeup the host to send logs always */
tANI_U8 continuousFrameLogging;
/* Logging mail box version */
tANI_U8 logMailBoxVer;
+ /* Max ring size in firmware to log msgs when host is suspended state */
+ tANI_U8 maxLogBuffSize;
/* when firmware log reaches this threshold and
* if host is awake it will push the logs.
*/
tANI_U8 minLogBuffSize;
- // Max ring size in firmware to log msgs when host is suspended state
- tANI_U8 maxLogBuffSize;
/* Reserved for future purpose */
tANI_U32 reserved0;
tANI_U32 reserved1;