Home
last modified time | relevance | path

Searched refs:ath12k (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.h14 struct ath12k;
21 struct ath12k *ar;
97 struct ath12k *ar;
149 void ath12k_mac_11d_scan_start(struct ath12k *ar, u32 vdev_id);
150 void ath12k_mac_11d_scan_stop(struct ath12k *ar);
164 void __ath12k_mac_scan_finish(struct ath12k *ar);
165 void ath12k_mac_scan_finish(struct ath12k *ar);
167 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id);
170 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id);
171 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
[all …]
H A DMakefile2 obj-$(CONFIG_ATH12K) += ath12k.o
3 ath12k-y += core.o \
25 ath12k-$(CONFIG_ATH12K_AHB) += ahb.o
29 ath12k-$(CONFIG_ATH12K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
30 ath12k-$(CONFIG_ACPI) += acpi.o
31 ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
32 ath12k-$(CONFIG_PM) += wow.o
33 ath12k-$(CONFIG_ATH12K_COREDUMP) += coredump.o
34 ath12k-$(CONFIG_NL80211_TESTMODE) += testmode.o
H A Ddbring.h55 int (*handler)(struct ath12k *ar, struct ath12k_dbring_data *data);
58 int ath12k_dbring_set_cfg(struct ath12k *ar,
62 int (*handler)(struct ath12k *,
64 int ath12k_dbring_wmi_cfg_setup(struct ath12k *ar,
67 int ath12k_dbring_buf_setup(struct ath12k *ar,
70 int ath12k_dbring_srng_setup(struct ath12k *ar, struct ath12k_dbring *ring,
78 void ath12k_dbring_srng_cleanup(struct ath12k *ar, struct ath12k_dbring *ring);
79 void ath12k_dbring_buf_cleanup(struct ath12k *ar, struct ath12k_dbring *ring);
H A DKconfig3 tristate "Qualcomm Technologies Wi-Fi 7 support (ath12k)"
16 If you choose to build a module, it'll be called ath12k.
19 bool "QTI ath12k AHB support"
27 bool "ath12k debugging"
37 bool "QTI ath12k debugfs support"
40 Enable ath12k debugfs support
46 bool "ath12k tracing support"
49 Enable ath12k tracing infrastructure.
55 bool "ath12k coredump"
59 Enable ath12k coredump collection
H A Ddebugfs.h13 void ath12k_debugfs_register(struct ath12k *ar);
14 void ath12k_debugfs_unregister(struct ath12k *ar);
19 static inline bool ath12k_debugfs_is_extd_rx_stats_enabled(struct ath12k *ar) in ath12k_debugfs_is_extd_rx_stats_enabled()
24 static inline int ath12k_debugfs_rx_filter(struct ath12k *ar) in ath12k_debugfs_rx_filter()
119 static inline void ath12k_debugfs_register(struct ath12k *ar) in ath12k_debugfs_register()
123 static inline void ath12k_debugfs_unregister(struct ath12k *ar) in ath12k_debugfs_unregister()
127 static inline bool ath12k_debugfs_is_extd_rx_stats_enabled(struct ath12k *ar) in ath12k_debugfs_is_extd_rx_stats_enabled()
132 static inline int ath12k_debugfs_rx_filter(struct ath12k *ar) in ath12k_debugfs_rx_filter()
H A Dwow.h37 int ath12k_wow_init(struct ath12k *ar);
42 int ath12k_wow_enable(struct ath12k *ar);
43 int ath12k_wow_wakeup(struct ath12k *ar);
47 static inline int ath12k_wow_init(struct ath12k *ar) in ath12k_wow_init()
52 static inline int ath12k_wow_enable(struct ath12k *ar) in ath12k_wow_enable()
57 static inline int ath12k_wow_wakeup(struct ath12k *ar) in ath12k_wow_wakeup()
H A Dpeer.h12 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id);
13 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr);
14 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif,
17 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id,
H A Dcore.h127 struct ath12k *ar;
315 struct ath12k *ar;
399 struct ath12k *ar;
611 struct ath12k { struct
781 struct ath12k radio[] __aligned(sizeof(void *)); argument
832 struct ath12k *ar;
1242 int ath12k_core_init(struct ath12k_base *ath12k);
1243 void ath12k_core_deinit(struct ath12k_base *ath12k);
1246 void ath12k_core_free(struct ath12k_base *ath12k);
1250 int ath12k_core_fetch_bdf(struct ath12k_base *ath12k,
[all …]
H A Dwow.c39 int ath12k_wow_enable(struct ath12k *ar) in ath12k_wow_enable()
81 int ath12k_wow_wakeup(struct ath12k *ar) in ath12k_wow_wakeup()
106 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_cleanup()
130 static int ath12k_wow_cleanup(struct ath12k *ar) in ath12k_wow_cleanup()
163 ath12k_wow_convert_8023_to_80211(struct ath12k *ar, in ath12k_wow_convert_8023_to_80211()
267 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert()
364 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_set_wakeups()
476 static int ath12k_wow_set_wakeups(struct ath12k *ar, in ath12k_wow_set_wakeups()
502 static int ath12k_wow_vdev_clean_nlo(struct ath12k *ar, u32 vdev_id) in ath12k_wow_vdev_clean_nlo()
530 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_clean_nlo()
[all …]
H A Ddbring.c11 static int ath12k_dbring_bufs_replenish(struct ath12k *ar, in ath12k_dbring_bufs_replenish()
76 static int ath12k_dbring_fill_bufs(struct ath12k *ar, in ath12k_dbring_fill_bufs()
117 int ath12k_dbring_wmi_cfg_setup(struct ath12k *ar, in ath12k_dbring_wmi_cfg_setup()
149 int ath12k_dbring_set_cfg(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_set_cfg()
151 int (*handler)(struct ath12k *, in ath12k_dbring_set_cfg() argument
164 int ath12k_dbring_buf_setup(struct ath12k *ar, in ath12k_dbring_buf_setup()
187 int ath12k_dbring_srng_setup(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_srng_setup()
236 struct ath12k *ar; in ath12k_dbring_buffer_release_event()
338 void ath12k_dbring_srng_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_srng_cleanup()
343 void ath12k_dbring_buf_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_buf_cleanup()
H A Dwmi.h27 struct ath12k;
6371 int ath12k_wmi_p2p_go_bcn_ie(struct ath12k *ar, u32 vdev_id,
6377 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id);
6378 int ath12k_wmi_vdev_up(struct ath12k *ar, struct ath12k_wmi_vdev_up_params *params);
6379 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id);
6380 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg,
6382 int ath12k_wmi_set_peer_param(struct ath12k *ar, const u8 *peer_addr,
6384 int ath12k_wmi_pdev_set_param(struct ath12k *ar, u32 param_id,
6386 int ath12k_wmi_pdev_set_ps_mode(struct ath12k *ar, int vdev_id, u32 enable);
6395 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr,
[all …]
H A Dtestmode.c28 static struct ath12k *ath12k_tm_get_ar(struct ath12k_base *ab) in ath12k_tm_get_ar()
31 struct ath12k *ar; in ath12k_tm_get_ar()
49 struct ath12k *ar; in ath12k_tm_wmi_event_unsegmented()
93 struct ath12k *ar; in ath12k_tm_process_event()
179 static int ath12k_tm_cmd_get_version(struct ath12k *ar, struct nlattr *tb[]) in ath12k_tm_cmd_get_version()
207 static int ath12k_tm_cmd_process_ftm(struct ath12k *ar, struct nlattr *tb[]) in ath12k_tm_cmd_process_ftm()
281 static int ath12k_tm_cmd_testmode_start(struct ath12k *ar, struct nlattr *tb[]) in ath12k_tm_cmd_testmode_start()
300 static int ath12k_tm_cmd_wmi(struct ath12k *ar, struct nlattr *tb[]) in ath12k_tm_cmd_wmi()
358 struct ath12k *ar = NULL; in ath12k_tm_cmd()
H A Dmac.c258 static int ath12k_start_vdev_delay(struct ath12k *ar,
260 static void ath12k_mac_stop(struct ath12k *ar);
261 static int ath12k_mac_vdev_create(struct ath12k *ar, struct ath12k_link_vif *arvif);
262 static int ath12k_mac_vdev_delete(struct ath12k *ar, struct ath12k_link_vif *arvif);
632 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif()
652 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_bssid()
680 struct ath12k *ar = arvif->ar; in ath12k_mac_get_link_bss_conf()
777 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif()
821 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id()
837 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id()
[all …]
H A Ddp_rx.h212 int ath12k_dp_rx_ampdu_start(struct ath12k *ar,
215 int ath12k_dp_rx_ampdu_stop(struct ath12k *ar,
222 void ath12k_dp_rx_peer_tid_cleanup(struct ath12k *ar, struct ath12k_dp_link_peer *peer);
223 void ath12k_dp_rx_peer_tid_delete(struct ath12k *ar,
225 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id,
240 int ath12k_dp_rx_pdev_mon_attach(struct ath12k *ar);
241 int ath12k_dp_rx_peer_frag_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id);
H A Dpeer.c37 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id) in ath12k_peer_cleanup()
60 static int ath12k_wait_for_peer_deleted(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_deleted()
65 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id, in ath12k_wait_for_peer_delete_done()
87 static int ath12k_peer_delete_send(struct ath12k *ar, u32 vdev_id, const u8 *addr) in ath12k_peer_delete_send()
107 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr) in ath12k_peer_delete()
130 static int ath12k_wait_for_peer_created(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_created()
135 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif, in ath12k_peer_create()
282 struct ath12k *ar; in ath12k_peer_mlo_link_peers_delete()
H A Dp2p.c76 struct ath12k *ar = arvif->ar; in ath12k_p2p_noa_ie_assign()
89 struct ath12k *ar = arvif->ar; in __ath12k_p2p_noa_update()
112 struct ath12k *ar = arvif->ar; in ath12k_p2p_noa_update()
134 void ath12k_p2p_noa_update_by_vdev_id(struct ath12k *ar, u32 vdev_id, in ath12k_p2p_noa_update_by_vdev_id()
H A Ddebugfs.c17 struct ath12k *ar = file->private_data; in ath12k_write_simulate_radar()
54 struct ath12k *ar = NULL; in ath12k_write_simulate_fw_crash()
110 struct ath12k *ar = file->private_data; in ath12k_write_tpc_stats_type()
128 static int ath12k_debug_tpc_stats_request(struct ath12k *ar) in ath12k_debug_tpc_stats_request()
248 static s16 ath12k_tpc_get_rate(struct ath12k *ar, in ath12k_tpc_get_rate()
400 static bool ath12k_he_supports_extra_mcs(struct ath12k *ar, int freq) in ath12k_he_supports_extra_mcs()
418 static int ath12k_tpc_fill_pream(struct ath12k *ar, char *buf, int buf_len, int len, in ath12k_tpc_fill_pream()
512 static int ath12k_tpc_stats_print(struct ath12k *ar, in ath12k_tpc_stats_print()
704 static void ath12k_tpc_stats_fill(struct ath12k *ar, in ath12k_tpc_stats_fill()
743 struct ath12k *ar = inode->i_private; in ath12k_open_tpc_stats()
[all …]
H A Dreg.h14 struct ath12k;
110 int ath12k_regd_update(struct ath12k *ar, bool init);
111 int ath12k_reg_update_chan_list(struct ath12k *ar, bool wait);
H A Dp2p.h15 struct ath12k *ar;
21 void ath12k_p2p_noa_update_by_vdev_id(struct ath12k *ar, u32 vdev_id,
H A Dwmi.c679 static u32 ath12k_wmi_mgmt_get_freq(struct ath12k *ar, in ath12k_wmi_mgmt_get_freq()
716 struct ath12k *ar = arvif->ar; in ath12k_wmi_mgmt_send()
807 int ath12k_wmi_send_stats_request_cmd(struct ath12k *ar, u32 stats_id, in ath12k_wmi_send_stats_request_cmd()
840 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, in ath12k_wmi_vdev_create()
938 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete()
965 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop()
993 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down()
1078 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, in ath12k_wmi_vdev_start()
1228 int ath12k_wmi_vdev_up(struct ath12k *ar, struct ath12k_wmi_vdev_up_params *params) in ath12k_wmi_vdev_up()
1267 int ath12k_wmi_send_peer_create_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_create_cmd()
[all …]
H A Dtrace.h22 #define TRACE_SYSTEM ath12k
25 TP_PROTO(struct ath12k *ar, const void *buf, u16 buf_len,
56 TP_PROTO(struct ath12k *ar, const void *data, size_t len),
99 TP_PROTO(struct ath12k *ar, const void *data, size_t type, size_t len),
H A Dreg.c54 struct ath12k *ar = ath12k_ah_to_ar(ah, 0); in ath12k_reg_notifier()
133 int ath12k_reg_update_chan_list(struct ath12k *ar, bool wait) in ath12k_reg_update_chan_list()
269 int ath12k_regd_update(struct ath12k *ar, bool init) in ath12k_regd_update()
807 struct ath12k *ar = container_of(work, struct ath12k, in ath12k_regd_update_chan_list_work()
855 struct ath12k *ar = container_of(work, struct ath12k, in ath12k_regd_update_work()
934 struct ath12k *ar; in ath12k_reg_handle_chan_list()
H A Ddp_rx.c281 static void ath12k_dp_rx_pdev_srng_free(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_free()
324 static int ath12k_dp_rx_pdev_srng_alloc(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_alloc()
536 void ath12k_dp_rx_peer_tid_cleanup(struct ath12k *ar, struct ath12k_dp_link_peer *peer) in ath12k_dp_rx_peer_tid_cleanup()
586 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id, in ath12k_dp_rx_peer_tid_setup()
702 int ath12k_dp_rx_ampdu_start(struct ath12k *ar, in ath12k_dp_rx_ampdu_start()
730 int ath12k_dp_rx_ampdu_stop(struct ath12k *ar, in ath12k_dp_rx_ampdu_stop()
792 struct ath12k *ar = arvif->ar; in ath12k_dp_rx_peer_pn_replay_config()
1192 struct ath12k *ar; in ath12k_dp_rx_h_rate()
1298 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_rx_h_ppdu()
1435 int ath12k_dp_rx_peer_frag_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id) in ath12k_dp_rx_peer_frag_setup()
[all …]
H A Dcore.c74 struct ath12k *ar; in ath12k_core_rfkill_config()
104 struct ath12k *ar; in ath12k_core_continue_suspend_resume()
121 struct ath12k *ar; in ath12k_core_suspend()
1022 u8 ath12k_get_num_partner_link(struct ath12k *ar) in ath12k_get_num_partner_link()
1049 static int __ath12k_mac_mlo_ready(struct ath12k *ar) in __ath12k_mac_mlo_ready()
1073 struct ath12k *ar; in ath12k_mac_mlo_ready()
1241 void ath12k_fw_stats_init(struct ath12k *ar) in ath12k_fw_stats_init()
1257 void ath12k_fw_stats_reset(struct ath12k *ar) in ath12k_fw_stats_reset()
1398 struct ath12k *ar; in ath12k_rfkill_work()
1426 void ath12k_core_halt(struct ath12k *ar) in ath12k_core_halt()
[all …]
H A Ddp.h682 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_link_vif *arvif);
685 void ath12k_dp_pdev_pre_alloc(struct ath12k *ar);
687 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr);
688 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr);

12