Go to the documentation of this file. 1 #ifndef B43_TABLES_NPHY_H_
2 #define B43_TABLES_NPHY_H_
4 #include <linux/types.h>
73 #define B43_NTAB_TYPEMASK 0xF0000000
74 #define B43_NTAB_8BIT 0x10000000
75 #define B43_NTAB_16BIT 0x20000000
76 #define B43_NTAB_32BIT 0x30000000
77 #define B43_NTAB8(table, offset) (((table) << 10) | (offset) | B43_NTAB_8BIT)
78 #define B43_NTAB16(table, offset) (((table) << 10) | (offset) | B43_NTAB_16BIT)
79 #define B43_NTAB32(table, offset) (((table) << 10) | (offset) | B43_NTAB_32BIT)
82 #define B43_NTAB_FRAMESTRUCT B43_NTAB32(0x0A, 0x000)
83 #define B43_NTAB_FRAMESTRUCT_SIZE 832
84 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000)
85 #define B43_NTAB_FRAMELT_SIZE 32
86 #define B43_NTAB_TMAP B43_NTAB32(0x0C, 0x000)
87 #define B43_NTAB_TMAP_SIZE 448
88 #define B43_NTAB_TDTRN B43_NTAB32(0x0E, 0x000)
89 #define B43_NTAB_TDTRN_SIZE 704
90 #define B43_NTAB_INTLEVEL B43_NTAB32(0x0D, 0x000)
91 #define B43_NTAB_INTLEVEL_SIZE 7
92 #define B43_NTAB_PILOT B43_NTAB16(0x0B, 0x000)
93 #define B43_NTAB_PILOT_SIZE 88
94 #define B43_NTAB_PILOTLT B43_NTAB32(0x14, 0x000)
95 #define B43_NTAB_PILOTLT_SIZE 6
96 #define B43_NTAB_TDI20A0 B43_NTAB32(0x13, 0x080)
97 #define B43_NTAB_TDI20A0_SIZE 55
98 #define B43_NTAB_TDI20A1 B43_NTAB32(0x13, 0x100)
99 #define B43_NTAB_TDI20A1_SIZE 55
100 #define B43_NTAB_TDI40A0 B43_NTAB32(0x13, 0x280)
101 #define B43_NTAB_TDI40A0_SIZE 110
102 #define B43_NTAB_TDI40A1 B43_NTAB32(0x13, 0x300)
103 #define B43_NTAB_TDI40A1_SIZE 110
104 #define B43_NTAB_BDI B43_NTAB16(0x15, 0x000)
105 #define B43_NTAB_BDI_SIZE 6
106 #define B43_NTAB_CHANEST B43_NTAB32(0x16, 0x000)
107 #define B43_NTAB_CHANEST_SIZE 96
108 #define B43_NTAB_MCS B43_NTAB8 (0x12, 0x000)
109 #define B43_NTAB_MCS_SIZE 128
112 #define B43_NTAB_NOISEVAR10 B43_NTAB32(0x10, 0x000)
113 #define B43_NTAB_NOISEVAR10_SIZE 256
114 #define B43_NTAB_NOISEVAR11 B43_NTAB32(0x10, 0x080)
115 #define B43_NTAB_NOISEVAR11_SIZE 256
116 #define B43_NTAB_C0_ESTPLT B43_NTAB8 (0x1A, 0x000)
117 #define B43_NTAB_C0_ESTPLT_SIZE 64
118 #define B43_NTAB_C1_ESTPLT B43_NTAB8 (0x1B, 0x000)
119 #define B43_NTAB_C1_ESTPLT_SIZE 64
120 #define B43_NTAB_C0_ADJPLT B43_NTAB8 (0x1A, 0x040)
121 #define B43_NTAB_C0_ADJPLT_SIZE 128
122 #define B43_NTAB_C1_ADJPLT B43_NTAB8 (0x1B, 0x040)
123 #define B43_NTAB_C1_ADJPLT_SIZE 128
124 #define B43_NTAB_C0_GAINCTL B43_NTAB32(0x1A, 0x0C0)
125 #define B43_NTAB_C0_GAINCTL_SIZE 128
126 #define B43_NTAB_C1_GAINCTL B43_NTAB32(0x1B, 0x0C0)
127 #define B43_NTAB_C1_GAINCTL_SIZE 128
128 #define B43_NTAB_C0_IQLT B43_NTAB32(0x1A, 0x140)
129 #define B43_NTAB_C0_IQLT_SIZE 128
130 #define B43_NTAB_C1_IQLT B43_NTAB32(0x1B, 0x140)
131 #define B43_NTAB_C1_IQLT_SIZE 128
132 #define B43_NTAB_C0_LOFEEDTH B43_NTAB16(0x1A, 0x1C0)
133 #define B43_NTAB_C0_LOFEEDTH_SIZE 128
134 #define B43_NTAB_C1_LOFEEDTH B43_NTAB16(0x1B, 0x1C0)
135 #define B43_NTAB_C1_LOFEEDTH_SIZE 128
138 #define B43_NTAB_ANT_SW_CTL_R3 B43_NTAB16( 9, 0)
141 #define B43_NTAB_FRAMESTRUCT_R3 B43_NTAB32(10, 0)
142 #define B43_NTAB_PILOT_R3 B43_NTAB16(11, 0)
143 #define B43_NTAB_TMAP_R3 B43_NTAB32(12, 0)
144 #define B43_NTAB_INTLEVEL_R3 B43_NTAB32(13, 0)
145 #define B43_NTAB_TDTRN_R3 B43_NTAB32(14, 0)
146 #define B43_NTAB_NOISEVAR0_R3 B43_NTAB32(16, 0)
147 #define B43_NTAB_NOISEVAR1_R3 B43_NTAB32(16, 128)
148 #define B43_NTAB_MCS_R3 B43_NTAB16(18, 0)
149 #define B43_NTAB_TDI20A0_R3 B43_NTAB32(19, 128)
150 #define B43_NTAB_TDI20A1_R3 B43_NTAB32(19, 256)
151 #define B43_NTAB_TDI40A0_R3 B43_NTAB32(19, 640)
152 #define B43_NTAB_TDI40A1_R3 B43_NTAB32(19, 768)
153 #define B43_NTAB_PILOTLT_R3 B43_NTAB32(20, 0)
154 #define B43_NTAB_CHANEST_R3 B43_NTAB32(22, 0)
155 #define B43_NTAB_FRAMELT_R3 B43_NTAB8(24, 0)
156 #define B43_NTAB_C0_ESTPLT_R3 B43_NTAB8(26, 0)
157 #define B43_NTAB_C1_ESTPLT_R3 B43_NTAB8(27, 0)
158 #define B43_NTAB_C0_ADJPLT_R3 B43_NTAB8(26, 64)
159 #define B43_NTAB_C1_ADJPLT_R3 B43_NTAB8(27, 64)
160 #define B43_NTAB_C0_GAINCTL_R3 B43_NTAB32(26, 192)
161 #define B43_NTAB_C1_GAINCTL_R3 B43_NTAB32(27, 192)
162 #define B43_NTAB_C0_IQLT_R3 B43_NTAB32(26, 320)
163 #define B43_NTAB_C1_IQLT_R3 B43_NTAB32(27, 320)
164 #define B43_NTAB_C0_LOFEEDTH_R3 B43_NTAB16(26, 448)
165 #define B43_NTAB_C1_LOFEEDTH_R3 B43_NTAB16(27, 448)
167 #define B43_NTAB_TX_IQLO_CAL_LOFT_LADDER_40_SIZE 18
168 #define B43_NTAB_TX_IQLO_CAL_LOFT_LADDER_20_SIZE 18
169 #define B43_NTAB_TX_IQLO_CAL_IQIMB_LADDER_40_SIZE 18
170 #define B43_NTAB_TX_IQLO_CAL_IQIMB_LADDER_20_SIZE 18
171 #define B43_NTAB_TX_IQLO_CAL_STARTCOEFS_REV3 11
172 #define B43_NTAB_TX_IQLO_CAL_STARTCOEFS 9
173 #define B43_NTAB_TX_IQLO_CAL_CMDS_RECAL_REV3 12
174 #define B43_NTAB_TX_IQLO_CAL_CMDS_RECAL 10
175 #define B43_NTAB_TX_IQLO_CAL_CMDS_FULLCAL 10
176 #define B43_NTAB_TX_IQLO_CAL_CMDS_FULLCAL_REV3 12
180 unsigned int nr_elements,
void *_data);
183 unsigned int nr_elements,
const void *_data);