urtw_softc
urtw_init(struct urtw_softc *sc)
urtw_adapter_start_b(struct urtw_softc *sc)
urtw_set_macaddr(struct urtw_softc *sc, const uint8_t *macaddr)
urtw_adapter_start(struct urtw_softc *sc)
urtw_set_mode(struct urtw_softc *sc, uint32_t mode)
urtw_pause_ms(struct urtw_softc *sc, int delay)
urtw_8187b_cmd_reset(struct urtw_softc *sc)
urtw_do_request(struct urtw_softc *sc,
urtw_stop(struct urtw_softc *sc)
urtw_abort_xfers(struct urtw_softc *sc)
struct urtw_softc *sc = ic->ic_softc;
struct urtw_softc *sc = ic->ic_softc;
urtw_start(struct urtw_softc *sc)
urtw_alloc_data_list(struct urtw_softc *sc, struct urtw_data data[],
urtw_alloc_rx_data_list(struct urtw_softc *sc)
urtw_alloc_tx_data_list(struct urtw_softc *sc)
struct urtw_softc *sc = ic->ic_softc;
struct urtw_softc *sc = ic->ic_softc;
struct urtw_softc *sc = ic->ic_softc;
urtw_tx_start(struct urtw_softc *sc, struct ieee80211_node *ni, struct mbuf *m0,
struct urtw_softc *sc = ic->ic_softc;
struct urtw_softc *sc = arg;
urtw_set_rate(struct urtw_softc *sc)
urtw_update_msr(struct urtw_softc *sc)
urtw_read8_c(struct urtw_softc *sc, int val, uint8_t *data)
urtw_read16_c(struct urtw_softc *sc, int val, uint16_t *data)
urtw_read32_c(struct urtw_softc *sc, int val, uint32_t *data)
urtw_write8_c(struct urtw_softc *sc, int val, uint8_t data)
urtw_write16_c(struct urtw_softc *sc, int val, uint16_t data)
urtw_write32_c(struct urtw_softc *sc, int val, uint32_t data)
urtw_get_macaddr(struct urtw_softc *sc)
urtw_eprom_read32(struct urtw_softc *sc, uint32_t addr, uint32_t *data)
urtw_eprom_cs(struct urtw_softc *sc, int able)
urtw_eprom_ck(struct urtw_softc *sc)
urtw_eprom_readbit(struct urtw_softc *sc, int16_t *data)
urtw_eprom_writebit(struct urtw_softc *sc, int16_t bit)
urtw_eprom_sendbits(struct urtw_softc *sc, int16_t *buf, int buflen)
urtw_get_txpwr(struct urtw_softc *sc)
urtw_get_rfchip(struct urtw_softc *sc)
urtw_led_init(struct urtw_softc *sc)
urtw_8225_rf_init(struct urtw_softc *sc)
urtw_8185_rf_pins_enable(struct urtw_softc *sc)
urtw_8185_tx_antenna(struct urtw_softc *sc, uint8_t ant)
urtw_8187_write_phy_ofdm_c(struct urtw_softc *sc, uint8_t addr, uint32_t data)
urtw_8187_write_phy_cck_c(struct urtw_softc *sc, uint8_t addr, uint32_t data)
urtw_8187_write_phy(struct urtw_softc *sc, uint8_t addr, uint32_t data)
urtw_8225_setgain(struct urtw_softc *sc, int16_t gain)
urtw_8225_usb_init(struct urtw_softc *sc)
urtw_8225_write_c(struct urtw_softc *sc, uint8_t addr, uint16_t data)
urtw_8225_write_s16(struct urtw_softc *sc, uint8_t addr, int index,
urtw_8225_rf_set_chan(struct urtw_softc *sc, int chan)
urtw_8225_rf_set_sens(struct urtw_softc *sc, int sens)
urtw_8225_set_txpwrlvl(struct urtw_softc *sc, int chan)
urtw_8225_rf_stop(struct urtw_softc *sc)
urtw_8225v2_rf_init(struct urtw_softc *sc)
urtw_8225v2_rf_set_chan(struct urtw_softc *sc, int chan)
urtw_8225_read(struct urtw_softc *sc, uint8_t addr, uint32_t *data)
urtw_8225v2_set_txpwrlvl(struct urtw_softc *sc, int chan)
urtw_8225v2_setgain(struct urtw_softc *sc, int16_t gain)
urtw_8225_isv2(struct urtw_softc *sc, int *ret)
urtw_8225v2b_rf_init(struct urtw_softc *sc)
urtw_8225v2b_rf_set_chan(struct urtw_softc *sc, int chan)
urtw_8225v2b_set_txpwrlvl(struct urtw_softc *sc, int chan)
urtw_read8e(struct urtw_softc *sc, int val, uint8_t *data)
urtw_write8e(struct urtw_softc *sc, int val, uint8_t data)
urtw_8180_set_anaparam(struct urtw_softc *sc, uint32_t val)
urtw_8185_set_anaparam2(struct urtw_softc *sc, uint32_t val)
urtw_intr_enable(struct urtw_softc *sc)
urtw_intr_disable(struct urtw_softc *sc)
urtw_reset(struct urtw_softc *sc)
urtw_led_ctl(struct urtw_softc *sc, int mode)
urtw_led_mode0(struct urtw_softc *sc, int mode)
urtw_led_mode1(struct urtw_softc *sc, int mode)
urtw_led_mode2(struct urtw_softc *sc, int mode)
urtw_led_mode3(struct urtw_softc *sc, int mode)
urtw_led_on(struct urtw_softc *sc, int type)
urtw_led_off(struct urtw_softc *sc, int type)
struct urtw_softc *sc = arg;
struct urtw_softc *sc = arg;
urtw_led_blink(struct urtw_softc *sc)
urtw_rx_enable(struct urtw_softc *sc)
urtw_tx_enable(struct urtw_softc *sc)
urtw_rx_setconf(struct urtw_softc *sc)
struct urtw_softc *sc = data->sc;
struct urtw_softc *sc = usbd_xfer_softc(xfer);
struct urtw_softc *sc = usbd_xfer_softc(xfer);
struct urtw_softc *sc = usbd_xfer_softc(xfer);
struct urtw_softc *sc = usbd_xfer_softc(xfer);
struct urtw_softc *sc = usbd_xfer_softc(xfer);
_urtw_getbuf(struct urtw_softc *sc)
urtw_getbuf(struct urtw_softc *sc)
struct urtw_softc *sc = ic->ic_softc;
struct urtw_softc *sc = arg;
urtw_sysctl_node(struct urtw_softc *sc)
.size = sizeof(struct urtw_softc)
static void urtw_init(struct urtw_softc *);
static void urtw_stop(struct urtw_softc *);
static void urtw_start(struct urtw_softc *);
static int urtw_alloc_rx_data_list(struct urtw_softc *);
static int urtw_alloc_tx_data_list(struct urtw_softc *);
static int urtw_tx_start(struct urtw_softc *,
static usb_error_t urtw_set_rate(struct urtw_softc *);
static usb_error_t urtw_update_msr(struct urtw_softc *);
static usb_error_t urtw_read8_c(struct urtw_softc *, int, uint8_t *);
static usb_error_t urtw_read16_c(struct urtw_softc *, int, uint16_t *);
static usb_error_t urtw_read32_c(struct urtw_softc *, int, uint32_t *);
static usb_error_t urtw_write8_c(struct urtw_softc *, int, uint8_t);
static usb_error_t urtw_write16_c(struct urtw_softc *, int, uint16_t);
static usb_error_t urtw_write32_c(struct urtw_softc *, int, uint32_t);
static usb_error_t urtw_eprom_cs(struct urtw_softc *, int);
static usb_error_t urtw_eprom_ck(struct urtw_softc *);
static usb_error_t urtw_eprom_sendbits(struct urtw_softc *, int16_t *,
static usb_error_t urtw_eprom_read32(struct urtw_softc *, uint32_t,
static usb_error_t urtw_eprom_readbit(struct urtw_softc *, int16_t *);
static usb_error_t urtw_eprom_writebit(struct urtw_softc *, int16_t);
static usb_error_t urtw_get_macaddr(struct urtw_softc *);
static usb_error_t urtw_get_txpwr(struct urtw_softc *);
static usb_error_t urtw_get_rfchip(struct urtw_softc *);
static usb_error_t urtw_led_init(struct urtw_softc *);
static usb_error_t urtw_8185_rf_pins_enable(struct urtw_softc *);
static usb_error_t urtw_8185_tx_antenna(struct urtw_softc *, uint8_t);
static usb_error_t urtw_8187_write_phy(struct urtw_softc *, uint8_t,
static usb_error_t urtw_8187_write_phy_ofdm_c(struct urtw_softc *,
static usb_error_t urtw_8187_write_phy_cck_c(struct urtw_softc *, uint8_t,
static usb_error_t urtw_8225_setgain(struct urtw_softc *, int16_t);
static usb_error_t urtw_8225_usb_init(struct urtw_softc *);
static usb_error_t urtw_8225_write_c(struct urtw_softc *, uint8_t,
static usb_error_t urtw_8225_write_s16(struct urtw_softc *, uint8_t, int,
static usb_error_t urtw_8225_read(struct urtw_softc *, uint8_t,
static usb_error_t urtw_8225_rf_init(struct urtw_softc *);
static usb_error_t urtw_8225_rf_set_chan(struct urtw_softc *, int);
static usb_error_t urtw_8225_rf_set_sens(struct urtw_softc *, int);
static usb_error_t urtw_8225_set_txpwrlvl(struct urtw_softc *, int);
static usb_error_t urtw_8225_rf_stop(struct urtw_softc *);
static usb_error_t urtw_8225v2_rf_init(struct urtw_softc *);
static usb_error_t urtw_8225v2_rf_set_chan(struct urtw_softc *, int);
static usb_error_t urtw_8225v2_set_txpwrlvl(struct urtw_softc *, int);
static usb_error_t urtw_8225v2_setgain(struct urtw_softc *, int16_t);
static usb_error_t urtw_8225_isv2(struct urtw_softc *, int *);
static usb_error_t urtw_8225v2b_rf_init(struct urtw_softc *);
static usb_error_t urtw_8225v2b_rf_set_chan(struct urtw_softc *, int);
static usb_error_t urtw_read8e(struct urtw_softc *, int, uint8_t *);
static usb_error_t urtw_write8e(struct urtw_softc *, int, uint8_t);
static usb_error_t urtw_8180_set_anaparam(struct urtw_softc *, uint32_t);
static usb_error_t urtw_8185_set_anaparam2(struct urtw_softc *, uint32_t);
static usb_error_t urtw_intr_enable(struct urtw_softc *);
static usb_error_t urtw_intr_disable(struct urtw_softc *);
static usb_error_t urtw_reset(struct urtw_softc *);
static usb_error_t urtw_led_on(struct urtw_softc *, int);
static usb_error_t urtw_led_ctl(struct urtw_softc *, int);
static usb_error_t urtw_led_blink(struct urtw_softc *);
static usb_error_t urtw_led_mode0(struct urtw_softc *, int);
static usb_error_t urtw_led_mode1(struct urtw_softc *, int);
static usb_error_t urtw_led_mode2(struct urtw_softc *, int);
static usb_error_t urtw_led_mode3(struct urtw_softc *, int);
static usb_error_t urtw_rx_setconf(struct urtw_softc *);
static usb_error_t urtw_rx_enable(struct urtw_softc *);
static usb_error_t urtw_tx_enable(struct urtw_softc *sc);
static void urtw_free_tx_data_list(struct urtw_softc *);
static void urtw_free_rx_data_list(struct urtw_softc *);
static void urtw_free_data_list(struct urtw_softc *,
static usb_error_t urtw_set_macaddr(struct urtw_softc *, const uint8_t *);
static usb_error_t urtw_adapter_start(struct urtw_softc *);
static usb_error_t urtw_adapter_start_b(struct urtw_softc *);
static usb_error_t urtw_set_mode(struct urtw_softc *, uint32_t);
static usb_error_t urtw_8187b_cmd_reset(struct urtw_softc *);
static usb_error_t urtw_do_request(struct urtw_softc *,
static usb_error_t urtw_8225v2b_set_txpwrlvl(struct urtw_softc *, int);
static usb_error_t urtw_led_off(struct urtw_softc *, int);
static void urtw_abort_xfers(struct urtw_softc *);
urtw_getbuf(struct urtw_softc *sc);
static void urtw_sysctl_node(struct urtw_softc *);
struct urtw_softc *sc = device_get_softc(dev);
struct urtw_softc *sc = device_get_softc(dev);
urtw_free_tx_data_list(struct urtw_softc *sc)
urtw_free_rx_data_list(struct urtw_softc *sc)
urtw_free_data_list(struct urtw_softc *sc, struct urtw_data data[], int ndata,
usb_error_t (*sc_rf_init)(struct urtw_softc *);
usb_error_t (*sc_rf_set_chan)(struct urtw_softc *,
usb_error_t (*sc_rf_set_sens)(struct urtw_softc *,
usb_error_t (*sc_rf_stop)(struct urtw_softc *);
struct urtw_softc *sc;