Lines Matching refs:mwl_softc

89 static int	mwl_setupdma(struct mwl_softc *);
90 static int mwl_hal_reset(struct mwl_softc *sc);
91 static int mwl_init(struct mwl_softc *);
94 static void mwl_stop(struct mwl_softc *);
95 static void mwl_start(struct mwl_softc *);
115 static int mwl_mode_init(struct mwl_softc *);
125 static int mwl_dma_setup(struct mwl_softc *);
126 static void mwl_dma_cleanup(struct mwl_softc *);
135 static int mwl_rxbuf_init(struct mwl_softc *, struct mwl_rxbuf *);
137 static void mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *, int);
138 static int mwl_tx_setup(struct mwl_softc *, int, int);
140 static void mwl_tx_cleanupq(struct mwl_softc *, struct mwl_txq *);
141 static void mwl_tx_cleanup(struct mwl_softc *);
143 static int mwl_tx_start(struct mwl_softc *, struct ieee80211_node *,
146 static int mwl_chan_set(struct mwl_softc *, struct ieee80211_channel *);
147 static void mwl_draintxq(struct mwl_softc *);
148 static void mwl_cleartxq(struct mwl_softc *, struct ieee80211vap *);
160 static int mwl_startrecv(struct mwl_softc *);
171 static int allocstaid(struct mwl_softc *sc, int aid);
172 static void delstaid(struct mwl_softc *sc, int staid);
180 static int mwl_getchannels(struct mwl_softc *);
182 static void mwl_sysctlattach(struct mwl_softc *);
183 static void mwl_announce(struct mwl_softc *);
275 RD4(struct mwl_softc *sc, bus_size_t off) in RD4()
282 WR4(struct mwl_softc *sc, bus_size_t off, uint32_t val) in WR4()
288 mwl_attach(uint16_t devid, struct mwl_softc *sc) in mwl_attach()
525 mwl_detach(struct mwl_softc *sc) in mwl_detach()
562 assign_address(struct mwl_softc *sc, uint8_t mac[IEEE80211_ADDR_LEN], int clone) in assign_address()
581 reclaim_address(struct mwl_softc *sc, const uint8_t mac[IEEE80211_ADDR_LEN]) in reclaim_address()
594 struct mwl_softc *sc = ic->ic_softc; in mwl_vap_create()
720 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_vap_delete()
758 mwl_suspend(struct mwl_softc *sc) in mwl_suspend()
767 mwl_resume(struct mwl_softc *sc) in mwl_resume()
783 struct mwl_softc *sc = arg; in mwl_shutdown()
796 struct mwl_softc *sc = arg; in mwl_intr()
852 struct mwl_softc *sc = arg; in mwl_radar_proc()
869 struct mwl_softc *sc = arg; in mwl_chanswitch_proc()
893 struct mwl_softc *sc = arg; in mwl_bawatchdog_proc()
966 mwl_setupdma(struct mwl_softc *sc) in mwl_setupdma()
996 mwl_setcurchanrates(struct mwl_softc *sc) in mwl_setcurchanrates()
1109 mwl_hal_reset(struct mwl_softc *sc) in mwl_hal_reset()
1133 mwl_init(struct mwl_softc *sc) in mwl_init()
1190 mwl_stop(struct mwl_softc *sc) in mwl_stop()
1247 struct mwl_softc *sc = ic->ic_softc; in mwl_reset()
1265 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_gettxbuf()
1316 struct mwl_softc *sc = ic->ic_softc; in mwl_transmit()
1335 mwl_start(struct mwl_softc *sc) in mwl_start()
1417 struct mwl_softc *sc = ic->ic_softc; in mwl_raw_xmit()
1483 mwl_keyprint(struct mwl_softc *sc, const char *tag, in mwl_keyprint()
1518 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_key_alloc()
1546 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_key_delete()
1619 struct mwl_softc *sc = vap->iv_ic->ic_softc; in _mwl_key_set()
1720 mwl_setmcastfilter(struct mwl_softc *sc) in mwl_setmcastfilter()
1749 mwl_mode_init(struct mwl_softc *sc) in mwl_mode_init()
1766 struct mwl_softc *sc = ic->ic_softc; in mwl_update_mcast()
1781 struct mwl_softc *sc = ic->ic_softc; in mwl_update_promisc()
1795 struct mwl_softc *sc = ic->ic_softc; in mwl_updateslot()
1917 mwl_desc_setup(struct mwl_softc *sc, const char *name, in mwl_desc_setup()
1990 mwl_desc_cleanup(struct mwl_softc *sc, struct mwl_descdma *dd) in mwl_desc_cleanup()
2007 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txq_reset()
2023 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txdma_setup()
2062 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txdma_cleanup()
2085 mwl_rxdma_setup(struct mwl_softc *sc) in mwl_rxdma_setup()
2190 mwl_rxdma_cleanup(struct mwl_softc *sc) in mwl_rxdma_cleanup()
2209 mwl_dma_setup(struct mwl_softc *sc) in mwl_dma_setup()
2230 mwl_dma_cleanup(struct mwl_softc *sc) in mwl_dma_cleanup()
2243 struct mwl_softc *sc = ic->ic_softc; in mwl_node_alloc()
2260 struct mwl_softc *sc = ic->ic_softc; in mwl_node_cleanup()
2355 struct mwl_softc *sc = ic->ic_softc; in mwl_node_drain()
2446 mwl_getrxdma(struct mwl_softc *sc) in mwl_getrxdma()
2471 mwl_putrxdma(struct mwl_softc *sc, void *data) in mwl_putrxdma()
2484 mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) in mwl_rxbuf_init()
2525 struct mwl_softc *sc = m->m_ext.ext_arg1; in mwl_ext_free()
2607 struct mwl_softc *sc = arg; in mwl_rx_proc()
2826 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) in mwl_txq_init()
2856 mwl_tx_setup(struct mwl_softc *sc, int ac, int mvtype) in mwl_tx_setup()
2880 mwl_txq_update(struct mwl_softc *sc, int ac) in mwl_txq_update()
2915 struct mwl_softc *sc = ic->ic_softc; in mwl_wme_update()
2927 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_cleanupq()
2937 mwl_tx_cleanup(struct mwl_softc *sc) in mwl_tx_cleanup()
2946 mwl_tx_dmasetup(struct mwl_softc *sc, struct mwl_txbuf *bf, struct mbuf *m0) in mwl_tx_dmasetup()
3068 mwl_tx_start(struct mwl_softc *sc, struct ieee80211_node *ni, struct mwl_txbuf *bf, in mwl_tx_start()
3316 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_processq()
3408 struct mwl_softc *sc = arg; in mwl_tx_proc()
3435 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_draintxq()
3482 mwl_draintxq(struct mwl_softc *sc) in mwl_draintxq()
3496 mwl_resettxq(struct mwl_softc *sc) in mwl_resettxq()
3513 mwl_cleartxq(struct mwl_softc *sc, struct ieee80211vap *vap) in mwl_cleartxq()
3537 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_recv_action()
3559 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_request()
3631 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_response()
3697 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_stop()
3716 mwl_startrecv(struct mwl_softc *sc) in mwl_startrecv()
3787 mwl_chan_set(struct mwl_softc *sc, struct ieee80211_channel *chan) in mwl_chan_set()
3846 struct mwl_softc *sc = ic->ic_softc; in mwl_scan_start()
3854 struct mwl_softc *sc = ic->ic_softc; in mwl_scan_end()
3862 struct mwl_softc *sc = ic->ic_softc; in mwl_set_channel()
3877 struct mwl_softc *sc = ic->ic_softc; in mwl_startcsa()
4079 struct mwl_softc *sc = ic->ic_softc; in mwl_newstate()
4231 allocstaid(struct mwl_softc *sc, int aid) in allocstaid()
4247 delstaid(struct mwl_softc *sc, int staid) in delstaid()
4261 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_newassoc()
4293 struct mwl_softc *sc = arg; in mwl_agestations()
4317 struct mwl_softc *sc = ic->ic_softc; in mwl_setregdomain()
4407 getchannels(struct mwl_softc *sc, int maxchans, int *nchans, in getchannels()
4447 struct mwl_softc *sc = ic->ic_softc; in mwl_getradiocaps()
4453 mwl_getchannels(struct mwl_softc *sc) in mwl_getchannels()
4560 struct mwl_softc *sc = arg; in mwl_watchdog()
4590 mwl_ioctl_diag(struct mwl_softc *sc, struct mwl_diag *md) in mwl_ioctl_diag()
4645 mwl_ioctl_reset(struct mwl_softc *sc, struct mwl_diag *md) in mwl_ioctl_reset()
4679 struct mwl_softc *sc = ic->ic_softc; in mwl_parent()
4716 struct mwl_softc *sc = ic->ic_softc; in mwl_ioctl()
4760 struct mwl_softc *sc = arg1; in mwl_sysctl_debug()
4774 mwl_sysctlattach(struct mwl_softc *sc) in mwl_sysctlattach()
4791 mwl_announce(struct mwl_softc *sc) in mwl_announce()