B43_NTAB16
tmp = b43_ntab_read(dev, B43_NTAB16(15, 87));
b43_ntab_write(dev, B43_NTAB16(15, 87), tmp);
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x106), 2,
b43_ntab_write(dev, B43_NTAB16(8, 0x00), 2);
b43_ntab_write(dev, B43_NTAB16(8, 0x10), 2);
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x15d), 3, ntab7_15e_16e);
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x16d), 3, ntab7_15e_16e);
b43_ntab_write(dev, B43_NTAB16(7, 0x152 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x153 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x154 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x155 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x156 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x157 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x158 + core * 16),
b43_ntab_write(dev, B43_NTAB16(7, 0x159 + core * 16),
b43_ntab_write(dev, B43_NTAB16(8, 0x05), 0x20);
b43_ntab_write(dev, B43_NTAB16(8, 0x15), 0x20);
b43_ntab_write(dev, B43_NTAB16(8, 0x05), 0);
b43_ntab_write(dev, B43_NTAB16(8, 0x15), 0);
b43_ntab_write(dev, B43_NTAB16(7, 0x141), 0x77);
b43_ntab_write(dev, B43_NTAB16(7, 0x123), 0x77);
b43_ntab_write(dev, B43_NTAB16(7, 0x12A), 0x77);
b43_ntab_write(dev, B43_NTAB16(8, 0), 2);
b43_ntab_write(dev, B43_NTAB16(8, 16), 2);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x08), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x18), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x0c), 4, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x1c), 4, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x08), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x18), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x0c), 4, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x1c), 4, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x08), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x0c), 4, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x18), 4, vmid);
b43_ntab_write_bulk(dev, B43_NTAB16(8, 0x1c), 4, gain);
b43_ntab_write(dev, B43_NTAB16(8, 0x00), 0x000A);
b43_ntab_write(dev, B43_NTAB16(8, 0x10), 0x000A);
b43_ntab_write(dev, B43_NTAB16(8, 0x02), 0xCDAA);
b43_ntab_write(dev, B43_NTAB16(8, 0x12), 0xCDAA);
b43_ntab_write(dev, B43_NTAB16(8, 0x08), 0x0000);
b43_ntab_write(dev, B43_NTAB16(8, 0x18), 0x0000);
b43_ntab_write(dev, B43_NTAB16(8, 0x07), 0x7AAB);
b43_ntab_write(dev, B43_NTAB16(8, 0x17), 0x7AAB);
b43_ntab_write(dev, B43_NTAB16(8, 0x06), 0x0800);
b43_ntab_write(dev, B43_NTAB16(8, 0x16), 0x0800);
b43_ntab_write(dev, B43_NTAB16(15, 87), tmp);
b43_ntab_write_bulk(dev, B43_NTAB16(26, 64), 84,
b43_ntab_write_bulk(dev, B43_NTAB16(27, 64), 84,
b43_ntab_write(dev, B43_NTAB16(0x7, 0x110 + i), radio_gain);
tmp = b43_ntab_read(dev, B43_NTAB16(0xF, 0x57));
b43_ntab_write(dev, B43_NTAB16(0xF, 0x57), tmp);
b43_ntab_write_bulk(dev, B43_NTAB16(26, 64), 84, nphy->adj_pwr_tbl);
b43_ntab_write_bulk(dev, B43_NTAB16(27, 64), 84, nphy->adj_pwr_tbl);
b43_ntab_read_bulk(dev, B43_NTAB16(0xF, 0x50), 4, array);
b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 7, buffer);
b43_ntab_write(dev, B43_NTAB16(15, i), entry);
b43_ntab_write(dev, B43_NTAB16(15, i + 32), entry);
b43_ntab_read_bulk(dev, B43_NTAB16(7, 0x110), 2, curr_gain);
b43_ntab_write(dev, B43_NTAB16(8, 3), regs[5]);
b43_ntab_write(dev, B43_NTAB16(8, 19), regs[6]);
b43_ntab_write(dev, B43_NTAB16(8, 2), regs[3]);
b43_ntab_write(dev, B43_NTAB16(8, 18), regs[4]);
tmp = b43_ntab_read(dev, B43_NTAB16(8, 3));
b43_ntab_write(dev, B43_NTAB16(8, 3), 0);
tmp = b43_ntab_read(dev, B43_NTAB16(8, 19));
b43_ntab_write(dev, B43_NTAB16(8, 19), 0);
tmp = b43_ntab_read(dev, B43_NTAB16(8, 2));
b43_ntab_write(dev, B43_NTAB16(8, 2), tmp);
tmp = b43_ntab_read(dev, B43_NTAB16(8, 18));
b43_ntab_write(dev, B43_NTAB16(8, 18), tmp);
b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 8, table);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 80), 4, table);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4, coef);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 85), 2, loft);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 93), 2, loft);
b43_ntab_read_bulk(dev, B43_NTAB16(7, 0x110), 2, save);
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x110), 2, gain);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 0), 18,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 32), 18,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 0), 18,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 32), 18,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 64), length, table);
B43_NTAB16(15, 69 + core));
b43_ntab_write(dev, B43_NTAB16(15, 69 + core),
b43_ntab_read_bulk(dev, B43_NTAB16(15, 96), length,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 64), length,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 96), 4, buffer);
b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 4, buffer);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4,
b43_ntab_read_bulk(dev, B43_NTAB16(15, 101), 2,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 85), 2,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 93), 2,
b43_ntab_read_bulk(dev, B43_NTAB16(15, 96), length,
b43_ntab_read_bulk(dev, B43_NTAB16(15, 96), length,
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x110), 2, save);
b43_ntab_read_bulk(dev, B43_NTAB16(15, 80), 7, buffer);
b43_ntab_write_bulk(dev, B43_NTAB16(15, 80), 4,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 88), 4,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 85), 2,
b43_ntab_write_bulk(dev, B43_NTAB16(15, 93), 2,
b43_ntab_read_bulk(dev, B43_NTAB16(7, 0x110), 2, gain_save);
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x110), 2, cal_gain);
return b43_ntab_read(dev, B43_NTAB16(7, offset)) & 0x7;
b43_ntab_write_bulk(dev, B43_NTAB16(7, 0x110), 2, gain_save);
b43_ntab_write(dev, B43_NTAB16(9, 2), 0x211);
b43_ntab_write(dev, B43_NTAB16(9, 3), 0x222);
b43_ntab_write(dev, B43_NTAB16(9, 8), 0x144);
b43_ntab_write(dev, B43_NTAB16(9, 12), 0x188);
b43_ntab_write_bulk(dev, B43_NTAB16(i, 8), 4, data);
#define B43_NTAB_BDI B43_NTAB16(0x15, 0x000) /* BDI Table */
#define B43_NTAB_C0_LOFEEDTH B43_NTAB16(0x1A, 0x1C0) /* Local Oscillator Feed Through Lookup Table Core 0 */
#define B43_NTAB_C1_LOFEEDTH B43_NTAB16(0x1B, 0x1C0) /* Local Oscillator Feed Through Lookup Table Core 1 */
#define B43_NTAB_ANT_SW_CTL_R3 B43_NTAB16( 9, 0) /* antenna software control */
#define B43_NTAB_PILOT_R3 B43_NTAB16(11, 0) /* pilot */
#define B43_NTAB_MCS_R3 B43_NTAB16(18, 0) /* MCS */
#define B43_NTAB_C0_LOFEEDTH_R3 B43_NTAB16(26, 448) /* Local Oscillator Feed Through lookup 0 */
#define B43_NTAB_C0_PAPD_COMP_R3 B43_NTAB16(26, 576)
#define B43_NTAB_C1_LOFEEDTH_R3 B43_NTAB16(27, 448) /* Local Oscillator Feed Through lookup 1 */
#define B43_NTAB_C1_PAPD_COMP_R3 B43_NTAB16(27, 576)
#define B43_NTAB_PILOT B43_NTAB16(0x0B, 0x000) /* Pilot Table */