Home
last modified time | relevance | path

Searched full:ath12k (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath12k/
H A DKconfig2 config ATH12K config
3 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"
20 depends on ATH12K && REMOTEPROC
24 Enable support for Ath12k AHB bus chipsets, example IPQ5332.
27 bool "ath12k debugging"
28 depends on ATH12K
37 bool "QTI ath12k debugfs support"
38 depends on ATH12K && MAC80211_DEBUGFS
[all …]
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 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 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 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()
160 ath12k_wow_convert_8023_to_80211(struct ath12k *ar, in ath12k_wow_convert_8023_to_80211()
264 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert()
361 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_set_wakeups()
473 static int ath12k_wow_set_wakeups(struct ath12k *ar, in ath12k_wow_set_wakeups()
495 static int ath12k_wow_vdev_clean_nlo(struct ath12k *ar, u32 vdev_id) in ath12k_wow_vdev_clean_nlo()
523 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_clean_nlo()
[all …]
H A Dmac.c256 static int ath12k_start_vdev_delay(struct ath12k *ar,
258 static void ath12k_mac_stop(struct ath12k *ar);
259 static int ath12k_mac_vdev_create(struct ath12k *ar, struct ath12k_link_vif *arvif);
260 static int ath12k_mac_vdev_delete(struct ath12k *ar, struct ath12k_link_vif *arvif);
601 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif()
621 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_bssid()
649 struct ath12k *ar = arvif->ar; in ath12k_mac_get_link_bss_conf()
746 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif()
790 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id()
806 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 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 Dpeer.h82 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id);
83 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr);
84 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif,
87 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id,
H A Dpeer.c220 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id) in ath12k_peer_cleanup()
243 static int ath12k_wait_for_peer_deleted(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_deleted()
248 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id, in ath12k_wait_for_peer_delete_done()
270 static int ath12k_peer_delete_send(struct ath12k *ar, u32 vdev_id, const u8 *addr) in ath12k_peer_delete_send()
290 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr) in ath12k_peer_delete()
309 static int ath12k_wait_for_peer_created(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_created()
314 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif, in ath12k_peer_create()
514 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 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 Dwmi.c759 static u32 ath12k_wmi_mgmt_get_freq(struct ath12k *ar, in ath12k_wmi_mgmt_get_freq()
796 struct ath12k *ar = arvif->ar; in ath12k_wmi_mgmt_send()
887 int ath12k_wmi_send_stats_request_cmd(struct ath12k *ar, u32 stats_id, in ath12k_wmi_send_stats_request_cmd()
920 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, in ath12k_wmi_vdev_create()
1018 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete()
1045 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop()
1073 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down()
1158 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, in ath12k_wmi_vdev_start()
1308 int ath12k_wmi_vdev_up(struct ath12k *ar, struct ath12k_wmi_vdev_up_params *params) in ath12k_wmi_vdev_up()
1347 int ath12k_wmi_send_peer_create_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_create_cmd()
[all …]
H A Dcore.c72 struct ath12k *ar; in ath12k_core_rfkill_config()
102 struct ath12k *ar; in ath12k_core_continue_suspend_resume()
119 struct ath12k *ar; in ath12k_core_suspend()
1013 u8 ath12k_get_num_partner_link(struct ath12k *ar) in ath12k_get_num_partner_link()
1040 static int __ath12k_mac_mlo_ready(struct ath12k *ar) in __ath12k_mac_mlo_ready()
1064 struct ath12k *ar; in ath12k_mac_mlo_ready()
1232 void ath12k_fw_stats_init(struct ath12k *ar) in ath12k_fw_stats_init()
1248 void ath12k_fw_stats_reset(struct ath12k *ar) in ath12k_fw_stats_reset()
1389 struct ath12k *ar; in ath12k_rfkill_work()
1417 void ath12k_core_halt(struct ath12k *ar) in ath12k_core_halt()
[all …]
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_tx.c222 int ath12k_dp_tx(struct ath12k *ar, struct ath12k_link_vif *arvif, in ath12k_dp_tx()
546 struct ath12k *ar; in ath12k_dp_tx_free_txbuf()
579 struct ath12k *ar; in ath12k_dp_tx_htt_tx_complete_buf()
701 static void ath12k_dp_tx_update_txcompl(struct ath12k *ar, struct hal_tx_status *ts) in ath12k_dp_tx_update_txcompl()
819 static void ath12k_dp_tx_complete_msdu(struct ath12k *ar, in ath12k_dp_tx_complete_msdu()
999 struct ath12k *ar; in ath12k_dp_tx_completion_handler()
1328 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask) in ath12k_dp_tx_htt_h2t_ppdu_stats_req()
1513 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, in ath12k_dp_tx_htt_h2t_ext_stats_req()
1557 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_monitor_mode_ring_config()
1571 int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_rx_monitor_mode_ring_config()
H A Dhw.h73 #define ATH12K_FW_DIR "ath12k"
75 #define ATH12K_BOARD_MAGIC "QCA-ATH12K-BOARD"
H A Ddebugfs_sta.c151 struct ath12k *ar; in ath12k_dbg_sta_dump_rx_stats()
267 struct ath12k *ar; in ath12k_dbg_sta_reset_rx_stats()
323 struct ath12k *ar; in ath12k_debugfs_link_sta_op_add()
H A Ddebug.c69 printk(KERN_DEBUG "ath12k: %pV", &vaf); in __ath12k_dbg()
H A Dpci.c1377 strscpy(file_data->df_magic, "ATH12K-FW-DUMP", sizeof(file_data->df_magic)); in ath12k_pci_coredump_download()
1560 dev_err(&pdev->dev, "failed to allocate ath12k base\n"); in ath12k_pci_probe()
1862 pr_err("failed to register ath12k pci driver: %d\n", in ath12k_pci_init()
H A Ddebugfs_htt_stats.c5848 struct ath12k *ar; in ath12k_debugfs_htt_ext_stats_handler()
5906 struct ath12k *ar = file->private_data; in ath12k_read_htt_stats_type()
5924 struct ath12k *ar = file->private_data; in ath12k_write_htt_stats_type()
5970 static int ath12k_debugfs_htt_stats_req(struct ath12k *ar) in ath12k_debugfs_htt_stats_req()
6019 struct ath12k *ar = inode->i_private; in ath12k_open_htt_stats()
6078 struct ath12k *ar = inode->i_private; in ath12k_release_htt_stats()
6113 struct ath12k *ar = file->private_data; in ath12k_write_htt_stats_reset()
6170 void ath12k_debugfs_htt_stats_register(struct ath12k *ar) in ath12k_debugfs_htt_stats_register()
H A Ddebugfs_htt_stats.h24 void ath12k_debugfs_htt_stats_register(struct ath12k *ar);
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dqcom,ath12k-wsi.yaml5 $id: http://devicetree.org/schemas/net/wireless/qcom,ath12k-wsi.yaml#
8 title: Qualcomm Technologies ath12k wireless devices (PCIe) with WSI interface
16 The ath12k devices (QCN9274) feature WSI support. WSI stands for
61 qcom,ath12k-calibration-variant:
/linux/drivers/net/wireless/ath/
H A DMakefile11 obj-$(CONFIG_ATH12K) += ath12k/
H A DKconfig66 source "drivers/net/wireless/ath/ath12k/Kconfig"

12