Home
last modified time | relevance | path

Searched refs:ath_softc (Results 1 – 25 of 41) sorted by relevance

12

/trueos/sys/dev/ath/
HDif_ath_misc.h55 extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
57 extern struct ath_buf * ath_getbuf(struct ath_softc *sc,
59 extern struct ath_buf * _ath_getbuf_locked(struct ath_softc *sc,
61 extern struct ath_buf * ath_buf_clone(struct ath_softc *sc,
64 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf);
65 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf);
66 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf);
69 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf,
71 extern void ath_tx_update_ratectrl(struct ath_softc *sc,
78 extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf,
[all …]
HDif_ath_tx.h89 extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an);
90 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq);
91 extern void ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags,
93 extern int ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags,
95 extern int ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni,
101 extern void ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni,
103 extern void ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an);
104 extern void ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an,
106 extern void ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an,
108 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq);
[all …]
HDif_athrate.h67 struct ath_softc;
77 struct ath_ratectrl *ath_rate_attach(struct ath_softc *);
106 void ath_rate_node_init(struct ath_softc *, struct ath_node *);
110 void ath_rate_node_cleanup(struct ath_softc *, struct ath_node *);
116 void ath_rate_newassoc(struct ath_softc *, struct ath_node *,
125 void ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an,
134 void ath_rate_findrate(struct ath_softc *, struct ath_node *,
141 void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *,
153 void ath_rate_tx_complete(struct ath_softc *, struct ath_node *,
160 int ath_rate_fetch_stats(struct ath_softc *sc, struct ath_rateioctl *rs);
[all …]
HDif_athdfs.h34 extern int ath_dfs_attach(struct ath_softc *sc);
35 extern int ath_dfs_detach(struct ath_softc *sc);
36 extern int ath_dfs_radar_enable(struct ath_softc *,
38 extern int ath_dfs_radar_disable(struct ath_softc *sc);
39 extern void ath_dfs_process_phy_err(struct ath_softc *sc, struct mbuf *m,
41 extern int ath_dfs_process_radar_event(struct ath_softc *sc,
43 extern int ath_dfs_tasklet_needed(struct ath_softc *sc,
45 extern int ath_ioctl_phyerr(struct ath_softc *sc, struct ath_diag *ad);
46 extern int ath_dfs_get_thresholds(struct ath_softc *sc,
HDif_ath_beacon.h36 extern int ath_beaconq_setup(struct ath_softc *sc);
37 extern int ath_beaconq_config(struct ath_softc *sc);
38 extern void ath_beacon_config(struct ath_softc *sc,
40 extern struct ath_buf * ath_beacon_generate(struct ath_softc *sc,
42 extern void ath_beacon_cabq_start(struct ath_softc *sc);
45 extern void ath_beacon_start_adhoc(struct ath_softc *sc,
47 extern int ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_node *ni);
48 extern void ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf);
49 extern void ath_beacon_free(struct ath_softc *sc);
HDif_ath_rx.h34 extern u_int32_t ath_calcrxfilter(struct ath_softc *sc);
52 extern int ath_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf);
54 extern void ath_rx_proc(struct ath_softc *sc, int resched);
55 extern void ath_stoprecv(struct ath_softc *sc, int dodelay);
56 extern int ath_startrecv(struct ath_softc *sc);
59 extern int ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs,
63 extern void ath_recv_setup_legacy(struct ath_softc *sc);
HDif_ath_rx_edma.c147 static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
149 static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
150 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf);
151 static void ath_edma_recv_proc_queue(struct ath_softc *sc,
153 static int ath_edma_recv_proc_deferred_queue(struct ath_softc *sc,
157 ath_edma_stoprecv(struct ath_softc *sc, int dodelay) in ath_edma_stoprecv()
188 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) in ath_edma_reinit_fifo()
226 ath_edma_startrecv(struct ath_softc *sc) in ath_edma_startrecv()
284 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, in ath_edma_recv_sched_queue()
293 ath_edma_recv_sched(struct ath_softc *sc, int dosched) in ath_edma_recv_sched()
[all …]
HDif_ath_lna_div.h80 extern int ath_lna_div_attach(struct ath_softc *sc);
81 extern int ath_lna_div_detach(struct ath_softc *sc);
82 extern int ath_lna_div_ioctl(struct ath_softc *sc, struct ath_diag *ad);
83 extern int ath_lna_div_enable(struct ath_softc *sc,
86 extern void ath_lna_rx_comb_scan(struct ath_softc *sc,
HDif_ath_btcoex.h34 extern int ath_btcoex_attach(struct ath_softc *sc);
35 extern int ath_btcoex_detach(struct ath_softc *sc);
36 extern int ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad);
37 extern int ath_btcoex_enable(struct ath_softc *sc,
HDif_ath_spectral.h34 extern int ath_spectral_attach(struct ath_softc *sc);
35 extern int ath_spectral_detach(struct ath_softc *sc);
36 extern int ath_ioctl_spectral(struct ath_softc *sc, struct ath_diag *ad);
37 extern int ath_spectral_enable(struct ath_softc *sc,
HDif_ath_tx_edma.c137 static void ath_edma_tx_processq(struct ath_softc *sc, int dosched);
143 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) in ath_edma_tx_fifo_fill()
222 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) in ath_edma_dma_restart()
348 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff_hw()
392 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff_mcast()
447 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff()
465 ath_edma_setup_txfifo(struct ath_softc *sc, int qnum) in ath_edma_setup_txfifo()
487 ath_edma_free_txfifo(struct ath_softc *sc, int qnum) in ath_edma_free_txfifo()
497 ath_edma_dma_txsetup(struct ath_softc *sc) in ath_edma_dma_txsetup()
520 ath_edma_dma_txteardown(struct ath_softc *sc) in ath_edma_dma_txteardown()
[all …]
HDif_ath.c172 static int ath_desc_alloc(struct ath_softc *);
173 static void ath_desc_free(struct ath_softc *);
180 static void ath_txq_init(struct ath_softc *sc, struct ath_txq *, int);
181 static struct ath_txq *ath_txq_setup(struct ath_softc*, int qtype, int subtype);
182 static int ath_tx_setup(struct ath_softc *, int, int);
183 static void ath_tx_cleanupq(struct ath_softc *, struct ath_txq *);
184 static void ath_tx_cleanup(struct ath_softc *);
185 static int ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq,
191 static int ath_chan_set(struct ath_softc *, struct ieee80211_channel *);
192 static void ath_chan_change(struct ath_softc *, struct ieee80211_channel *);
[all …]
HDif_ath_led.c123 ath_led_config(struct ath_softc *sc) in ath_led_config()
152 struct ath_softc *sc = arg; in ath_led_done()
164 struct ath_softc *sc = arg; in ath_led_off()
174 ath_led_blink(struct ath_softc *sc, int on, int off) in ath_led_blink()
184 ath_led_event(struct ath_softc *sc, int rix) in ath_led_event()
HDif_ath_btcoex.c83 ath_btcoex_cfg_wb195(struct ath_softc *sc) in ath_btcoex_cfg_wb195()
139 ath_btcoex_cfg_wb225(struct ath_softc *sc) in ath_btcoex_cfg_wb225()
201 ath_btcoex_aspm_wb195(struct ath_softc *sc)
217 ath_btcoex_attach(struct ath_softc *sc) in ath_btcoex_attach()
263 ath_btcoex_detach(struct ath_softc *sc) in ath_btcoex_detach()
279 ath_btcoex_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) in ath_btcoex_enable()
293 ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad) in ath_btcoex_ioctl()
HDif_ath_tx.c119 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an);
121 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an,
123 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an,
125 static ieee80211_seq ath_tx_tid_seqno_assign(struct ath_softc *sc,
127 static int ath_tx_action_frame_override_queue(struct ath_softc *sc,
130 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an,
135 ath_tx_alq_post(struct ath_softc *sc, struct ath_buf *bf_first) in ath_tx_alq_post()
166 ath_tx_is_11n(struct ath_softc *sc) in ath_tx_is_11n()
180 ath_tx_gettid(struct ath_softc *sc, const struct mbuf *m0) in ath_tx_gettid()
193 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_set_retry()
[all …]
HDif_ath_sysctl.c109 struct ath_softc *sc = arg1; in ath_sysctl_slottime()
122 struct ath_softc *sc = arg1; in ath_sysctl_acktimeout()
135 struct ath_softc *sc = arg1; in ath_sysctl_ctstimeout()
148 struct ath_softc *sc = arg1; in ath_sysctl_softled()
169 struct ath_softc *sc = arg1; in ath_sysctl_ledpin()
188 struct ath_softc *sc = arg1; in ath_sysctl_hardled()
209 struct ath_softc *sc = arg1; in ath_sysctl_txantenna()
232 struct ath_softc *sc = arg1; in ath_sysctl_rxantenna()
245 struct ath_softc *sc = arg1; in ath_sysctl_diversity()
261 struct ath_softc *sc = arg1; in ath_sysctl_diag()
[all …]
HDif_ath_sysctl.h35 extern void ath_sysctlattach(struct ath_softc *);
36 extern void ath_sysctl_stats_attach(struct ath_softc *sc);
37 extern void ath_sysctl_hal_attach(struct ath_softc *sc);
HDif_ath_tx_ht.h54 extern void ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf);
56 extern void ath_buf_set_rate(struct ath_softc *sc,
60 ath_tx_form_aggr(struct ath_softc *sc, struct ath_node *an,
HDif_ath_keycache.c83 ath_keyprint(struct ath_softc *sc, const char *tag, u_int ix, in ath_keyprint()
120 ath_keyset_tkip(struct ath_softc *sc, const struct ieee80211_key *k, in ath_keyset_tkip()
181 ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap, in ath_keyset()
268 key_alloc_2pair(struct ath_softc *sc, in key_alloc_2pair()
323 key_alloc_pair(struct ath_softc *sc, in key_alloc_pair()
370 key_alloc_single(struct ath_softc *sc, in key_alloc_single()
419 struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; in ath_key_alloc()
487 struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; in ath_key_delete()
528 struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; in ath_key_set()
HDif_ath_beacon.c111 ath_beaconq_setup(struct ath_softc *sc) in ath_beaconq_setup()
133 ath_beaconq_config(struct ath_softc *sc) in ath_beaconq_config()
175 ath_beacon_alloc(struct ath_softc *sc, struct ieee80211_node *ni) in ath_beacon_alloc()
261 ath_beacon_setup(struct ath_softc *sc, struct ath_buf *bf) in ath_beacon_setup()
385 ath_beacon_miss(struct ath_softc *sc) in ath_beacon_miss()
427 struct ath_softc *sc = arg; in ath_beacon_proc()
561 ath_beacon_cabq_start_edma(struct ath_softc *sc) in ath_beacon_cabq_start_edma()
653 ath_beacon_cabq_start_legacy(struct ath_softc *sc) in ath_beacon_cabq_start_legacy()
676 ath_beacon_cabq_start(struct ath_softc *sc) in ath_beacon_cabq_start()
692 ath_beacon_generate(struct ath_softc *sc, struct ieee80211vap *vap) in ath_beacon_generate()
[all …]
HDif_ath_rx.c154 ath_calcrxfilter(struct ath_softc *sc) in ath_calcrxfilter()
228 ath_legacy_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) in ath_legacy_rxbuf_init()
318 struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; in ath_recv_mgmt()
372 struct ath_softc *sc = ifp->if_softc; in ath_rx_tap_vendor()
442 struct ath_softc *sc = ifp->if_softc; in ath_rx_tap()
517 ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs, HAL_STATUS status, in ath_rx_pkt()
883 ath_rx_proc(struct ath_softc *sc, int resched) in ath_rx_proc()
1091 struct ath_softc *sc = arg; in ath_legacy_rx_tasklet()
1108 ath_legacy_flushrecv(struct ath_softc *sc) in ath_legacy_flushrecv()
1118 ath_legacy_stoprecv(struct ath_softc *sc, int dodelay) in ath_legacy_stoprecv()
[all …]
HDif_ath_spectral.c101 ath_spectral_attach(struct ath_softc *sc) in ath_spectral_attach()
132 ath_spectral_detach(struct ath_softc *sc) in ath_spectral_detach()
149 ath_spectral_enable(struct ath_softc *sc, struct ieee80211_channel *ch) in ath_spectral_enable()
176 ath_ioctl_spectral(struct ath_softc *sc, struct ath_diag *ad) in ath_ioctl_spectral()
/trueos/sys/dev/ath/ath_dfs/null/
HDdfs_null.c82 ath_dfs_attach(struct ath_softc *sc) in ath_dfs_attach()
91 ath_dfs_detach(struct ath_softc *sc) in ath_dfs_detach()
101 ath_dfs_radar_enable(struct ath_softc *sc, struct ieee80211_channel *chan) in ath_dfs_radar_enable()
154 ath_dfs_radar_disable(struct ath_softc *sc) in ath_dfs_radar_disable()
175 ath_dfs_process_phy_err(struct ath_softc *sc, struct mbuf *m, in ath_dfs_process_phy_err()
189 ath_dfs_process_radar_event(struct ath_softc *sc, in ath_dfs_process_radar_event()
203 ath_dfs_tasklet_needed(struct ath_softc *sc, struct ieee80211_channel *chan) in ath_dfs_tasklet_needed()
216 ath_ioctl_phyerr(struct ath_softc *sc, struct ath_diag *ad) in ath_ioctl_phyerr()
289 ath_dfs_get_thresholds(struct ath_softc *sc, HAL_PHYERR_PARAM *param) in ath_dfs_get_thresholds()
/trueos/sys/dev/ath/ath_rate/onoe/
HDonoe.c95 static void ath_rate_update(struct ath_softc *, struct ieee80211_node *,
97 static void ath_rate_ctl_start(struct ath_softc *, struct ieee80211_node *);
101 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init()
107 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup()
112 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate()
133 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates()
152 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc()
165 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete()
184 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) in ath_rate_newassoc()
191 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate) in ath_rate_update()
[all …]
/trueos/sys/dev/ath/ath_rate/amrr/
HDamrr.c87 static void ath_rate_update(struct ath_softc *, struct ieee80211_node *,
89 static void ath_rate_ctl_start(struct ath_softc *, struct ieee80211_node *);
93 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init()
99 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup()
104 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate()
125 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates()
145 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc()
158 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete()
191 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) in ath_rate_newassoc()
218 ath_rate_update(struct ath_softc *sc, struct ieee80211_node *ni, int rate) in ath_rate_update()
[all …]

12