mtw_softc
int mtw_load_microcode(struct mtw_softc *);
mtw_efuse_read_2(struct mtw_softc *sc, uint16_t addr, uint16_t *val)
int mtw_reset(struct mtw_softc *);
int mtw_read(struct mtw_softc *, uint16_t, uint32_t *);
int mtw_read_cfg(struct mtw_softc *, uint16_t, uint32_t *);
int mtw_read_region_1(struct mtw_softc *, uint16_t,
mtw_eeprom_read_2(struct mtw_softc *sc, uint16_t addr, uint16_t *val)
int mtw_write_2(struct mtw_softc *, uint16_t, uint16_t);
mtw_srom_read(struct mtw_softc *sc, uint16_t addr, uint16_t *val)
int mtw_write(struct mtw_softc *, uint16_t, uint32_t);
mtw_rf_read(struct mtw_softc *sc, uint8_t bank, uint8_t reg, uint8_t *val)
int mtw_write_cfg(struct mtw_softc *, uint16_t, uint32_t);
int mtw_write_ivb(struct mtw_softc *, const uint8_t *, uint16_t);
int mtw_write_region_1(struct mtw_softc *, uint16_t,
mtw_rf_write(struct mtw_softc *sc, uint8_t bank, uint8_t reg, uint8_t val)
int mtw_set_region_4(struct mtw_softc *, uint16_t, uint32_t, int);
int mtw_efuse_read_2(struct mtw_softc *, uint16_t, uint16_t *);
mtw_bbp_read(struct mtw_softc *sc, uint8_t reg, uint8_t *val)
int mtw_eeprom_read_2(struct mtw_softc *, uint16_t, uint16_t *);
int mtw_rf_read(struct mtw_softc *, uint8_t, uint8_t, uint8_t *);
int mtw_rf_write(struct mtw_softc *, uint8_t, uint8_t, uint8_t);
int mtw_bbp_read(struct mtw_softc *, uint8_t, uint8_t *);
mtw_bbp_write(struct mtw_softc *sc, uint8_t reg, uint8_t val)
int mtw_bbp_write(struct mtw_softc *, uint8_t, uint8_t);
mtw_usb_dma_read(struct mtw_softc *sc, uint32_t *val)
int mtw_usb_dma_read(struct mtw_softc *, uint32_t *);
mtw_usb_dma_write(struct mtw_softc *sc, uint32_t val)
int mtw_usb_dma_write(struct mtw_softc *, uint32_t);
mtw_mcu_calibrate(struct mtw_softc *sc, int func, uint32_t val)
int mtw_mcu_calibrate(struct mtw_softc *, int, uint32_t);
mtw_mcu_channel(struct mtw_softc *sc, uint32_t r1, uint32_t r2, uint32_t r4)
int mtw_mcu_channel(struct mtw_softc *, uint32_t, uint32_t, uint32_t);
mtw_mcu_radio(struct mtw_softc *sc, int func, uint32_t val)
int mtw_mcu_radio(struct mtw_softc *, int, uint32_t);
int mtw_mcu_cmd(struct mtw_softc *, int, void *, int);
mtw_mcu_cmd(struct mtw_softc *sc, int cmd, void *buf, int len)
void mtw_get_txpower(struct mtw_softc *);
int mtw_read_eeprom(struct mtw_softc *);
mtw_get_txpower(struct mtw_softc *sc)
void mtw_do_async(struct mtw_softc *, void (*)(struct mtw_softc *,
mtw_read_eeprom(struct mtw_softc *sc)
void mtw_newstate_cb(struct mtw_softc *, void *);
void mtw_updateedca_cb(struct mtw_softc *, void *);
void mtw_updateslot_cb(struct mtw_softc *, void *);
void mtw_set_key_cb(struct mtw_softc *, void *);
void mtw_delete_key_cb(struct mtw_softc *, void *);
void mtw_calibrate_cb(struct mtw_softc *, void *);
void mtw_rx_frame(struct mtw_softc *, uint8_t *, int,
struct mtw_softc *sc = ifp->if_softc;
int mtw_tx(struct mtw_softc *, struct mbuf *,
struct mtw_softc *sc = arg;
struct mtw_softc *sc = arg;
mtw_do_async(struct mtw_softc *sc, void (*cb)(struct mtw_softc *, void *),
void mtw_select_chan_group(struct mtw_softc *, int);
void mt7601_set_agc(struct mtw_softc *, uint8_t);
struct mtw_softc *sc = ic->ic_softc;
void mt7601_set_chan(struct mtw_softc *, u_int);
mtw_newstate_cb(struct mtw_softc *sc, void *arg)
int mtw_set_chan(struct mtw_softc *, struct ieee80211_channel *);
void mtw_enable_tsf_sync(struct mtw_softc *);
void mtw_abort_tsf_sync(struct mtw_softc *);
void mtw_enable_mrr(struct mtw_softc *);
void mtw_set_txrts(struct mtw_softc *);
void mtw_set_txpreamble(struct mtw_softc *);
void mtw_set_basicrates(struct mtw_softc *);
void mtw_set_leds(struct mtw_softc *, uint16_t);
void mtw_set_bssid(struct mtw_softc *, const uint8_t *);
mtw_updateedca_cb(struct mtw_softc *sc, void *arg)
void mtw_set_macaddr(struct mtw_softc *, const uint8_t *);
int8_t mtw_rssi2dbm(struct mtw_softc *, uint8_t, uint8_t);
int mt7601_bbp_init(struct mtw_softc *);
mtw_updateslot_cb(struct mtw_softc *sc, void *arg)
int mt7601_rf_init(struct mtw_softc *);
struct mtw_softc *sc = ic->ic_softc;
int mt7601_rf_setup(struct mtw_softc *);
int mt7601_rf_temperature(struct mtw_softc *, int8_t *);
mtw_set_key_cb(struct mtw_softc *sc, void *arg)
int mt7601_r49_read(struct mtw_softc *, uint8_t, int8_t *);
int mt7601_rxdc_cal(struct mtw_softc *);
int mtw_wlan_enable(struct mtw_softc *, int);
int mtw_txrx_enable(struct mtw_softc *);
struct mtw_softc *sc = ic->ic_softc;
sizeof (struct mtw_softc), mtw_match, mtw_attach, mtw_detach
mtw_delete_key_cb(struct mtw_softc *sc, void *arg)
mtw_calibrate_cb(struct mtw_softc *sc, void *arg)
struct mtw_softc *sc = ic->ic_softc;
mtw_maxrssi_chain(struct mtw_softc *sc, const struct mtw_rxwi *rxwi)
mtw_rx_frame(struct mtw_softc *sc, uint8_t *buf, int dmalen,
struct mtw_softc *sc = data->sc;
struct mtw_softc *sc = data->sc;
mtw_tx(struct mtw_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
struct mtw_softc *sc = ifp->if_softc;
struct mtw_softc *sc = (struct mtw_softc *)self;
struct mtw_softc *sc = ifp->if_softc;
struct mtw_softc *sc = ifp->if_softc;
mtw_select_chan_group(struct mtw_softc *sc, int group)
mt7601_set_agc(struct mtw_softc *sc, uint8_t agc)
mt7601_set_chan(struct mtw_softc *sc, u_int chan)
mtw_set_chan(struct mtw_softc *sc, struct ieee80211_channel *c)
mtw_enable_tsf_sync(struct mtw_softc *sc)
mtw_abort_tsf_sync(struct mtw_softc *sc)
mtw_enable_mrr(struct mtw_softc *sc)
mtw_set_txrts(struct mtw_softc *sc)
mtw_set_txpreamble(struct mtw_softc *sc)
mtw_set_basicrates(struct mtw_softc *sc)
mtw_set_leds(struct mtw_softc *sc, uint16_t which)
mtw_set_bssid(struct mtw_softc *sc, const uint8_t *bssid)
mtw_set_macaddr(struct mtw_softc *sc, const uint8_t *addr)
mtw_rssi2dbm(struct mtw_softc *sc, uint8_t rssi, uint8_t rxchain)
mt7601_bbp_init(struct mtw_softc *sc)
mt7601_rf_init(struct mtw_softc *sc)
mt7601_rf_setup(struct mtw_softc *sc)
mt7601_rf_temperature(struct mtw_softc *sc, int8_t *val)
mt7601_r49_read(struct mtw_softc *sc, uint8_t flag, int8_t *val)
mt7601_rxdc_cal(struct mtw_softc *sc)
mtw_wlan_enable(struct mtw_softc *sc, int enable)
mtw_txrx_enable(struct mtw_softc *sc)
struct mtw_softc *sc = ifp->if_softc;
struct mtw_softc *sc = (struct mtw_softc *)self;
struct mtw_softc *sc = ifp->if_softc;
struct mtw_softc *sc = (struct mtw_softc *)self;
mtw_open_pipes(struct mtw_softc *sc)
mtw_close_pipes(struct mtw_softc *sc)
mtw_alloc_rx_ring(struct mtw_softc *sc, int qid)
mtw_free_rx_ring(struct mtw_softc *sc, int qid)
mtw_alloc_tx_ring(struct mtw_softc *sc, int qid)
mtw_free_tx_ring(struct mtw_softc *sc, int qid)
mtw_alloc_mcu_ring(struct mtw_softc *sc)
mtw_free_mcu_ring(struct mtw_softc *sc)
mtw_ucode_write(struct mtw_softc *sc, const uint8_t *fw, uint32_t len,
mtw_ucode_setup(struct mtw_softc *sc)
mtw_load_microcode(struct mtw_softc *sc)
mtw_reset(struct mtw_softc *sc)
mtw_read(struct mtw_softc *sc, uint16_t reg, uint32_t *val)
int mtw_open_pipes(struct mtw_softc *);
mtw_read_cfg(struct mtw_softc *sc, uint16_t reg, uint32_t *val)
void mtw_close_pipes(struct mtw_softc *);
int mtw_alloc_rx_ring(struct mtw_softc *, int);
mtw_read_region_1(struct mtw_softc *sc, uint16_t reg,
void mtw_free_rx_ring(struct mtw_softc *, int);
mtw_write_2(struct mtw_softc *sc, uint16_t reg, uint16_t val)
int mtw_alloc_tx_ring(struct mtw_softc *, int);
void mtw_free_tx_ring(struct mtw_softc *, int);
mtw_write(struct mtw_softc *sc, uint16_t reg, uint32_t val)
int mtw_alloc_mcu_ring(struct mtw_softc *);
mtw_write_cfg(struct mtw_softc *sc, uint16_t reg, uint32_t val)
void mtw_free_mcu_ring(struct mtw_softc *);
mtw_write_ivb(struct mtw_softc *sc, const uint8_t *buf, uint16_t len)
int mtw_ucode_write(struct mtw_softc *, const uint8_t *,
mtw_write_region_1(struct mtw_softc *sc, uint16_t reg,
void mtw_ucode_setup(struct mtw_softc *);
mtw_set_region_4(struct mtw_softc *sc, uint16_t reg, uint32_t val, int count)
void (*cb)(struct mtw_softc *, void *);
struct mtw_softc *sc;
int (*sc_srom_read)(struct mtw_softc *,
struct mtw_softc;
struct mtw_softc *sc;
struct mtw_softc *sc;