diff options
author | Doug Kehn <rdkehn@yahoo.com> | 2011-01-26 14:26:57 -0800 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2011-01-28 12:41:39 -0800 |
commit | c300707009417e45ab50bafc74cd4b9488e9f365 (patch) | |
tree | 60db98b34c8ce6f629aceb515a99efb2306135ce | |
parent | baecb142a4f57faee480e5622ad45b17c154469c (diff) |
Wrappers: wmx_Preambles_t alignment
Update the size of wmx_Preambles_t to be a power of 2. This change
resolved alignment problems on ARM XSCALE (big-endian) processor.
The PREAMBLES_LENGTH define, used extensively throughout the code, was
not altered.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
-rw-r--r-- | InfraStack/OSAgnostic/WiMax/Wrappers/Include/wmxSDK_Nds_Cmn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/InfraStack/OSAgnostic/WiMax/Wrappers/Include/wmxSDK_Nds_Cmn.h b/InfraStack/OSAgnostic/WiMax/Wrappers/Include/wmxSDK_Nds_Cmn.h index 21fdf62..457a25c 100644 --- a/InfraStack/OSAgnostic/WiMax/Wrappers/Include/wmxSDK_Nds_Cmn.h +++ b/InfraStack/OSAgnostic/WiMax/Wrappers/Include/wmxSDK_Nds_Cmn.h @@ -41,6 +41,7 @@ #define MAX_VERBOSE_NSP_NAME_SIZE 256 #define MAX_SP_LOCK_CODE_SIZE 32 #define PREAMBLES_LENGTH 15 +#define PREAMBLES_SIZE 16 #define WMX_CHANNELS_MAX_NUM 64 #define MAX_INSTALLAION_VERSION_SIZE 50 @@ -75,7 +76,7 @@ typedef UINT8 wmx_BSidMask_t[6], *wmx_pBSidMask_t; /// </summary> typedef UINT16 wmx_ChannelID_t, *wmx_pChannelID_t; typedef UINT32 wmx_PPMFreqError_t, *wmx_pPPMFreqError_t; -typedef UINT8 wmx_Preambles_t[PREAMBLES_LENGTH], *wmx_pPreambles_t; +typedef UINT8 wmx_Preambles_t[PREAMBLES_SIZE], *wmx_pPreambles_t; /// <summary> /// Type definition for a variable containing the ID of a NSP. |