summaryrefslogtreecommitdiff
path: root/wl1271/TWD/FirmwareApi/public_radio.h
diff options
context:
space:
mode:
Diffstat (limited to 'wl1271/TWD/FirmwareApi/public_radio.h')
-rw-r--r--wl1271/TWD/FirmwareApi/public_radio.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/wl1271/TWD/FirmwareApi/public_radio.h b/wl1271/TWD/FirmwareApi/public_radio.h
index 88e983d..47ddfc3 100644
--- a/wl1271/TWD/FirmwareApi/public_radio.h
+++ b/wl1271/TWD/FirmwareApi/public_radio.h
@@ -1,7 +1,7 @@
/*
* public_radio.h
*
- * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
+ * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -59,6 +59,7 @@
#include "public_types.h"
#define MAC_ADDR_SIZE 6
/* typedef uint8 TMacAddr[MAC_ADDR_SIZE]; */
+/*defined in tiDefs.h*/
/************************************************************************/
/* */
/* Definitions section */
@@ -434,8 +435,10 @@ typedef enum RADIO_CHANNEL_INDEX_ENMT
}RADIO_CHANNEL_INDEX_ENM;
-#define NUMBER_OF_2_4_G_CHANNELS (NUMBER_OF_2_4_G_CHANNEL_INDICES_E + 1)
-#define NUMBER_OF_5G_CHANNELS (NUMBER_OF_RADIO_CHANNEL_INDEXS_E - NUMBER_OF_2_4_G_CHANNELS)
+#define NUMBER_OF_2_4_G_CHANNELS (NUMBER_OF_2_4_G_CHANNEL_INDICES_E + 1)
+#define NUMBER_OF_5G_CHANNELS (NUMBER_OF_RADIO_CHANNEL_INDEXS_E - NUMBER_OF_2_4_G_CHANNELS)
+#define HALF_NUMBER_OF_2_4_G_CHANNELS (NUMBER_OF_2_4_G_CHANNELS / 2)
+#define HALF_NUMBER_OF_5G_CHANNELS ((NUMBER_OF_5G_CHANNELS + 1) / 2)
typedef enum RADIO_RATE_GROUPS_ENMT
{
@@ -710,6 +713,7 @@ typedef enum
/* 0x23 */ TEST_CMD_SMART_REFLEX,
/* 0x24 */ TEST_CMD_CHANNEL_RESPONSE,
/* 0x25 */ TEST_CMD_DCO_ITRIM_FEATURE,
+/* 0x26 */ TEST_CMD_INI_FILE_RF_EXTENDED_PARAM,
MAX_TEST_CMD_ID = 0xFF /* Dummy - must be last!!! (make sure that Enum variables are type of int) */
@@ -1551,6 +1555,14 @@ typedef struct
}IniFileRadioParam;
+typedef struct
+{
+ int8 TxPerChannelPowerCompensation_2_4G[HALF_NUMBER_OF_2_4_G_CHANNELS]; /* 7 */
+ int8 TxPerChannelPowerCompensation_5G_OFDM[HALF_NUMBER_OF_5G_CHANNELS]; /* 18 */
+ uint8 Padding[3];
+
+}IniFileExtendedRadioParam;
+
/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/* Describes a reference design supported by the HDK Module */
@@ -1616,13 +1628,14 @@ typedef struct
TFWVerisons fwVersions;
TTestCmdRunCalibration RunCalibration;
IniFileRadioParam IniFileRadioParams;
- IniFileGeneralParam IniFileGeneralParams;
+ IniFileExtendedRadioParam IniFileExtendedRadioParams;
+ IniFileGeneralParam IniFileGeneralParams;
EfuseParameters_t EfuseParams;
TestToneParams_t TestToneParams;
TTestCmdPowerMode powerMode;
TTestCmdFreeRSSI freeRSSI;
TTestCmdCLPCCommands clpcCommands;
- TTestCmdDCOItrimOnOff DCOitrimFeatureOnOff;
+ TTestCmdDCOItrimOnOff DCOitrimFeatureOnOff;
TTestCmdDebug testDebug;
}testCmd_u;