Home
last modified time | relevance | path

Searched refs:ath11k (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Ddebugfs.h271 int ath11k_debugfs_register(struct ath11k *ar);
272 void ath11k_debugfs_unregister(struct ath11k *ar);
275 void ath11k_debugfs_fw_stats_init(struct ath11k *ar);
276 int ath11k_debugfs_get_fw_stats(struct ath11k *ar, u32 pdev_id,
305 static inline int ath11k_debugfs_rx_filter(struct ath11k *ar) in ath11k_debugfs_rx_filter()
312 void ath11k_debugfs_add_dbring_entry(struct ath11k *ar,
336 static inline int ath11k_debugfs_register(struct ath11k *ar) in ath11k_debugfs_register()
341 static inline void ath11k_debugfs_unregister(struct ath11k *ar) in ath11k_debugfs_unregister()
379 static inline int ath11k_debugfs_rx_filter(struct ath11k *ar) in ath11k_debugfs_rx_filter()
384 static inline int ath11k_debugfs_get_fw_stats(struct ath11k *ar, in ath11k_debugfs_get_fw_stats()
[all …]
H A Dmac.h14 struct ath11k;
18 struct ath11k *ar;
135 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id);
136 void ath11k_mac_11d_scan_stop(struct ath11k *ar);
150 void __ath11k_mac_scan_finish(struct ath11k *ar);
151 void ath11k_mac_scan_finish(struct ath11k *ar);
156 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar);
163 void ath11k_mac_drain_tx(struct ath11k *ar);
164 void ath11k_mac_peer_cleanup_all(struct ath11k *ar);
175 int ath11k_mac_wait_tx_complete(struct ath11k *ar);
[all …]
H A DMakefile2 obj-$(CONFIG_ATH11K) += ath11k.o
3 ath11k-y += core.o \
24 ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
25 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
26 ath11k-$(CONFIG_ATH11K_TRACING) += trace.o
27 ath11k-$(CONFIG_THERMAL) += thermal.o
28 ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
29 ath11k-$(CONFIG_PM) += wow.o
30 ath11k-$(CONFIG_DEV_COREDUMP) += coredump.o
H A Ddbring.h55 int (*handler)(struct ath11k *, struct ath11k_dbring_data *);
58 int ath11k_dbring_set_cfg(struct ath11k *ar,
62 int (*handler)(struct ath11k *,
64 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar,
67 int ath11k_dbring_buf_setup(struct ath11k *ar,
70 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring,
78 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
79 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
80 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *data, u32 size);
H A DKconfig12 If you choose to build a module, it'll be called ath11k.
15 tristate "Atheros ath11k AHB support"
22 tristate "Atheros ath11k PCI support"
32 bool "QCA ath11k debugging"
40 bool "QCA ath11k debugfs support"
43 Enable ath11k debugfs support
48 bool "ath11k tracing support"
51 Select this to use ath11k tracing infrastructure.
54 bool "QCA ath11k spectral scan support"
58 Enable ath11k spectral scan support
H A Ddp_rx.h45 int ath11k_dp_rx_ampdu_start(struct ath11k *ar,
47 int ath11k_dp_rx_ampdu_stop(struct ath11k *ar,
53 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer);
54 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer);
55 void ath11k_peer_rx_tid_delete(struct ath11k *ar,
57 int ath11k_peer_rx_tid_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id,
92 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar);
93 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar);
94 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
99 int ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype);
H A Dspectral.h47 void ath11k_spectral_reset_buffer(struct ath11k *ar);
48 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar);
49 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar);
67 static inline void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer()
72 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar) in ath11k_spectral_get_mode()
78 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar) in ath11k_spectral_get_dbring()
H A Dreg.h14 struct ath11k;
32 void ath11k_reg_init(struct ath11k *ar);
42 int ath11k_regd_update(struct ath11k *ar);
43 int ath11k_reg_update_chan_list(struct ath11k *ar, bool wait);
49 int ath11k_reg_set_cc(struct ath11k *ar);
H A Ddp_tx.h20 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);
22 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
31 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask);
33 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type,
36 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
H A Dthermal.h32 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state);
33 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature);
44 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling()
49 static inline void ath11k_thermal_event_temperature(struct ath11k *ar, in ath11k_thermal_event_temperature()
H A Ddbring.c12 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *buffer, u32 size) in ath11k_dbring_validate_buffer()
27 static void ath11k_dbring_fill_magic_value(struct ath11k *ar, in ath11k_dbring_fill_magic_value()
39 static int ath11k_dbring_bufs_replenish(struct ath11k *ar, in ath11k_dbring_bufs_replenish()
106 static int ath11k_dbring_fill_bufs(struct ath11k *ar, in ath11k_dbring_fill_bufs()
152 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, in ath11k_dbring_wmi_cfg_setup()
184 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg()
186 int (*handler)(struct ath11k *, in ath11k_dbring_set_cfg() argument
199 int ath11k_dbring_buf_setup(struct ath11k *ar, in ath11k_dbring_buf_setup()
222 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup()
271 struct ath11k *ar; in ath11k_dbring_buffer_release_event()
[all …]
H A Dthermal.c28 struct ath11k *ar = cdev->devdata; in ath11k_thermal_get_cur_throttle_state()
41 struct ath11k *ar = cdev->devdata; in ath11k_thermal_set_cur_throttle_state()
67 struct ath11k *ar = dev_get_drvdata(dev); in ath11k_thermal_show_temp()
110 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) in ath11k_thermal_event_temperature()
127 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling()
162 struct ath11k *ar; in ath11k_thermal_register()
217 struct ath11k *ar; in ath11k_thermal_unregister()
H A Dpeer.h49 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id);
50 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr);
51 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif,
53 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id,
H A Dspectral.c205 static int ath11k_spectral_scan_config(struct ath11k *ar, in ath11k_spectral_scan_config()
273 struct ath11k *ar = file->private_data; in ath11k_read_file_spec_scan_ctl()
302 struct ath11k *ar = file->private_data; in ath11k_write_file_spec_scan_ctl()
367 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_count()
384 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_count()
414 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_bins()
434 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_bins()
567 int ath11k_spectral_process_fft(struct ath11k *ar, in ath11k_spectral_process_fft()
891 void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer()
902 struct ath11k *ar; in ath11k_spectral_deinit()
[all …]
H A Dwow.c31 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_enable()
68 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_wakeup()
98 struct ath11k *ar = arvif->ar; in ath11k_wow_vif_cleanup()
122 static int ath11k_wow_cleanup(struct ath11k *ar) in ath11k_wow_cleanup()
351 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_set_wakeups()
468 static int ath11k_wow_set_wakeups(struct ath11k *ar, in ath11k_wow_set_wakeups()
491 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_clean_nlo()
677 struct ath11k *ar = hw->priv; in ath11k_wow_op_suspend()
773 struct ath11k *ar = hw->priv; in ath11k_wow_op_set_wakeup()
782 struct ath11k *ar = hw->priv; in ath11k_wow_op_resume()
[all …]
H A Dwmi.h14 struct ath11k;
6419 int ath11k_wmi_vdev_install_key(struct ath11k *ar,
6447 ath11k_wmi_send_init_country_cmd(struct ath11k *ar,
6461 ath11k_wmi_rx_reord_queue_remove(struct ath11k *ar,
6467 void ath11k_wmi_fw_stats_fill(struct ath11k *ar,
6470 int ath11k_wmi_simulate_radar(struct ath11k *ar);
6501 int ath11k_wmi_pdev_dma_ring_cfg(struct ath11k *ar,
6516 int ath11k_wmi_wow_enable(struct ath11k *ar);
6517 int ath11k_wmi_scan_prob_req_oui(struct ath11k *ar,
6532 int ath11k_wmi_arp_ns_offload(struct ath11k *ar,
[all …]
H A Dmac.c658 struct ath11k *ar; in ath11k_mac_get_vif_up()
3972 struct ath11k *ar = container_of(work, struct ath11k, in ath11k_scan_timeout_work()
4766 struct ath11k *ar; in ath11k_sta_rc_update_wk()
4954 struct ath11k *ar; in ath11k_sta_set_4addr_wk()
6028 struct ath11k *ar = container_of(work, struct ath11k, wmi_mgmt_tx_work); in ath11k_mgmt_over_wmi_tx_work()
6509 struct ath11k *ar; in ath11k_mac_vif_ap_active_any()
6611 struct ath11k *ar; in ath11k_mac_11d_scan_stop_all()
10098 struct ath11k *ar; in ath11k_mac_unregister()
10365 struct ath11k *ar; in ath11k_mac_register()
10424 struct ath11k *ar; in ath11k_mac_allocate()
[all …]
H A Ddebugfs.c248 struct ath11k *ar = inode->i_private; in ath11k_open_pdev_stats()
319 struct ath11k *ar = inode->i_private; in ath11k_open_vdev_stats()
390 struct ath11k *ar = inode->i_private; in ath11k_open_bcn_stats()
497 struct ath11k *ar = ab->pdevs[0].ar; in ath11k_write_simulate_fw_crash()
564 struct ath11k *ar = file->private_data; in ath11k_write_enable_extd_tx_stats()
597 struct ath11k *ar = file->private_data; in ath11k_read_enable_extd_tx_stats()
618 struct ath11k *ar = file->private_data; in ath11k_write_extd_rx_stats()
1462 struct ath11k *ar = data; in ath11k_reset_peer_ps_duration()
1513 struct ath11k *ar = data; in ath11k_peer_ps_state_disable()
1681 struct ath11k *ar = arvif->ar; in ath11k_write_twt_add_dialog()
[all …]
H A Dtestmode.c27 static struct ath11k *ath11k_tm_get_ar(struct ath11k_base *ab) in ath11k_tm_get_ar()
30 struct ath11k *ar = NULL; in ath11k_tm_get_ar()
51 struct ath11k *ar; in ath11k_tm_wmi_event_unsegmented()
102 struct ath11k *ar; in ath11k_tm_process_event()
231 static int ath11k_tm_cmd_get_version(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_get_version()
263 static int ath11k_tm_cmd_testmode_start(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_testmode_start()
300 static int ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[], in ath11k_tm_cmd_wmi()
390 static int ath11k_tm_cmd_wmi_ftm(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_wmi_ftm()
478 struct ath11k *ar = hw->priv; in ath11k_tm_cmd()
H A Dp2p.c83 struct ath11k *ar = arvif->ar; in ath11k_p2p_noa_ie_assign()
96 struct ath11k *ar = arvif->ar; in __ath11k_p2p_noa_update()
118 struct ath11k *ar = arvif->ar; in ath11k_p2p_noa_update()
137 void ath11k_p2p_noa_update_by_vdev_id(struct ath11k *ar, u32 vdev_id, in ath11k_p2p_noa_update_by_vdev_id()
H A Ddebugfs_sta.h22 void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar,
36 static inline void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar, in ath11k_debugfs_sta_update_txcompl()
H A Ddebugfs_sta.c141 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_dump_tx_stats()
248 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_dump_rx_stats()
345 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_open_htt_peer_stats()
381 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_release_htt_peer_stats()
418 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_peer_pktlog()
458 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_read_peer_pktlog()
485 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_delba()
536 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_addba_resp()
586 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_addba()
637 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_read_aggr_mode()
[all …]
H A Ddp_rx.c1158 struct ath11k *ar = arvif->ar; in ath11k_dp_peer_rx_pn_replay_config()
1560 struct ath11k *ar; in ath11k_htt_pull_ppdu_stats()
1609 struct ath11k *ar; in ath11k_htt_pktlog()
2593 struct ath11k *ar; in ath11k_dp_rx_process_received_packets()
2637 struct ath11k *ar; in ath11k_dp_process_rx()
3024 struct ath11k *ar; in ath11k_dp_rx_reap_mon_status_ring()
3828 struct ath11k *ar; in ath11k_dp_process_rx_err()
4127 struct ath11k *ar; in ath11k_dp_rx_process_wbm_err()
4244 struct ath11k *ar; in ath11k_dp_process_rxdma_err()
4412 struct ath11k *ar = ab->pdevs[mac_id].ar; in ath11k_dp_rx_pdev_free()
[all …]
H A Dwow.h30 int ath11k_wow_init(struct ath11k *ar);
40 static inline int ath11k_wow_init(struct ath11k *ar) in ath11k_wow_init()
H A Dwmi.c6534 struct ath11k *ar; in ath11k_wmi_tlv_rssi_chain_parse()
6602 struct ath11k *ar; in ath11k_wmi_tlv_fw_stats_data_parse()
7112 struct ath11k *ar; in ath11k_reg_11d_new_cc_event()
7280 struct ath11k *ar; in ath11k_peer_delete_resp_event()
7307 struct ath11k *ar; in ath11k_vdev_delete_resp_event()
7351 struct ath11k *ar; in ath11k_vdev_start_resp_event()
7420 struct ath11k *ar; in ath11k_wmi_event_peer_sta_ps_state_chg()
7517 struct ath11k *ar; in ath11k_vdev_stopped_event()
7546 struct ath11k *ar; in ath11k_mgmt_rx_event()
7661 struct ath11k *ar; in ath11k_mgmt_tx_compl_event()
[all …]

123