urtw_write16_c
error = urtw_write16_c(sc, URTW_INTR_MASK, 0, 0);
error = urtw_write16_c(sc, URTW_BRSR, data, 0);
error = urtw_write16_c(sc, URTW_INTR_MASK, 0xffff, 0);
(void) urtw_write16_c(sc, 0x5e, 1, 0);
(void) urtw_write16_c(sc, 0xfe, 0x10, 0);
(void) urtw_write16_c(sc, 0x5e, 0, 0);
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, 0x80, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_SELECT, 0x80, 0))
error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE, 0x80, 0);
error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE, 0x1ff7, 0);
if (error = urtw_write16_c(sc, URTW_BRSR, 0xffff, 0))
if (error = urtw_write16_c(sc, URTW_BRSR, 0xffff, 0))
(void) urtw_write16_c(sc, 0x72, 0x59fa, 3);
(void) urtw_write16_c(sc, 0x74, 0x59d2, 3);
(void) urtw_write16_c(sc, 0x76, 0x59d2, 3);
(void) urtw_write16_c(sc, 0x78, 0x19fa, 3);
(void) urtw_write16_c(sc, 0x7a, 0x19fa, 3);
(void) urtw_write16_c(sc, 0x7c, 0x00d0, 3);
(void) urtw_write16_c(sc, 0xec, 0x0800, 1);
(void) urtw_write16_c(sc, URTW_TID_AC_MAP, 0xfa50, 0);
(void) urtw_write16_c(sc, URTW_INT_MIG, 0, 0);
(void) urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, 0x0480, 0);
(void) urtw_write16_c(sc, URTW_RF_PINS_SELECT, 0x2488, 0);
(void) urtw_write16_c(sc, URTW_RF_PINS_ENABLE, 0x1fff, 0);
(void) urtw_write16_c(sc, URTW_8187B_BRSR, 0x0fff, 0);
(void) urtw_write16_c(sc, URTW_ARFR, 0x0fff, 1); /* 1M ~ 54M */
(void) urtw_write16_c(sc, URTW_BEACON_INTERVAL, 0x3ff, 0);
(void) urtw_write16_c(sc, URTW_ATIM_WND, 2, 0);
(void) urtw_write16_c(sc, URTW_FEMR, 0xffff, 1);
(void) urtw_write16_c(sc, URTW_RFSW_CTRL, 0x569a, 2);
error = urtw_write16_c(sc, URTW_AC_VO, 0x5114, 0);
error = urtw_write16_c(sc, URTW_AC_VI, 0x5114, 0);
error = urtw_write16_c(sc, URTW_AC_BE, 0x5114, 0);
error = urtw_write16_c(sc, URTW_AC_BK, 0x5114, 0);
(void) urtw_write16_c(sc, URTW_BSSID + 4,
urtw_write16_c(struct urtw_softc *, int, uint16_t, uint8_t);
if (error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE, o2 | 0xf, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_SELECT, o3 | 0xf, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, o1, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE, o2, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_SELECT, o3, 0))
error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, 0x3a0, 0);
if (error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE,
if (error = urtw_write16_c(sc, URTW_RF_PINS_SELECT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, d80, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT,
error = urtw_write16_c(sc, URTW_RF_PINS_SELECT, d84, 0);
if (error = urtw_write16_c(sc, URTW_RF_PINS_OUTPUT, 0x0080, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_SELECT, 0x0080, 0))
if (error = urtw_write16_c(sc, URTW_RF_PINS_ENABLE, 0x0080, 0))