Lines Matching refs:ath_softc
126 static int ath_init(struct ath_softc *);
146 static void ath_mode_init(struct ath_softc *);
147 static void ath_setslottime(struct ath_softc *);
150 static int ath_beacon_alloc(struct ath_softc *, struct ieee80211_node *);
151 static void ath_beacon_setup(struct ath_softc *, struct ath_buf *);
154 static void ath_beacon_free(struct ath_softc *);
155 static void ath_beacon_config(struct ath_softc *);
156 static void ath_descdma_cleanup(struct ath_softc *sc,
158 static int ath_desc_alloc(struct ath_softc *);
159 static void ath_desc_free(struct ath_softc *);
163 static int ath_rxbuf_init(struct ath_softc *, struct ath_buf *);
167 static void ath_setdefantenna(struct ath_softc *, u_int);
169 static struct ath_txq *ath_txq_setup(struct ath_softc*, int qtype, int subtype);
170 static int ath_tx_setup(struct ath_softc *, int, int);
172 static void ath_tx_cleanupq(struct ath_softc *, struct ath_txq *);
173 static void ath_tx_cleanup(struct ath_softc *);
174 static int ath_tx_start(struct ath_softc *, struct ieee80211_node *,
179 static int ath_chan_set(struct ath_softc *, struct ieee80211_channel *);
180 static void ath_draintxq(struct ath_softc *);
181 static void ath_stoprecv(struct ath_softc *);
182 static int ath_startrecv(struct ath_softc *);
183 static void ath_chan_change(struct ath_softc *, struct ieee80211_channel *);
189 static int ath_getchannels(struct ath_softc *, u_int cc,
191 static void ath_led_event(struct ath_softc *, int);
192 static void ath_update_txpow(struct ath_softc *);
194 static void ath_restore_diversity(struct ath_softc *);
196 static int ath_rate_setup(struct ath_softc *, u_int mode);
197 static void ath_setcurmode(struct ath_softc *, enum ieee80211_phymode);
199 static void ath_bpfattach(struct ath_softc *);
200 static void ath_announce(struct ath_softc *);
279 ath_attach(u_int16_t devid, struct ath_softc *sc)
659 ath_detach(struct ath_softc *sc)
702 ath_suspend(struct ath_softc *sc)
719 ath_resume(struct ath_softc *sc)
758 struct ath_softc *sc = arg;
875 struct ath_softc *sc = arg;
894 struct ath_softc *sc = arg;
913 struct ath_softc *sc = arg;
949 struct ath_softc *sc = arg;
989 struct ath_softc *sc = (struct ath_softc *)ifp->if_softc;
995 ath_settkipmic(struct ath_softc *sc)
1013 ath_init(struct ath_softc *sc)
1121 struct ath_softc *sc = ifp->if_softc;
1185 ath_restore_diversity(struct ath_softc *sc)
1208 struct ath_softc *sc = ifp->if_softc;
1256 ath_txfrag_cleanup(struct ath_softc *sc,
1277 ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags,
1305 struct ath_softc *sc = ifp->if_softc;
1536 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k,
1599 ath_keyset(struct ath_softc *sc, const struct ieee80211_key *k,
1661 key_alloc_2pair(struct ath_softc *sc,
1716 key_alloc_pair(struct ath_softc *sc, ieee80211_keyix *txkeyix,
1763 key_alloc_single(struct ath_softc *sc,
1804 struct ath_softc *sc = ic->ic_ifp->if_softc;
1860 struct ath_softc *sc = ic->ic_ifp->if_softc;
1906 struct ath_softc *sc = ic->ic_ifp->if_softc;
1925 struct ath_softc *sc = ifp->if_softc;
1938 struct ath_softc *sc = ifp->if_softc;
1965 ath_calcrxfilter(struct ath_softc *sc, enum ieee80211_state state)
1989 ath_mode_init(struct ath_softc *sc)
2062 ath_setslottime(struct ath_softc *sc)
2081 struct ath_softc *sc = ifp->if_softc;
2116 ath_beaconq_config(struct ath_softc *sc)
2157 ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_node *ni)
2197 ath_beacon_setup(struct ath_softc *sc, struct ath_buf *bf)
2290 struct ath_softc *sc = arg;
2415 struct ath_softc *sc = arg;
2436 ath_beacon_free(struct ath_softc *sc)
2469 ath_beacon_config(struct ath_softc *sc)
2640 ath_descdma_setup(struct ath_softc *sc,
2736 ath_descdma_cleanup(struct ath_softc *sc,
2770 ath_desc_alloc(struct ath_softc *sc)
2797 ath_desc_free(struct ath_softc *sc)
2812 struct ath_softc *sc = ic->ic_ifp->if_softc;
2832 struct ath_softc *sc = ic->ic_ifp->if_softc;
2861 ath_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf)
2954 struct ath_softc *sc = ic->ic_ifp->if_softc;
3006 ath_setdefantenna(struct ath_softc *sc, u_int antenna)
3039 struct ath_softc *sc = arg;
3333 ath_txq_setup(struct ath_softc *sc, int qtype, int subtype)
3398 ath_tx_setup(struct ath_softc *sc, int ac, int haltype)
3421 ath_txq_update(struct ath_softc *sc, int ac)
3456 struct ath_softc *sc = ic->ic_ifp->if_softc;
3468 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq)
3480 ath_tx_cleanup(struct ath_softc *sc)
3609 ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf,
4111 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
4229 struct ath_softc *sc = arg;
4260 struct ath_softc *sc = arg;
4303 struct ath_softc *sc = arg;
4334 ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq)
4379 ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq)
4394 ath_draintxq(struct ath_softc *sc)
4419 ath_stoprecv(struct ath_softc *sc)
4452 ath_startrecv(struct ath_softc *sc)
4480 ath_chan_change(struct ath_softc *sc, struct ieee80211_channel *chan)
4522 struct ath_softc *sc = arg;
4555 ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan)
4651 struct ath_softc *sc = arg;
4670 struct ath_softc *sc = arg;
4731 struct ath_softc *sc = ifp->if_softc;
4906 struct ath_softc *sc = ic->ic_ifp->if_softc;
4934 struct ath_softc *sc = ic->ic_ifp->if_softc;
4947 ath_getchannels(struct ath_softc *sc, u_int cc,
5018 struct ath_softc *sc = arg;
5030 struct ath_softc *sc = arg;
5040 ath_led_blink(struct ath_softc *sc, int on, int off)
5050 ath_led_event(struct ath_softc *sc, int event)
5073 ath_update_txpow(struct ath_softc *sc)
5094 rate_setup(struct ath_softc *sc,
5112 ath_rate_setup(struct ath_softc *sc, u_int mode)
5149 ath_setcurmode(struct ath_softc *sc, enum ieee80211_phymode mode)
5270 struct ath_softc *sc = ifp->if_softc;
5310 ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad)
5361 struct ath_softc *sc = ifp->if_softc;
5451 ath_bpfattach(struct ath_softc *sc)
5481 ath_announce(struct ath_softc *sc)