mtw_softc
mtw_usb_dma_write(struct mtw_softc *sc, uint32_t val)
mtw_ucode_setup(struct mtw_softc *sc)
mtw_ucode_write(struct mtw_softc *sc, const uint8_t *fw, const uint8_t *ivb,
struct mtw_softc *sc = (struct mtw_softc *)arg;
mtw_do_request(struct mtw_softc *sc, struct usb_device_request *req, void *data)
mtw_read(struct mtw_softc *sc, uint16_t reg, uint32_t *val)
mtw_read_region_1(struct mtw_softc *sc, uint16_t reg, uint8_t *buf, int len)
mtw_write_2(struct mtw_softc *sc, uint16_t reg, uint16_t val)
mtw_write(struct mtw_softc *sc, uint16_t reg, uint32_t val)
mtw_write_region_1(struct mtw_softc *sc, uint16_t reg, uint8_t *buf, int len)
mtw_set_region_4(struct mtw_softc *sc, uint16_t reg, uint32_t val, int count)
mtw_efuse_read_2(struct mtw_softc *sc, uint16_t addr, uint16_t *val)
mtw_srom_read(struct mtw_softc *sc, uint16_t addr, uint16_t *val)
mtw_bbp_read(struct mtw_softc *sc, uint8_t reg, uint8_t *val)
mtw_bbp_write(struct mtw_softc *sc, uint8_t reg, uint8_t val)
mtw_mcu_cmd(struct mtw_softc *sc, u_int8_t cmd, void *buf, int len)
mtw_get_txpower(struct mtw_softc *sc)
mtw_read_eeprom(struct mtw_softc *sc)
struct mtw_softc *sc = ic->ic_softc;
static void mtw_setup_tx_list(struct mtw_softc *, struct mtw_endpoint_queue *);
mtw_set_leds(struct mtw_softc *sc, uint16_t which)
static void mtw_unsetup_tx_list(struct mtw_softc *,
mtw_abort_tsf_sync(struct mtw_softc *sc)
struct mtw_softc *sc = ic->ic_softc;
static usb_error_t mtw_do_request(struct mtw_softc *,
static int mtw_read(struct mtw_softc *, uint16_t, uint32_t *);
static int mtw_read_region_1(struct mtw_softc *, uint16_t, uint8_t *, int);
static int mtw_write_2(struct mtw_softc *, uint16_t, uint16_t);
static int mtw_write(struct mtw_softc *, uint16_t, uint32_t);
static int mtw_write_region_1(struct mtw_softc *, uint16_t, uint8_t *, int);
static int mtw_set_region_4(struct mtw_softc *, uint16_t, uint32_t, int);
static int mtw_efuse_read_2(struct mtw_softc *, uint16_t, uint16_t *);
static int mtw_bbp_read(struct mtw_softc *, uint8_t, uint8_t *);
struct mtw_softc *sc = ic->ic_softc;
static int mtw_bbp_write(struct mtw_softc *, uint8_t, uint8_t);
static int mtw_mcu_cmd(struct mtw_softc *sc, uint8_t cmd, void *buf, int len);
static void mtw_get_txpower(struct mtw_softc *);
static int mtw_read_eeprom(struct mtw_softc *);
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
static int mtw_mcu_radio(struct mtw_softc *sc, int func, uint32_t val);
struct mtw_softc *sc = cmdq->arg1;
static void mtw_rx_frame(struct mtw_softc *, struct mbuf *, uint32_t);
struct mtw_softc *sc = ic->ic_softc;
static void mtw_set_tx_desc(struct mtw_softc *, struct mtw_tx_data *);
struct mtw_softc *sc = arg;
static int mtw_tx(struct mtw_softc *, struct mbuf *, struct ieee80211_node *);
struct mtw_softc *sc = arg;
static int mtw_tx_mgt(struct mtw_softc *, struct mbuf *,
struct mtw_softc *sc = arg;
static int mtw_sendprot(struct mtw_softc *, const struct mbuf *,
static int mtw_tx_param(struct mtw_softc *, struct mbuf *,
struct mtw_softc *sc = arg;
static void mtw_start(struct mtw_softc *);
static void mtw_select_chan_group(struct mtw_softc *, int);
static int mtw_set_chan(struct mtw_softc *, struct ieee80211_channel *);
struct mtw_softc *sc = ni->ni_vap->iv_ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
mtw_maxrssi_chain(struct mtw_softc *sc, const struct mtw_rxwi *rxwi)
static int mtw_reset(struct mtw_softc *sc);
mtw_get_tsf(struct mtw_softc *sc, uint64_t *buf)
static void mtw_enable_tsf_sync(struct mtw_softc *);
struct mtw_softc *sc = vap->iv_ic->ic_softc;
mtw_rx_frame(struct mtw_softc *sc, struct mbuf *m, uint32_t dmalen)
static void mtw_enable_mrr(struct mtw_softc *);
static void mtw_set_txpreamble(struct mtw_softc *);
static void mtw_set_basicrates(struct mtw_softc *);
static void mtw_set_leds(struct mtw_softc *, uint16_t);
static void mtw_set_bssid(struct mtw_softc *, const uint8_t *);
static void mtw_set_macaddr(struct mtw_softc *, const uint8_t *);
static int8_t mtw_rssi2dbm(struct mtw_softc *, uint8_t, uint8_t);
static void mtw_update_promisc_locked(struct mtw_softc *);
static int mtw_txrx_enable(struct mtw_softc *);
static void mtw_init_locked(struct mtw_softc *);
static void mtw_delay(struct mtw_softc *, u_int);
struct mtw_softc *sc = usbd_xfer_softc(xfer);
struct mtw_softc *sc = usbd_xfer_softc(xfer);
struct mtw_softc *sc = usbd_xfer_softc(xfer);
mtw_set_tx_desc(struct mtw_softc *sc, struct mtw_tx_data *data)
mtw_tx(struct mtw_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
mtw_tx_mgt(struct mtw_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
mtw_sendprot(struct mtw_softc *sc, const struct mbuf *m,
mtw_tx_param(struct mtw_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
struct mtw_softc *sc = ni->ni_ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
mtw_start(struct mtw_softc *sc)
struct mtw_softc *sc = ic->ic_softc;
mt7601_set_agc(struct mtw_softc *sc, uint8_t agc)
mtw_mcu_calibrate(struct mtw_softc *sc, int func, uint32_t val)
mtw_rf_write(struct mtw_softc *sc, uint8_t bank, uint8_t reg, uint8_t val)
mtw_select_chan_group(struct mtw_softc *sc, int group)
mtw_rf_read(struct mtw_softc *sc, uint8_t bank, uint8_t reg, uint8_t *val)
mt7601_set_chan(struct mtw_softc *sc, u_int chan)
mtw_set_chan(struct mtw_softc *sc, struct ieee80211_channel *c)
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = vap->iv_ic->ic_softc;
static int mtw_reset(struct mtw_softc *sc)
mtw_update_promisc_locked(struct mtw_softc *sc)
struct mtw_softc *sc = ic->ic_softc;
mtw_enable_tsf_sync(struct mtw_softc *sc)
mtw_enable_mrr(struct mtw_softc *sc)
mtw_set_txpreamble(struct mtw_softc *sc)
mtw_set_basicrates(struct mtw_softc *sc)
mtw_set_bssid(struct mtw_softc *sc, const uint8_t *bssid)
mtw_set_macaddr(struct mtw_softc *sc, const uint8_t *addr)
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc = ic->ic_softc;
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)
mtw_txrx_enable(struct mtw_softc *sc)
mt7601_rxdc_cal(struct mtw_softc *sc)
mt7601_r49_read(struct mtw_softc *sc, uint8_t flag, int8_t *val)
mt7601_rf_temperature(struct mtw_softc *sc, int8_t *val)
mt7601_rf_setup(struct mtw_softc *sc)
mtw_wlan_enable(struct mtw_softc *sc, int enable)
mtw_set_txrts(struct mtw_softc *sc)
mtw_mcu_radio(struct mtw_softc *sc, int func, uint32_t val)
mtw_init_locked(struct mtw_softc *sc)
struct mtw_softc *sc = (struct mtw_softc *)arg;
mtw_delay(struct mtw_softc *sc, u_int ms)
.size = sizeof(struct mtw_softc) };
mtw_read_cfg(struct mtw_softc *sc, uint16_t reg, uint32_t *val)
struct mtw_softc *sc = device_get_softc(self);
mtw_drain_mbufq(struct mtw_softc *sc)
struct mtw_softc *sc = device_get_softc(self);
struct mtw_softc *sc = ic->ic_softc;
struct mtw_softc *sc;
struct mtw_softc *sc = arg;
mtw_setup_tx_list(struct mtw_softc *sc, struct mtw_endpoint_queue *pq)
mtw_unsetup_tx_list(struct mtw_softc *sc, struct mtw_endpoint_queue *pq)
mtw_write_ivb(struct mtw_softc *sc, void *buf, uint16_t len)
mtw_write_cfg(struct mtw_softc *sc, uint16_t reg, uint32_t val)
struct mtw_softc *sc;
struct mtw_softc *sc;
void (*cb)(struct mtw_softc *, void *);
struct mtw_softc *sc;
int (*sc_srom_read)(struct mtw_softc *,
struct mtw_softc;