Home
last modified time | relevance | path

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

12

/drivers/net/wireless/ath/ath12k/
Dmac.h13 struct ath12k;
17 struct ath12k *ar;
61 void __ath12k_mac_scan_finish(struct ath12k *ar);
62 void ath12k_mac_scan_finish(struct ath12k *ar);
64 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id);
67 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id);
68 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
70 void ath12k_mac_drain_tx(struct ath12k *ar);
71 void ath12k_mac_peer_cleanup_all(struct ath12k *ar);
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);
Ddp_tx.h19 int ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif,
23 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask);
25 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type,
28 int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset);
39 int ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset);
40 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset);
Ddp_rx.h87 int ath12k_dp_rx_ampdu_start(struct ath12k *ar,
89 int ath12k_dp_rx_ampdu_stop(struct ath12k *ar,
95 void ath12k_dp_rx_peer_tid_cleanup(struct ath12k *ar, struct ath12k_peer *peer);
96 void ath12k_dp_rx_peer_tid_delete(struct ath12k *ar,
98 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id,
124 int ath12k_dp_rx_pdev_mon_attach(struct ath12k *ar);
125 int ath12k_dp_rx_peer_frag_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id);
137 void ath12k_dp_rx_h_ppdu(struct ath12k *ar, struct hal_rx_desc *rx_desc,
DKconfig3 tristate "Qualcomm Technologies Wi-Fi 7 support (ath12k)"
15 If you choose to build a module, it'll be called ath12k.
18 bool "ath12k debugging"
28 bool "ath12k tracing support"
31 Enable ath12k tracing infrastructure.
Dmac.c532 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif()
571 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id()
587 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id()
610 static void ath12k_pdev_caps_update(struct ath12k *ar) in ath12k_pdev_caps_update()
628 static int ath12k_mac_txpower_recalc(struct ath12k *ar) in ath12k_mac_txpower_recalc()
687 struct ath12k *ar = arvif->ar; in ath12k_recalc_rtscts_prot()
726 struct ath12k *ar = arvif->ar; in ath12k_mac_set_kickout()
769 void ath12k_mac_peer_cleanup_all(struct ath12k *ar) in ath12k_mac_peer_cleanup_all()
788 static int ath12k_mac_vdev_setup_sync(struct ath12k *ar) in ath12k_mac_vdev_setup_sync()
805 static int ath12k_monitor_vdev_up(struct ath12k *ar, int vdev_id) in ath12k_monitor_vdev_up()
[all …]
Ddbring.c10 static int ath12k_dbring_bufs_replenish(struct ath12k *ar, in ath12k_dbring_bufs_replenish()
75 static int ath12k_dbring_fill_bufs(struct ath12k *ar, in ath12k_dbring_fill_bufs()
116 int ath12k_dbring_wmi_cfg_setup(struct ath12k *ar, in ath12k_dbring_wmi_cfg_setup()
148 int ath12k_dbring_set_cfg(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_set_cfg()
150 int (*handler)(struct ath12k *, in ath12k_dbring_set_cfg() argument
163 int ath12k_dbring_buf_setup(struct ath12k *ar, in ath12k_dbring_buf_setup()
186 int ath12k_dbring_srng_setup(struct ath12k *ar, struct ath12k_dbring *ring, in ath12k_dbring_srng_setup()
235 struct ath12k *ar; in ath12k_dbring_buffer_release_event()
337 void ath12k_dbring_srng_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_srng_cleanup()
342 void ath12k_dbring_buf_cleanup(struct ath12k *ar, struct ath12k_dbring *ring) in ath12k_dbring_buf_cleanup()
Dpeer.h60 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id);
61 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr);
62 int ath12k_peer_create(struct ath12k *ar, struct ath12k_vif *arvif,
65 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id,
Dreg.h14 struct ath12k;
86 void ath12k_reg_init(struct ath12k *ar);
92 int ath12k_regd_update(struct ath12k *ar, bool init);
93 int ath12k_reg_update_chan_list(struct ath12k *ar);
Ddp_mon.h78 ath12k_dp_mon_rx_parse_mon_status(struct ath12k *ar,
85 int ath12k_dp_mon_srng_process(struct ath12k *ar, int mac_id,
97 ath12k_dp_mon_tx_parse_mon_status(struct ath12k *ar,
104 int ath12k_dp_mon_rx_process_stats(struct ath12k *ar, int mac_id,
Dwmi.h26 struct ath12k;
4803 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id,
4805 int ath12k_wmi_bcn_tmpl(struct ath12k *ar, u32 vdev_id,
4808 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id);
4809 int ath12k_wmi_vdev_up(struct ath12k *ar, u32 vdev_id, u32 aid,
4811 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id);
4812 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg,
4814 int ath12k_wmi_set_peer_param(struct ath12k *ar, const u8 *peer_addr,
4816 int ath12k_wmi_pdev_set_param(struct ath12k *ar, u32 param_id,
4818 int ath12k_wmi_pdev_set_ps_mode(struct ath12k *ar, int vdev_id, u32 enable);
[all …]
DMakefile2 obj-$(CONFIG_ATH12K) += ath12k.o
3 ath12k-y += core.o \
24 ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
Dcore.h81 struct ath12k *ar;
204 struct ath12k *ar;
450 struct ath12k { struct
621 struct ath12k *ar;
782 int ath12k_core_init(struct ath12k_base *ath12k);
783 void ath12k_core_deinit(struct ath12k_base *ath12k);
786 void ath12k_core_free(struct ath12k_base *ath12k);
790 int ath12k_core_fetch_bdf(struct ath12k_base *ath12k,
794 void ath12k_core_halt(struct ath12k *ar);
835 static inline struct ath12k *ath12k_ab_to_ar(struct ath12k_base *ab, in ath12k_ab_to_ar()
Dpeer.c184 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id) in ath12k_peer_cleanup()
207 static int ath12k_wait_for_peer_deleted(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_deleted()
212 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id, in ath12k_wait_for_peer_delete_done()
234 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr) in ath12k_peer_delete()
259 static int ath12k_wait_for_peer_created(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_created()
264 int ath12k_peer_create(struct ath12k *ar, struct ath12k_vif *arvif, in ath12k_peer_create()
Ddp_rx.c483 static void ath12k_dp_rx_pdev_srng_free(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_free()
528 static int ath12k_dp_rx_pdev_srng_alloc(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_alloc()
792 void ath12k_dp_rx_peer_tid_delete(struct ath12k *ar, in ath12k_dp_rx_peer_tid_delete()
880 void ath12k_dp_rx_peer_tid_cleanup(struct ath12k *ar, struct ath12k_peer *peer) in ath12k_dp_rx_peer_tid_cleanup()
899 static int ath12k_peer_rx_tid_reo_update(struct ath12k *ar, in ath12k_peer_rx_tid_reo_update()
933 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id, in ath12k_dp_rx_peer_tid_setup()
1053 int ath12k_dp_rx_ampdu_start(struct ath12k *ar, in ath12k_dp_rx_ampdu_start()
1070 int ath12k_dp_rx_ampdu_stop(struct ath12k *ar, in ath12k_dp_rx_ampdu_stop()
1112 struct ath12k *ar = arvif->ar; in ath12k_dp_rx_peer_pn_replay_config()
1323 ath12k_update_per_peer_tx_stats(struct ath12k *ar, in ath12k_update_per_peer_tx_stats()
[all …]
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),
Dwmi.c748 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id, in ath12k_wmi_mgmt_send()
793 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, in ath12k_wmi_vdev_create()
868 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete()
895 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop()
923 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down()
991 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, in ath12k_wmi_vdev_start()
1076 int ath12k_wmi_vdev_up(struct ath12k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath12k_wmi_vdev_up()
1109 int ath12k_wmi_send_peer_create_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_create_cmd()
1142 int ath12k_wmi_send_peer_delete_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_delete_cmd()
1174 int ath12k_wmi_send_pdev_set_regdomain(struct ath12k *ar, in ath12k_wmi_send_pdev_set_regdomain()
[all …]
Dreg.c31 static bool ath12k_regdom_changes(struct ath12k *ar, char *alpha2) in ath12k_regdom_changes()
51 struct ath12k *ar = hw->priv; in ath12k_reg_notifier()
93 int ath12k_reg_update_chan_list(struct ath12k *ar) in ath12k_reg_update_chan_list()
200 int ath12k_regd_update(struct ath12k *ar, bool init) in ath12k_regd_update()
703 struct ath12k *ar = container_of(work, struct ath12k, in ath12k_regd_update_work()
718 void ath12k_reg_init(struct ath12k *ar) in ath12k_reg_init()
Ddp_tx.c128 int ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif, in ath12k_dp_tx()
351 struct ath12k *ar; in ath12k_dp_tx_free_txbuf()
377 struct ath12k *ar; in ath12k_dp_tx_htt_tx_complete_buf()
447 static void ath12k_dp_tx_complete_msdu(struct ath12k *ar, in ath12k_dp_tx_complete_msdu()
534 struct ath12k *ar; in ath12k_dp_tx_completion_handler()
847 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask) in ath12k_dp_tx_htt_h2t_ppdu_stats_req()
981 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, in ath12k_dp_tx_htt_h2t_ext_stats_req()
1023 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_monitor_mode_ring_config()
1043 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()
1194 int ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_tx_monitor_mode_ring_config()
Ddp_mon.c865 static void ath12k_dp_mon_rx_msdus_set_payload(struct ath12k *ar, struct sk_buff *msdu) in ath12k_dp_mon_rx_msdus_set_payload()
876 ath12k_dp_mon_rx_merg_msdus(struct ath12k *ar, in ath12k_dp_mon_rx_merg_msdus()
1017 static void ath12k_dp_mon_update_radiotap(struct ath12k *ar, in ath12k_dp_mon_update_radiotap()
1062 static void ath12k_dp_mon_rx_deliver_msdu(struct ath12k *ar, struct napi_struct *napi, in ath12k_dp_mon_rx_deliver_msdu()
1137 static int ath12k_dp_mon_rx_deliver(struct ath12k *ar, u32 mac_id, in ath12k_dp_mon_rx_deliver()
1233 ath12k_dp_mon_rx_parse_mon_status(struct ath12k *ar, in ath12k_dp_mon_rx_parse_mon_status()
1983 ath12k_dp_mon_tx_process_ppdu_info(struct ath12k *ar, int mac_id, in ath12k_dp_mon_tx_process_ppdu_info()
2004 ath12k_dp_mon_tx_parse_mon_status(struct ath12k *ar, in ath12k_dp_mon_tx_parse_mon_status()
2059 int ath12k_dp_mon_srng_process(struct ath12k *ar, int mac_id, int *budget, in ath12k_dp_mon_srng_process()
2205 static void ath12k_dp_mon_rx_update_peer_su_stats(struct ath12k *ar, in ath12k_dp_mon_rx_update_peer_su_stats()
[all …]
Dcore.c658 void ath12k_core_halt(struct ath12k *ar) in ath12k_core_halt()
680 struct ath12k *ar; in ath12k_core_pre_reconfigure_recovery()
718 struct ath12k *ar; in ath12k_core_post_reconfigure_recovery()
Ddp.c23 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_cleanup()
45 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_setup()
995 struct ath12k *ar; in ath12k_dp_pdev_pre_alloc()
1033 struct ath12k *ar; in ath12k_dp_pdev_alloc()
1110 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_vif *arvif) in ath12k_dp_vdev_tx_attach()
Ddp.h1792 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_vif *arvif);
1801 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr);
1802 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr);
/drivers/net/wireless/ath/
DMakefile11 obj-$(CONFIG_ATH12K) += ath12k/
DKconfig66 source "drivers/net/wireless/ath/ath12k/Kconfig"

12