BWN_RF_SETMASK
BWN_RF_SETMASK(mac, 0x43, 0xfff0, 0x9);
BWN_RF_SETMASK(mac, 0x43, 0xfff0, 0x0009);
BWN_RF_SETMASK(mac, 0x007a, 0x00f8, 0x0007);
BWN_RF_SETMASK(mac, 0x43, 0xfff0, rf_pctl_reg);
BWN_RF_SETMASK(mac, 0x52, 0xff0f, tx_magn);
BWN_RF_SETMASK(mac, 0x52, 0xfff0, tx_bias);
BWN_RF_SETMASK(mac, 0x52, 0xff0f, tmp);
BWN_RF_SETMASK(mac, 0x43, 0xfff0, rfatt->att);
BWN_RF_SETMASK(mac, reg, ~value, (rfatt->padmix ? value :0));
BWN_RF_SETMASK(mac, 0x0043, 0x00f0, 0x000f);
BWN_RF_SETMASK(mac, 0x0076, 0x00f7, 0x0084);
BWN_RF_SETMASK(mac, 0x43, 0xfff0, (rf & 0x000f));
BWN_RF_SETMASK(mac, 0x52, ~0x0070, (txctl & 0x0070));
BWN_RF_SETMASK(mac, 0x52, 0xfff0, (tx_bias & 0x000f));
BWN_RF_SETMASK(mac, 0x52, 0xfff0, pg->pg_loctl.tx_bias);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_VCO_CALIB6,
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_VCO_CALIB7,
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_VCO_CALIB7,
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_SG1, 0xffe0, tmp[0] >> 4);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_SG2, 0xfe0f, tmp[0] << 4);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_SG2, 0xfff0, tmp[0] >> 16);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_CP2, 0xffc0, tmp[4]);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_CP2, 0xffbf, scale << 6);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_CP3, 0xffe0, tmp[5]);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_CP3, 0xffdf, scale << 5);
BWN_RF_SETMASK(mac, BWN_B2063_JTAG_XTAL_12, 0xfffb, 0x4);