Home
last modified time | relevance | path

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

12

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_misc.h46 extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
48 extern struct ath_buf * ath_getbuf(struct ath_softc *sc,
50 extern struct ath_buf * _ath_getbuf_locked(struct ath_softc *sc,
52 extern struct ath_buf * ath_buf_clone(struct ath_softc *sc,
55 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf);
56 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf);
57 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf);
59 extern int ath_reset(struct ath_softc *, ATH_RESET_TYPE,
61 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf,
63 extern void ath_tx_update_ratectrl(struct ath_softc *sc,
[all …]
H A Dif_ath_tx.h87 extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an);
88 extern void ath_tx_txq_drain(struct ath_softc *sc, struct ath_txq *txq);
89 extern void ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags,
91 extern int ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags,
93 extern int ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni,
99 extern void ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni,
101 extern void ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an);
102 extern void ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an,
104 extern void ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an,
106 extern void ath_txq_sched(struct ath_softc *sc, struct ath_txq *txq);
[all …]
H A Dif_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);
51 extern void ath_beacon_miss(struct ath_softc *sc);
H A Dif_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,
139 void ath_rate_findrate(struct ath_softc *, struct ath_node *,
147 void ath_rate_setupxtxdesc(struct ath_softc *, struct ath_node *,
159 void ath_rate_tx_complete(struct ath_softc *, struct ath_node *,
166 void ath_rate_update_rx_rssi(struct ath_softc *, struct ath_node *,
[all …]
H A Dif_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,
H A Dif_ath_rx.h34 extern u_int32_t ath_calcrxfilter(struct ath_softc *sc);
53 extern int ath_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf);
55 extern void ath_rx_proc(struct ath_softc *sc, int resched);
56 extern void ath_stoprecv(struct ath_softc *sc, int dodelay);
57 extern int ath_startrecv(struct ath_softc *sc);
60 extern int ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs,
64 extern void ath_recv_setup_legacy(struct ath_softc *sc);
H A Dif_ath_btcoex_mci.h34 extern int ath_btcoex_mci_attach(struct ath_softc *sc);
35 extern int ath_btcoex_mci_detach(struct ath_softc *sc);
36 extern int ath_btcoex_mci_enable(struct ath_softc *sc,
38 extern void ath_btcoex_mci_intr(struct ath_softc *sc);
H A Dif_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,
H A Dif_ath_btcoex.h38 extern int ath_btcoex_attach(struct ath_softc *sc);
39 extern int ath_btcoex_detach(struct ath_softc *sc);
40 extern int ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad);
41 extern int ath_btcoex_enable(struct ath_softc *sc,
H A Dif_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,
H A Dif_ath_descdma.h32 extern int ath_descdma_alloc_desc(struct ath_softc *sc,
35 extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
38 extern int ath_descdma_setup_rx_edma(struct ath_softc *sc,
41 extern void ath_descdma_cleanup(struct ath_softc *sc,
H A Dif_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);
H A Dif_ath_led.c123 ath_led_config(struct ath_softc *sc) in ath_led_config()
161 struct ath_softc *sc = arg; in ath_led_done()
173 struct ath_softc *sc = arg; in ath_led_off()
183 ath_led_blink(struct ath_softc *sc, int on, int off) in ath_led_blink()
193 ath_led_event(struct ath_softc *sc, int rix) in ath_led_event()
H A Dif_ath_rx_edma.c149 static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
151 static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
152 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf);
153 static void ath_edma_recv_proc_queue(struct ath_softc *sc,
155 static int ath_edma_recv_proc_deferred_queue(struct ath_softc *sc,
159 ath_edma_stoprecv(struct ath_softc *sc, int dodelay) in ath_edma_stoprecv()
205 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) in ath_edma_reinit_fifo()
242 ath_edma_startrecv(struct ath_softc *sc) in ath_edma_startrecv()
312 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, in ath_edma_recv_sched_queue()
335 ath_edma_recv_sched(struct ath_softc *sc, int dosched) in ath_edma_recv_sched()
[all …]
H A Dif_ath_btcoex.c86 ath_btcoex_cfg_wb195(struct ath_softc *sc) in ath_btcoex_cfg_wb195()
142 ath_btcoex_cfg_wb225(struct ath_softc *sc) in ath_btcoex_cfg_wb225()
193 ath_btcoex_cfg_mci(struct ath_softc *sc, uint32_t mci_cfg, int do_btdiv) in ath_btcoex_cfg_mci()
268 ath_btcoex_cfg_wb222(struct ath_softc *sc) in ath_btcoex_cfg_wb222()
282 ath_btcoex_cfg_wb335b(struct ath_softc *sc) in ath_btcoex_cfg_wb335b()
325 ath_btcoex_aspm_wb195(struct ath_softc *sc)
341 ath_btcoex_attach(struct ath_softc *sc) in ath_btcoex_attach()
395 ath_btcoex_detach(struct ath_softc *sc) in ath_btcoex_detach()
414 ath_btcoex_enable(struct ath_softc *sc, const struct ieee80211_channel *chan) in ath_btcoex_enable()
431 ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad) in ath_btcoex_ioctl()
H A Dif_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,
H A Dif_ath_tx_edma.c139 static void ath_edma_tx_processq(struct ath_softc *sc, int dosched);
143 ath_tx_alq_edma_push(struct ath_softc *sc, int txq, int nframes, in ath_tx_alq_edma_push()
171 ath_tx_edma_push_staging_list(struct ath_softc *sc, struct ath_txq *txq, in ath_tx_edma_push_staging_list()
301 ath_edma_tx_fifo_fill(struct ath_softc *sc, struct ath_txq *txq) in ath_edma_tx_fifo_fill()
402 ath_edma_dma_restart(struct ath_softc *sc, struct ath_txq *txq) in ath_edma_dma_restart()
528 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff_hw()
565 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff_mcast()
620 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, in ath_edma_xmit_handoff()
638 ath_edma_setup_txfifo(struct ath_softc *sc, int qnum) in ath_edma_setup_txfifo()
660 ath_edma_free_txfifo(struct ath_softc *sc, int qnum) in ath_edma_free_txfifo()
[all …]
H A Dif_ath.c157 static int ath_init(struct ath_softc *);
158 static void ath_stop(struct ath_softc *);
169 static void ath_update_mcast_hw(struct ath_softc *);
175 static int ath_desc_alloc(struct ath_softc *);
176 static void ath_desc_free(struct ath_softc *);
183 static void ath_txq_init(struct ath_softc *sc, struct ath_txq *, int);
184 static struct ath_txq *ath_txq_setup(struct ath_softc*, int qtype, int subtype);
185 static int ath_tx_setup(struct ath_softc *, int, int);
186 static void ath_tx_cleanupq(struct ath_softc *, struct ath_txq *);
187 static void ath_tx_cleanup(struct ath_softc *);
[all …]
H A Dif_ath_led.h34 extern void ath_led_event(struct ath_softc *sc, int rix);
35 extern void ath_led_config(struct ath_softc *sc);
H A Dif_ath_btcoex_mci.c82 static void ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc);
85 ath_btcoex_mci_attach(struct ath_softc *sc) in ath_btcoex_mci_attach()
155 ath_btcoex_mci_detach(struct ath_softc *sc) in ath_btcoex_mci_detach()
171 ath_btcoex_mci_enable(struct ath_softc *sc, in ath_btcoex_mci_enable()
202 ath_btcoex_mci_event(struct ath_softc *sc, ATH_BT_COEX_EVENT nevent, in ath_btcoex_mci_event()
241 ath_btcoex_mci_send_gpm(struct ath_softc *sc, uint32_t *payload) in ath_btcoex_mci_send_gpm()
252 ath_btcoex_mci_bt_cal_do(struct ath_softc *sc, int tx_timeout, int rx_timeout) in ath_btcoex_mci_bt_cal_do()
260 ath_btcoex_mci_cal_msg(struct ath_softc *sc, uint8_t opcode, in ath_btcoex_mci_cal_msg()
321 ath_btcoex_mci_update_wlan_channels(struct ath_softc *sc) in ath_btcoex_mci_update_wlan_channels()
369 ath_btcoex_mci_coex_msg(struct ath_softc *sc, uint8_t opcode, in ath_btcoex_mci_coex_msg()
[all …]
H A Dif_ath_tx.c121 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an);
123 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an,
125 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an,
127 static ieee80211_seq ath_tx_tid_seqno_assign(struct ath_softc *sc,
129 static int ath_tx_action_frame_override_queue(struct ath_softc *sc,
132 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an,
137 ath_tx_alq_post(struct ath_softc *sc, struct ath_buf *bf_first) in ath_tx_alq_post()
168 ath_tx_is_11n(struct ath_softc *sc) in ath_tx_is_11n()
181 ath_tx_gettid(struct ath_softc *sc, const struct mbuf *m0) in ath_tx_gettid()
196 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_set_retry()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_dfs/null/
H A Ddfs_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()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/
H A Dglue.c26 struct ath_softc* sc = (struct ath_softc*)device_get_softc(dev); in HAIKU_CHECK_DISABLE_INTERRUPTS()
63 struct ath_softc* sc = (struct ath_softc*)device_get_softc(dev); in HAIKU_REENABLE_INTERRUPTS()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/
H A Donoe.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()
136 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates()
155 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc()
168 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete()
187 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) in ath_rate_newassoc()
194 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) in ath_rate_update_rx_rssi()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/
H A Damrr.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()
128 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates()
147 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc()
160 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete()
193 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) in ath_rate_newassoc()
200 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) in ath_rate_update_rx_rssi()
[all …]

12