Lines Matching refs:CCKSwingIndex
147 u32 CurrCCKSwingVal = 0, CCKSwingIndex = 12; in hal_mpt_CCKTxPowerAdjust() local
198 CCKSwingIndex = 20; /* default index */ in hal_mpt_CCKTxPowerAdjust()
206 CCKSwingIndex = i; in hal_mpt_CCKTxPowerAdjust()
210 write_bbreg(Adapter, 0xa22, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][0]); in hal_mpt_CCKTxPowerAdjust()
211 write_bbreg(Adapter, 0xa23, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][1]); in hal_mpt_CCKTxPowerAdjust()
212 write_bbreg(Adapter, 0xa24, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][2]); in hal_mpt_CCKTxPowerAdjust()
213 write_bbreg(Adapter, 0xa25, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][3]); in hal_mpt_CCKTxPowerAdjust()
214 write_bbreg(Adapter, 0xa26, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][4]); in hal_mpt_CCKTxPowerAdjust()
215 write_bbreg(Adapter, 0xa27, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][5]); in hal_mpt_CCKTxPowerAdjust()
216 write_bbreg(Adapter, 0xa28, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][6]); in hal_mpt_CCKTxPowerAdjust()
217 write_bbreg(Adapter, 0xa29, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][7]); in hal_mpt_CCKTxPowerAdjust()
218 write_bbreg(Adapter, 0xa9a, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][8]); in hal_mpt_CCKTxPowerAdjust()
219 write_bbreg(Adapter, 0xa9b, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][9]); in hal_mpt_CCKTxPowerAdjust()
220 write_bbreg(Adapter, 0xa9c, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][10]); in hal_mpt_CCKTxPowerAdjust()
221 write_bbreg(Adapter, 0xa9d, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][11]); in hal_mpt_CCKTxPowerAdjust()
222 write_bbreg(Adapter, 0xaa0, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][12]); in hal_mpt_CCKTxPowerAdjust()
223 write_bbreg(Adapter, 0xaa1, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][13]); in hal_mpt_CCKTxPowerAdjust()
224 write_bbreg(Adapter, 0xaa2, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][14]); in hal_mpt_CCKTxPowerAdjust()
225 write_bbreg(Adapter, 0xaa3, bMaskByte0, cck_swing_table_ch1_ch13_88f[CCKSwingIndex][15]); in hal_mpt_CCKTxPowerAdjust()
226 RTW_INFO("%s , cck_swing_table_ch1_ch13_88f[%d]\n", __func__, CCKSwingIndex); in hal_mpt_CCKTxPowerAdjust()
231 CCKSwingIndex = i; in hal_mpt_CCKTxPowerAdjust()
235 write_bbreg(Adapter, 0xa22, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][0]); in hal_mpt_CCKTxPowerAdjust()
236 write_bbreg(Adapter, 0xa23, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][1]); in hal_mpt_CCKTxPowerAdjust()
237 write_bbreg(Adapter, 0xa24, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][2]); in hal_mpt_CCKTxPowerAdjust()
238 write_bbreg(Adapter, 0xa25, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][3]); in hal_mpt_CCKTxPowerAdjust()
239 write_bbreg(Adapter, 0xa26, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][4]); in hal_mpt_CCKTxPowerAdjust()
240 write_bbreg(Adapter, 0xa27, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][5]); in hal_mpt_CCKTxPowerAdjust()
241 write_bbreg(Adapter, 0xa28, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][6]); in hal_mpt_CCKTxPowerAdjust()
242 write_bbreg(Adapter, 0xa29, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][7]); in hal_mpt_CCKTxPowerAdjust()
243 write_bbreg(Adapter, 0xa9a, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][8]); in hal_mpt_CCKTxPowerAdjust()
244 write_bbreg(Adapter, 0xa9b, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][9]); in hal_mpt_CCKTxPowerAdjust()
245 write_bbreg(Adapter, 0xa9c, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][10]); in hal_mpt_CCKTxPowerAdjust()
246 write_bbreg(Adapter, 0xa9d, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][11]); in hal_mpt_CCKTxPowerAdjust()
247 write_bbreg(Adapter, 0xaa0, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][12]); in hal_mpt_CCKTxPowerAdjust()
248 write_bbreg(Adapter, 0xaa1, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][13]); in hal_mpt_CCKTxPowerAdjust()
249 write_bbreg(Adapter, 0xaa2, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][14]); in hal_mpt_CCKTxPowerAdjust()
250 write_bbreg(Adapter, 0xaa3, bMaskByte0, cck_swing_table_ch14_88f[CCKSwingIndex][15]); in hal_mpt_CCKTxPowerAdjust()
251 RTW_INFO("%s , cck_swing_table_ch14_88f[%d]\n", __func__, CCKSwingIndex); in hal_mpt_CCKTxPowerAdjust()
264 CCKSwingIndex = i; in hal_mpt_CCKTxPowerAdjust()
270 TempVal = cck_swing_table_ch1_ch13[CCKSwingIndex][0] + in hal_mpt_CCKTxPowerAdjust()
271 (cck_swing_table_ch1_ch13[CCKSwingIndex][1] << 8); in hal_mpt_CCKTxPowerAdjust()
276 TempVal2 = cck_swing_table_ch1_ch13[CCKSwingIndex][2] + in hal_mpt_CCKTxPowerAdjust()
277 (cck_swing_table_ch1_ch13[CCKSwingIndex][3] << 8) + in hal_mpt_CCKTxPowerAdjust()
278 (cck_swing_table_ch1_ch13[CCKSwingIndex][4] << 16) + in hal_mpt_CCKTxPowerAdjust()
279 (cck_swing_table_ch1_ch13[CCKSwingIndex][5] << 24); in hal_mpt_CCKTxPowerAdjust()
283 TempVal3 = cck_swing_table_ch1_ch13[CCKSwingIndex][6] + in hal_mpt_CCKTxPowerAdjust()
284 (cck_swing_table_ch1_ch13[CCKSwingIndex][7] << 8); in hal_mpt_CCKTxPowerAdjust()
289 CCKSwingIndex = i; in hal_mpt_CCKTxPowerAdjust()
295 TempVal = cck_swing_table_ch14[CCKSwingIndex][0] + in hal_mpt_CCKTxPowerAdjust()
296 (cck_swing_table_ch14[CCKSwingIndex][1] << 8); in hal_mpt_CCKTxPowerAdjust()
300 TempVal2 = cck_swing_table_ch14[CCKSwingIndex][2] + in hal_mpt_CCKTxPowerAdjust()
301 (cck_swing_table_ch14[CCKSwingIndex][3] << 8) + in hal_mpt_CCKTxPowerAdjust()
302 (cck_swing_table_ch14[CCKSwingIndex][4] << 16) + in hal_mpt_CCKTxPowerAdjust()
303 (cck_swing_table_ch14[CCKSwingIndex][5] << 24); in hal_mpt_CCKTxPowerAdjust()
307 TempVal3 = cck_swing_table_ch14[CCKSwingIndex][6] + in hal_mpt_CCKTxPowerAdjust()
308 (cck_swing_table_ch14[CCKSwingIndex][7] << 8); in hal_mpt_CCKTxPowerAdjust()