mwx_softc
struct mwx_softc *sc = arg;
mwx_preinit(struct mwx_softc *sc)
struct mwx_softc *sc = (void *)self;
struct mwx_softc *sc = (struct mwx_softc *)self;
sizeof(struct mwx_softc), mwx_match, mwx_attach,
mwx_reset(struct mwx_softc *sc)
struct mwx_softc *sc = arg;
mwx_txwi_alloc(struct mwx_softc *sc, int count)
mwx_txwi_free(struct mwx_softc *sc)
mwx_txwi_get(struct mwx_softc *sc)
mwx_txwi_put(struct mwx_softc *sc, struct mwx_txwi *mt)
mwx_txwi_enqueue(struct mwx_softc *sc, struct mwx_txwi *mt, struct mbuf *m)
mwx_queue_alloc(struct mwx_softc *sc, struct mwx_queue *q, int count,
mwx_queue_free(struct mwx_softc *sc, struct mwx_queue *q)
mwx_queue_reset(struct mwx_softc *sc, struct mwx_queue *q)
mwx_buf_fill(struct mwx_softc *sc, struct mwx_queue_data *md,
mwx_queue_fill(struct mwx_softc *sc, struct mwx_queue *q)
mwx_dma_alloc(struct mwx_softc *sc)
mwx_dma_reset(struct mwx_softc *sc, int fullreset)
mwx_dma_free(struct mwx_softc *sc)
mwx_dma_tx_enqueue(struct mwx_softc *sc, struct mwx_queue *q, struct mbuf *m)
mwx_dma_txwi_enqueue(struct mwx_softc *sc, struct mwx_queue *q,
mwx_dma_tx_cleanup(struct mwx_softc *sc, struct mwx_queue *q)
mwx_dma_tx_done(struct mwx_softc *sc)
mwx_dma_rx_process(struct mwx_softc *sc, struct mbuf_list *ml)
mwx_dma_rx_dequeue(struct mwx_softc *sc, struct mwx_queue *q,
mwx_dma_rx_done(struct mwx_softc *sc, struct mwx_queue *q)
mwx_mcu_send_mbuf(struct mwx_softc *sc, uint32_t cmd, struct mbuf *m, int *seqp)
mwx_mcu_send_msg(struct mwx_softc *sc, uint32_t cmd, void *data, size_t len,
mwx_mcu_send_wait(struct mwx_softc *sc, uint32_t cmd, void *data, size_t len)
mwx_mcu_send_mbuf_wait(struct mwx_softc *sc, uint32_t cmd, struct mbuf *m)
mwx_mcu_rx_event(struct mwx_softc *sc, struct mbuf *m)
mwx_mcu_wait_resp_int(struct mwx_softc *sc, uint32_t cmd, int seq,
mwx_mcu_wait_resp_msg(struct mwx_softc *sc, uint32_t cmd, int seq,
mt7921_dma_disable(struct mwx_softc *sc, int force)
mt7921_dma_enable(struct mwx_softc *sc)
mt7921_e_mcu_fw_pmctrl(struct mwx_softc *sc)
mt7921_e_mcu_drv_pmctrl(struct mwx_softc *sc)
mt7921_wfsys_reset(struct mwx_softc *sc)
mt7921_reg_addr(struct mwx_softc *sc, uint32_t reg)
mt7921_init_hardware(struct mwx_softc *sc)
mt7921_mcu_init(struct mwx_softc *sc)
mt7921_get_data_mode(struct mwx_softc *sc, uint32_t info)
mt7921_load_firmware(struct mwx_softc *sc)
mt7921_mac_wtbl_update(struct mwx_softc *sc, int idx)
mt7921_mac_init_band(struct mwx_softc *sc, uint32_t band)
mt7921_mac_init(struct mwx_softc *sc)
mt7921_mcu_patch_sem_ctrl(struct mwx_softc *sc, int semget)
mt7921_mcu_init_download(struct mwx_softc *sc, uint32_t addr,
mt7921_mcu_send_firmware(struct mwx_softc *sc, int cmd, u_char *data,
mt7921_mcu_start_patch(struct mwx_softc *sc)
mt7921_mcu_start_firmware(struct mwx_softc *sc, uint32_t addr, uint32_t option)
mt7921_mcu_get_nic_capability(struct mwx_softc *sc)
mt7921_mcu_fw_log_2_host(struct mwx_softc *sc, uint8_t ctrl)
mt7921_mcu_set_eeprom(struct mwx_softc *sc)
void mwx_radiotap_attach(struct mwx_softc *);
mt7921_mcu_set_rts_thresh(struct mwx_softc *sc, uint32_t val, uint8_t band)
mt7921_mcu_set_deep_sleep(struct mwx_softc *sc, int ena)
mt7921_mcu_low_power_event(struct mwx_softc *sc, struct mbuf *m)
mt7921_mcu_tx_done_event(struct mwx_softc *sc, struct mbuf *m)
int mwx_tx(struct mwx_softc *, struct mbuf *, struct ieee80211_node *);
void mwx_rx(struct mwx_softc *, struct mbuf *, struct mbuf_list *);
mt7921_mcu_hw_scan(struct mwx_softc *sc, int bgscan)
int mwx_preinit(struct mwx_softc *);
void mwx_reset(struct mwx_softc *);
int mwx_txwi_alloc(struct mwx_softc *, int);
void mwx_txwi_free(struct mwx_softc *);
mt7921_mcu_hw_scan_cancel(struct mwx_softc *sc)
struct mwx_txwi *mwx_txwi_get(struct mwx_softc *);
void mwx_txwi_put(struct mwx_softc *, struct mwx_txwi *);
int mwx_txwi_enqueue(struct mwx_softc *, struct mwx_txwi *, struct mbuf *);
struct mwx_softc *sc = arg;
int mwx_queue_alloc(struct mwx_softc *, struct mwx_queue *, int, uint32_t);
mt7921_mcu_scan_event(struct mwx_softc *sc, struct mbuf *m)
mt7921_mcu_set_mac_enable(struct mwx_softc *sc, int band, int enable)
void mwx_queue_free(struct mwx_softc *, struct mwx_queue *);
void mwx_queue_reset(struct mwx_softc *, struct mwx_queue *);
mt7921_mcu_set_channel_domain(struct mwx_softc *sc)
int mwx_buf_fill(struct mwx_softc *, struct mwx_queue_data *,
int mwx_queue_fill(struct mwx_softc *, struct mwx_queue *);
int mwx_dma_alloc(struct mwx_softc *);
int mwx_dma_reset(struct mwx_softc *, int);
void mwx_dma_free(struct mwx_softc *);
int mwx_dma_tx_enqueue(struct mwx_softc *, struct mwx_queue *,
int mwx_dma_txwi_enqueue(struct mwx_softc *, struct mwx_queue *,
void mwx_dma_tx_cleanup(struct mwx_softc *, struct mwx_queue *);
mt7921_mcu_set_chan_info(struct mwx_softc *sc, int cmd)
void mwx_dma_tx_done(struct mwx_softc *);
void mwx_dma_rx_process(struct mwx_softc *, struct mbuf_list *);
void mwx_dma_rx_dequeue(struct mwx_softc *, struct mwx_queue *,
void mwx_dma_rx_done(struct mwx_softc *, struct mwx_queue *);
mt7921_mcu_build_sku(struct mwx_softc *sc, int band, int8_t *sku)
int mwx_mcu_send_mbuf(struct mwx_softc *, uint32_t, struct mbuf *, int *);
int mwx_mcu_send_msg(struct mwx_softc *, uint32_t, void *, size_t, int *);
int mwx_mcu_send_wait(struct mwx_softc *, uint32_t, void *, size_t);
mt7921_mcu_rate_txpower_band(struct mwx_softc *sc, int band,
int mwx_mcu_send_mbuf_wait(struct mwx_softc *, uint32_t, struct mbuf *);
void mwx_mcu_rx_event(struct mwx_softc *, struct mbuf *);
int mwx_mcu_wait_resp_int(struct mwx_softc *, uint32_t, int, uint32_t *);
int mwx_mcu_wait_resp_msg(struct mwx_softc *, uint32_t, int,
mt7921_mcu_set_rate_txpower(struct mwx_softc *sc)
int mt7921_dma_disable(struct mwx_softc *sc, int force);
void mt7921_dma_enable(struct mwx_softc *sc);
int mt7921_e_mcu_fw_pmctrl(struct mwx_softc *);
mt7921_mac_reset_counters(struct mwx_softc *sc)
int mt7921_e_mcu_drv_pmctrl(struct mwx_softc *);
int mt7921_wfsys_reset(struct mwx_softc *sc);
mt7921_mac_set_timing(struct mwx_softc *sc)
uint32_t mt7921_reg_addr(struct mwx_softc *, uint32_t);
int mt7921_init_hardware(struct mwx_softc *);
int mt7921_mcu_init(struct mwx_softc *);
int mt7921_load_firmware(struct mwx_softc *);
mt7921_mcu_uni_add_dev(struct mwx_softc *sc, struct mwx_vif *mvif,
int mt7921_mac_wtbl_update(struct mwx_softc *, int);
void mt7921_mac_init_band(struct mwx_softc *sc, uint32_t);
int mt7921_mac_init(struct mwx_softc *);
int mt7921_mcu_patch_sem_ctrl(struct mwx_softc *, int);
int mt7921_mcu_init_download(struct mwx_softc *, uint32_t,
int mt7921_mcu_send_firmware(struct mwx_softc *, int,
int mt7921_mcu_start_patch(struct mwx_softc *);
int mt7921_mcu_start_firmware(struct mwx_softc *, uint32_t,
mt7921_mcu_set_sniffer(struct mwx_softc *sc, int enable)
int mt7921_mcu_get_nic_capability(struct mwx_softc *);
int mt7921_mcu_fw_log_2_host(struct mwx_softc *, uint8_t);
mt7921_mcu_set_beacon_filter(struct mwx_softc *sc, int enable)
int mt7921_mcu_set_eeprom(struct mwx_softc *);
int mt7921_mcu_set_rts_thresh(struct mwx_softc *, uint32_t,
mt7921_mcu_set_bss_pm(struct mwx_softc *sc, int enable)
int mt7921_mcu_set_deep_sleep(struct mwx_softc *, int);
void mt7921_mcu_low_power_event(struct mwx_softc *, struct mbuf *);
void mt7921_mcu_tx_done_event(struct mwx_softc *, struct mbuf *);
mt7921_mcu_set_tx(struct mwx_softc *sc, struct mwx_vif *mvif)
void mt7921_mcu_scan_event(struct mwx_softc *, struct mbuf *);
int mt7921_mcu_hw_scan(struct mwx_softc *, int);
int mt7921_mcu_hw_scan_cancel(struct mwx_softc *);
int mt7921_mcu_set_mac_enable(struct mwx_softc *, int, int);
int mt7921_mcu_set_channel_domain(struct mwx_softc *);
int mt7921_mcu_set_chan_info(struct mwx_softc *, int);
void mt7921_mcu_build_sku(struct mwx_softc *, int, int8_t *);
int mt7921_mcu_rate_txpower_band(struct mwx_softc *, int,
mt7921_mac_fill_rx(struct mwx_softc *sc, struct mbuf *m,
int mt7921_mcu_set_rate_txpower(struct mwx_softc *);
void mt7921_mac_reset_counters(struct mwx_softc *);
void mt7921_mac_set_timing(struct mwx_softc *);
int mt7921_mcu_uni_add_dev(struct mwx_softc *, struct mwx_vif *,
int mt7921_mcu_set_sniffer(struct mwx_softc *, int);
int mt7921_mcu_set_beacon_filter(struct mwx_softc *, int);
int mt7921_mcu_set_bss_pm(struct mwx_softc *, int);
int mt7921_mcu_set_tx(struct mwx_softc *, struct mwx_vif *);
int mt7921_mac_fill_rx(struct mwx_softc *, struct mbuf *,
uint32_t mt7921_mac_tx_rate_val(struct mwx_softc *);
void mt7921_mac_write_txwi_80211(struct mwx_softc *, struct mbuf *,
void mt7921_mac_write_txwi(struct mwx_softc *, struct mbuf *,
void mt7921_mac_tx_free(struct mwx_softc *, struct mbuf *);
int mt7921_set_channel(struct mwx_softc *);
uint8_t mt7921_get_phy_mode_v2(struct mwx_softc *,
struct mwx_softc *, struct ieee80211_node *, int, int);
struct mwx_softc *, struct ieee80211_node *, int, int);
struct mwx_softc *, struct ieee80211_node *);
struct mwx_softc *, struct ieee80211_node *);
mt7921_mac_tx_rate_val(struct mwx_softc *sc)
struct mwx_softc *, struct ieee80211_node *);
int mt7921_mac_sta_update(struct mwx_softc *,
mt7921_mac_write_txwi_80211(struct mwx_softc *sc, struct mbuf *m,
mwx_read(struct mwx_softc *sc, uint32_t reg)
mwx_write(struct mwx_softc *sc, uint32_t reg, uint32_t val)
mt7921_mac_write_txwi(struct mwx_softc *sc, struct mbuf *m,
mwx_barrier(struct mwx_softc *sc)
mt7921_mac_tx_free(struct mwx_softc *sc, struct mbuf *m)
mwx_rmw(struct mwx_softc *sc, uint32_t reg, uint32_t val, uint32_t mask)
mt7921_set_channel(struct mwx_softc *sc)
mt7921_get_phy_mode_v2(struct mwx_softc *sc, struct ieee80211_node *ni)
mwx_set(struct mwx_softc *sc, uint32_t reg, uint32_t bits)
mt7921_mcu_add_basic_tlv(struct mbuf *m, uint16_t *tlvnum, struct mwx_softc *sc,
mt7921_mcu_add_sta_tlv(struct mbuf *m, uint16_t *tlvnum, struct mwx_softc *sc,
mwx_clear(struct mwx_softc *sc, uint32_t reg, uint32_t bits)
mwx_map_reg_l1(struct mwx_softc *sc, uint32_t reg)
struct mwx_softc *sc, struct ieee80211_node *ni)
struct mwx_softc *sc, struct ieee80211_node *ni)
struct mwx_softc *sc, struct ieee80211_node *ni)
mt7921_mac_sta_update(struct mwx_softc *sc, struct ieee80211_node *ni,
mwx_poll(struct mwx_softc *sc, uint32_t reg, uint32_t val, uint32_t mask,
struct mwx_softc *sc = ifp->if_softc;
struct mwx_softc *sc = ifp->if_softc;
struct mwx_softc *sc = ifp->if_softc;
struct mwx_softc *sc = ifp->if_softc;
struct mwx_softc *sc = ic->ic_softc;
struct mwx_softc *sc = ic->ic_softc;
struct mwx_softc *sc = ic->ic_softc;
mwx_scan(struct mwx_softc *sc)
struct mwx_softc *sc = ic->ic_softc;
mwx_radiotap_attach(struct mwx_softc *sc)
mwx_tx(struct mwx_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
mwx_rx(struct mwx_softc *sc, struct mbuf *m, struct mbuf_list *ml)