Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs.h111 int ath11k_debugfs_register(struct ath11k *ar);
112 void ath11k_debugfs_unregister(struct ath11k *ar);
115 void ath11k_debugfs_fw_stats_init(struct ath11k *ar);
117 static inline bool ath11k_debugfs_is_pktlog_lite_mode_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_lite_mode_enabled()
122 static inline bool ath11k_debugfs_is_pktlog_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_rx_stats_enabled()
127 static inline bool ath11k_debugfs_is_pktlog_peer_valid(struct ath11k *ar, u8 *addr) in ath11k_debugfs_is_pktlog_peer_valid()
133 static inline int ath11k_debugfs_is_extd_tx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_tx_stats_enabled()
138 static inline int ath11k_debugfs_is_extd_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_rx_stats_enabled()
143 static inline int ath11k_debugfs_rx_filter(struct ath11k *ar) in ath11k_debugfs_rx_filter()
167 static inline int ath11k_debugfs_register(struct ath11k *ar) in ath11k_debugfs_register()
[all …]
Dmac.h12 struct ath11k;
16 struct ath11k *ar;
132 void __ath11k_mac_scan_finish(struct ath11k *ar);
133 void ath11k_mac_scan_finish(struct ath11k *ar);
135 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id);
138 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id);
139 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
140 struct ath11k *ath11k_mac_get_ar_vdev_stop_status(struct ath11k_base *ab,
143 void ath11k_mac_drain_tx(struct ath11k *ar);
144 void ath11k_mac_peer_cleanup_all(struct ath11k *ar);
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"
31 bool "QCA ath11k debugging"
39 bool "QCA ath11k debugfs support"
42 Enable ath11k debugfs support
47 bool "ath11k tracing support"
50 Select this to use ath11k tracing infrastructure.
53 bool "QCA ath11k spectral scan support"
57 Enable ath11k spectral scan support
Ddbring.h54 int (*handler)(struct ath11k *, struct ath11k_dbring_data *);
57 int ath11k_dbring_set_cfg(struct ath11k *ar,
61 int (*handler)(struct ath11k *,
63 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar,
66 int ath11k_dbring_buf_setup(struct ath11k *ar,
69 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring,
77 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
78 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
DMakefile2 obj-$(CONFIG_ATH11K) += ath11k.o
3 ath11k-y += core.o \
21 ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
22 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
23 ath11k-$(CONFIG_ATH11K_TRACING) += trace.o
24 ath11k-$(CONFIG_THERMAL) += thermal.o
25 ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
Ddp_rx.h44 int ath11k_dp_rx_ampdu_start(struct ath11k *ar,
46 int ath11k_dp_rx_ampdu_stop(struct ath11k *ar,
52 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer);
53 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer);
54 void ath11k_peer_rx_tid_delete(struct ath11k *ar,
56 int ath11k_peer_rx_tid_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id,
91 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar);
92 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar);
93 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
Dspectral.h45 void ath11k_spectral_reset_buffer(struct ath11k *ar);
46 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar);
47 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar);
65 static inline void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer()
70 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar) in ath11k_spectral_get_mode()
76 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar) in ath11k_spectral_get_dbring()
Dreg.h13 struct ath11k;
27 void ath11k_reg_init(struct ath11k *ar);
33 int ath11k_regd_update(struct ath11k *ar);
34 int ath11k_reg_update_chan_list(struct ath11k *ar);
Dthermal.h31 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state);
32 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature);
43 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling()
48 static inline void ath11k_thermal_event_temperature(struct ath11k *ar, in ath11k_thermal_event_temperature()
Ddp_tx.h19 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
28 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask);
30 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type,
33 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
Dthermal.c27 struct ath11k *ar = cdev->devdata; in ath11k_thermal_get_cur_throttle_state()
40 struct ath11k *ar = cdev->devdata; in ath11k_thermal_set_cur_throttle_state()
66 struct ath11k *ar = dev_get_drvdata(dev); in ath11k_thermal_show_temp()
109 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) in ath11k_thermal_event_temperature()
126 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling()
161 struct ath11k *ar; in ath11k_thermal_register()
213 struct ath11k *ar; in ath11k_thermal_unregister()
Dpeer.h40 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id);
41 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr);
42 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif,
44 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id,
Dmac.c462 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif()
502 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id()
518 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id()
541 struct ath11k *ath11k_mac_get_ar_vdev_stop_status(struct ath11k_base *ab, in ath11k_mac_get_ar_vdev_stop_status()
546 struct ath11k *ar; in ath11k_mac_get_ar_vdev_stop_status()
566 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update()
584 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc()
643 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot()
682 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout()
725 void ath11k_mac_peer_cleanup_all(struct ath11k *ar) in ath11k_mac_peer_cleanup_all()
[all …]
Dspectral.c156 static struct ath11k_vif *ath11k_spectral_get_vdev(struct ath11k *ar) in ath11k_spectral_get_vdev()
174 static int ath11k_spectral_scan_trigger(struct ath11k *ar) in ath11k_spectral_scan_trigger()
203 static int ath11k_spectral_scan_config(struct ath11k *ar, in ath11k_spectral_scan_config()
271 struct ath11k *ar = file->private_data; in ath11k_read_file_spec_scan_ctl()
300 struct ath11k *ar = file->private_data; in ath11k_write_file_spec_scan_ctl()
365 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_count()
382 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_count()
417 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_bins()
437 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_bins()
472 static int ath11k_spectral_pull_summary(struct ath11k *ar, in ath11k_spectral_pull_summary()
[all …]
Ddbring.c9 static int ath11k_dbring_bufs_replenish(struct ath11k *ar, in ath11k_dbring_bufs_replenish()
73 static int ath11k_dbring_fill_bufs(struct ath11k *ar, in ath11k_dbring_fill_bufs()
112 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, in ath11k_dbring_wmi_cfg_setup()
144 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg()
146 int (*handler)(struct ath11k *, in ath11k_dbring_set_cfg() argument
159 int ath11k_dbring_buf_setup(struct ath11k *ar, in ath11k_dbring_buf_setup()
182 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup()
231 struct ath11k *ar; in ath11k_dbring_buffer_release_event()
334 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_srng_cleanup()
339 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_buf_cleanup()
Dtrace.h21 #define TRACE_SYSTEM ath11k
24 TP_PROTO(struct ath11k *ar, const void *buf, u16 buf_len,
55 TP_PROTO(struct ath11k *ar, const void *data, size_t len),
82 TP_PROTO(struct ath11k *ar, const void *data, size_t len),
Dwmi.h13 struct ath11k;
5007 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
5009 int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id,
5012 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id);
5013 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid,
5015 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id);
5016 int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg,
5018 int ath11k_wmi_set_peer_param(struct ath11k *ar, const u8 *peer_addr,
5020 int ath11k_wmi_pdev_set_param(struct ath11k *ar, u32 param_id,
5022 int ath11k_wmi_pdev_set_ps_mode(struct ath11k *ar, int vdev_id, u32 enable);
[all …]
Ddebugfs.c83 static void ath11k_debugfs_fw_stats_reset(struct ath11k *ar) in ath11k_debugfs_fw_stats_reset()
95 struct ath11k *ar; in ath11k_debugfs_fw_stats_process()
184 static int ath11k_debugfs_fw_stats_request(struct ath11k *ar, in ath11k_debugfs_fw_stats_request()
234 struct ath11k *ar = inode->i_private; in ath11k_open_pdev_stats()
306 struct ath11k *ar = inode->i_private; in ath11k_open_vdev_stats()
378 struct ath11k *ar = inode->i_private; in ath11k_open_bcn_stats()
486 struct ath11k *ar = ab->pdevs[0].ar; in ath11k_write_simulate_fw_crash()
549 struct ath11k *ar = file->private_data; in ath11k_write_enable_extd_tx_stats()
582 struct ath11k *ar = file->private_data; in ath11k_read_enable_extd_tx_stats()
603 struct ath11k *ar = file->private_data; in ath11k_write_extd_rx_stats()
[all …]
Dpeer.c169 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id) in ath11k_peer_cleanup()
192 static int ath11k_wait_for_peer_deleted(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_wait_for_peer_deleted()
197 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id, in ath11k_wait_for_peer_delete_done()
219 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr) in ath11k_peer_delete()
244 static int ath11k_wait_for_peer_created(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_wait_for_peer_created()
249 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_peer_create()
Dtestmode.h10 bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb);
16 static inline bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, in ath11k_tm_event_wmi()
Ddp_rx.c370 static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar, in ath11k_dp_rxdma_buf_ring_free()
416 static int ath11k_dp_rxdma_pdev_buf_free(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_free()
436 static int ath11k_dp_rxdma_ring_buf_setup(struct ath11k *ar, in ath11k_dp_rxdma_ring_buf_setup()
452 static int ath11k_dp_rxdma_pdev_buf_setup(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_setup()
474 static void ath11k_dp_rx_pdev_srng_free(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_free()
527 static int ath11k_dp_rx_pdev_srng_alloc(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_alloc()
755 void ath11k_peer_rx_tid_delete(struct ath11k *ar, in ath11k_peer_rx_tid_delete()
835 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_frags_flush()
853 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_rx_tid_cleanup()
872 static int ath11k_peer_rx_tid_reo_update(struct ath11k *ar, in ath11k_peer_rx_tid_reo_update()
[all …]
Dtestmode.c26 bool ath11k_tm_event_wmi(struct ath11k *ar, u32 cmd_id, struct sk_buff *skb) in ath11k_tm_event_wmi()
86 static int ath11k_tm_cmd_get_version(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_get_version()
118 static int ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_wmi()
179 struct ath11k *ar = hw->priv; in ath11k_tm_cmd()
Dcore.h86 struct ath11k *ar;
201 struct ath11k *ar;
437 struct ath11k { struct
589 struct ath11k *ar;
880 int ath11k_core_init(struct ath11k_base *ath11k);
881 void ath11k_core_deinit(struct ath11k_base *ath11k);
885 void ath11k_core_free(struct ath11k_base *ath11k);
886 int ath11k_core_fetch_bdf(struct ath11k_base *ath11k,
890 void ath11k_core_halt(struct ath11k *ar);
927 static inline struct ath11k *ath11k_ab_to_ar(struct ath11k_base *ab, in ath11k_ab_to_ar()
Ddebugfs_sta.h21 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()
Dwmi.c568 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send()
617 int ath11k_wmi_vdev_create(struct ath11k *ar, u8 *macaddr, in ath11k_wmi_vdev_create()
694 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete()
721 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop()
749 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down()
818 int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg, in ath11k_wmi_vdev_start()
905 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath11k_wmi_vdev_up()
938 int ath11k_wmi_send_peer_create_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_create_cmd()
971 int ath11k_wmi_send_peer_delete_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_delete_cmd()
1003 int ath11k_wmi_send_pdev_set_regdomain(struct ath11k *ar, in ath11k_wmi_send_pdev_set_regdomain()
[all …]

12