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 *);
272 RD4(struct mwl_softc *sc, bus_size_t off) in RD4()
279 WR4(struct mwl_softc *sc, bus_size_t off, uint32_t val) in WR4()
285 mwl_attach(uint16_t devid, struct mwl_softc *sc) in mwl_attach()
522 mwl_detach(struct mwl_softc *sc) in mwl_detach()
559 assign_address(struct mwl_softc *sc, uint8_t mac[IEEE80211_ADDR_LEN], int clone) in assign_address()
578 reclaim_address(struct mwl_softc *sc, const uint8_t mac[IEEE80211_ADDR_LEN]) in reclaim_address()
591 struct mwl_softc *sc = ic->ic_softc; in mwl_vap_create()
717 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_vap_delete()
755 mwl_suspend(struct mwl_softc *sc) in mwl_suspend()
764 mwl_resume(struct mwl_softc *sc) in mwl_resume()
780 struct mwl_softc *sc = arg; in mwl_shutdown()
793 struct mwl_softc *sc = arg; in mwl_intr()
849 struct mwl_softc *sc = arg; in mwl_radar_proc()
866 struct mwl_softc *sc = arg; in mwl_chanswitch_proc()
890 struct mwl_softc *sc = arg; in mwl_bawatchdog_proc()
963 mwl_setupdma(struct mwl_softc *sc) in mwl_setupdma()
993 mwl_setcurchanrates(struct mwl_softc *sc) in mwl_setcurchanrates()
1106 mwl_hal_reset(struct mwl_softc *sc) in mwl_hal_reset()
1130 mwl_init(struct mwl_softc *sc) in mwl_init()
1187 mwl_stop(struct mwl_softc *sc) in mwl_stop()
1244 struct mwl_softc *sc = ic->ic_softc; in mwl_reset()
1262 mwl_gettxbuf(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_gettxbuf()
1313 struct mwl_softc *sc = ic->ic_softc; in mwl_transmit()
1332 mwl_start(struct mwl_softc *sc) in mwl_start()
1414 struct mwl_softc *sc = ic->ic_softc; in mwl_raw_xmit()
1480 mwl_keyprint(struct mwl_softc *sc, const char *tag, in mwl_keyprint()
1515 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_key_alloc()
1542 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_key_delete()
1615 struct mwl_softc *sc = vap->iv_ic->ic_softc; in _mwl_key_set()
1716 mwl_setmcastfilter(struct mwl_softc *sc) in mwl_setmcastfilter()
1745 mwl_mode_init(struct mwl_softc *sc) in mwl_mode_init()
1762 struct mwl_softc *sc = ic->ic_softc; in mwl_update_mcast()
1777 struct mwl_softc *sc = ic->ic_softc; in mwl_update_promisc()
1791 struct mwl_softc *sc = ic->ic_softc; in mwl_updateslot()
1913 mwl_desc_setup(struct mwl_softc *sc, const char *name, in mwl_desc_setup()
1986 mwl_desc_cleanup(struct mwl_softc *sc, struct mwl_descdma *dd) in mwl_desc_cleanup()
2003 mwl_txq_reset(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txq_reset()
2019 mwl_txdma_setup(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txdma_setup()
2058 mwl_txdma_cleanup(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_txdma_cleanup()
2081 mwl_rxdma_setup(struct mwl_softc *sc) in mwl_rxdma_setup()
2186 mwl_rxdma_cleanup(struct mwl_softc *sc) in mwl_rxdma_cleanup()
2205 mwl_dma_setup(struct mwl_softc *sc) in mwl_dma_setup()
2226 mwl_dma_cleanup(struct mwl_softc *sc) in mwl_dma_cleanup()
2239 struct mwl_softc *sc = ic->ic_softc; in mwl_node_alloc()
2256 struct mwl_softc *sc = ic->ic_softc; in mwl_node_cleanup()
2351 struct mwl_softc *sc = ic->ic_softc; in mwl_node_drain()
2442 mwl_getrxdma(struct mwl_softc *sc) in mwl_getrxdma()
2467 mwl_putrxdma(struct mwl_softc *sc, void *data) in mwl_putrxdma()
2480 mwl_rxbuf_init(struct mwl_softc *sc, struct mwl_rxbuf *bf) in mwl_rxbuf_init()
2521 struct mwl_softc *sc = m->m_ext.ext_arg1; in mwl_ext_free()
2602 struct mwl_softc *sc = arg; in mwl_rx_proc()
2821 mwl_txq_init(struct mwl_softc *sc, struct mwl_txq *txq, int qnum) in mwl_txq_init()
2851 mwl_tx_setup(struct mwl_softc *sc, int ac, int mvtype) in mwl_tx_setup()
2875 mwl_txq_update(struct mwl_softc *sc, int ac) in mwl_txq_update()
2910 struct mwl_softc *sc = ic->ic_softc; in mwl_wme_update()
2922 mwl_tx_cleanupq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_cleanupq()
2932 mwl_tx_cleanup(struct mwl_softc *sc) in mwl_tx_cleanup()
2941 mwl_tx_dmasetup(struct mwl_softc *sc, struct mwl_txbuf *bf, struct mbuf *m0) in mwl_tx_dmasetup()
3063 mwl_tx_start(struct mwl_softc *sc, struct ieee80211_node *ni, struct mwl_txbuf *bf, in mwl_tx_start()
3311 mwl_tx_processq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_processq()
3404 struct mwl_softc *sc = arg; in mwl_tx_proc()
3431 mwl_tx_draintxq(struct mwl_softc *sc, struct mwl_txq *txq) in mwl_tx_draintxq()
3478 mwl_draintxq(struct mwl_softc *sc) in mwl_draintxq()
3492 mwl_resettxq(struct mwl_softc *sc) in mwl_resettxq()
3509 mwl_cleartxq(struct mwl_softc *sc, struct ieee80211vap *vap) in mwl_cleartxq()
3533 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_recv_action()
3555 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_request()
3627 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_response()
3693 struct mwl_softc *sc = ni->ni_ic->ic_softc; in mwl_addba_stop()
3712 mwl_startrecv(struct mwl_softc *sc) in mwl_startrecv()
3783 mwl_chan_set(struct mwl_softc *sc, struct ieee80211_channel *chan) in mwl_chan_set()
3842 struct mwl_softc *sc = ic->ic_softc; in mwl_scan_start()
3850 struct mwl_softc *sc = ic->ic_softc; in mwl_scan_end()
3858 struct mwl_softc *sc = ic->ic_softc; in mwl_set_channel()
3873 struct mwl_softc *sc = ic->ic_softc; in mwl_startcsa()
4075 struct mwl_softc *sc = ic->ic_softc; in mwl_newstate()
4227 allocstaid(struct mwl_softc *sc, int aid) in allocstaid()
4243 delstaid(struct mwl_softc *sc, int staid) in delstaid()
4257 struct mwl_softc *sc = vap->iv_ic->ic_softc; in mwl_newassoc()
4289 struct mwl_softc *sc = arg; in mwl_agestations()
4313 struct mwl_softc *sc = ic->ic_softc; in mwl_setregdomain()
4403 getchannels(struct mwl_softc *sc, int maxchans, int *nchans, in getchannels()
4443 struct mwl_softc *sc = ic->ic_softc; in mwl_getradiocaps()
4449 mwl_getchannels(struct mwl_softc *sc) in mwl_getchannels()
4556 struct mwl_softc *sc = arg; in mwl_watchdog()
4586 mwl_ioctl_diag(struct mwl_softc *sc, struct mwl_diag *md) in mwl_ioctl_diag()
4641 mwl_ioctl_reset(struct mwl_softc *sc, struct mwl_diag *md) in mwl_ioctl_reset()
4675 struct mwl_softc *sc = ic->ic_softc; in mwl_parent()
4712 struct mwl_softc *sc = ic->ic_softc; in mwl_ioctl()
4756 struct mwl_softc *sc = arg1; in mwl_sysctl_debug()
4770 mwl_sysctlattach(struct mwl_softc *sc) in mwl_sysctlattach()
4787 mwl_announce(struct mwl_softc *sc) in mwl_announce()