RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / Common / target_params.h
blobad0672e8a2adb67e923efba69cd964de2b297939
1 /*
2 * target_params.h
4 *Copyright (C) 2010 Beceem Communications, Inc.
6 *This program is free software: you can redistribute it and/or modify
7 *it under the terms of the GNU General Public License version 2 as
8 *published by the Free Software Foundation.
10 *This program is distributed in the hope that it will be useful,but
11 *WITHOUT ANY WARRANTY; without even the implied warranty of
12 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 *See the GNU General Public License for more details.
15 *You should have received a copy of the GNU General Public License
16 *along with this program. If not, write to the Free Software Foundation, Inc.,
17 *51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #ifndef TARGET_PARAMS_H
23 #define TARGET_PARAMS_H
25 typedef struct _TARGET_PARAMS
27 B_UINT32 m_u32CfgVersion;
29 // Scanning Related Params
30 B_UINT32 m_u32CenterFrequency;
31 B_UINT32 m_u32BandAScan;
32 B_UINT32 m_u32BandBScan;
33 B_UINT32 m_u32BandCScan;
36 // QoS Params
37 B_UINT32 m_u32ErtpsOptions;
39 B_UINT32 m_u32PHSEnable;
42 // HO Params
43 B_UINT32 m_u32HoEnable;
45 B_UINT32 m_u32HoReserved1;
46 B_UINT32 m_u32HoReserved2;
47 // Power Control Params
49 B_UINT32 m_u32MimoEnable;
51 B_UINT32 m_u32SecurityEnable;
53 B_UINT32 m_u32PowerSavingModesEnable; //bit 1: 1 Idlemode enable; bit2: 1 Sleepmode Enable
54 /* PowerSaving Mode Options:
55 bit 0 = 1: CPE mode - to keep pcmcia if alive;
56 bit 1 = 1: CINR reporing in Idlemode Msg
57 bit 2 = 1: Default PSC Enable in sleepmode*/
58 B_UINT32 m_u32PowerSavingModeOptions;
60 B_UINT32 m_u32ArqEnable;
62 // From Version #3, the HARQ section renamed as general
63 B_UINT32 m_u32HarqEnable;
64 // EEPROM Param Location
65 B_UINT32 m_u32EEPROMFlag;
66 // BINARY TYPE - 4th MSByte: Interface Type - 3rd MSByte: Vendor Type - 2nd MSByte
67 // Unused - LSByte
68 B_UINT32 m_u32Customize;
69 B_UINT32 m_u32ConfigBW; /* In Hz */
70 B_UINT32 m_u32ShutDownInitThresholdTimer;
72 B_UINT32 m_u32RadioParameter;
73 B_UINT32 m_u32PhyParameter1;
74 B_UINT32 m_u32PhyParameter2;
75 B_UINT32 m_u32PhyParameter3;
77 B_UINT32 m_u32TestOptions; // in eval mode only; lower 16bits = basic cid for testing; then bit 16 is test cqich,bit 17 test init rang; bit 18 test periodic rang and bit 19 is test harq ack/nack
79 B_UINT32 m_u32MaxMACDataperDLFrame;
80 B_UINT32 m_u32MaxMACDataperULFrame;
82 B_UINT32 m_u32Corr2MacFlags;
84 //adding driver params.
85 B_UINT32 HostDrvrConfig1;
86 B_UINT32 HostDrvrConfig2;
87 B_UINT32 HostDrvrConfig3;
88 B_UINT32 HostDrvrConfig4;
89 B_UINT32 HostDrvrConfig5;
90 B_UINT32 HostDrvrConfig6;
91 B_UINT32 m_u32SegmentedPUSCenable;
93 // removed SHUT down related 'unused' params from here to sync 4.x and 5.x CFG files..
95 //BAMC Related Parameters
96 //Bit 0-15 Band AMC signaling configuration: Bit 1 = 1 – Enable Band AMC signaling.
97 //bit 16-31 Band AMC Data configuration: Bit 16 = 1 – Band AMC 2x3 support.
98 B_UINT32 m_u32BandAMCEnable;
100 } stTargetParams,TARGET_PARAMS,*PTARGET_PARAMS, STARGETPARAMS, *PSTARGETPARAMS;
102 #endif