/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.h | 13 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);
|
H A D | dbring.h | 55 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 D | dp_tx.h | 19 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);
|
H A D | dp_rx.h | 87 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,
|
H A D | Kconfig | 3 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.
|
H A D | dbring.c | 10 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()
|
H A D | mac.c | 532 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 …]
|
H A D | peer.h | 57 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id); 58 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr); 59 int ath12k_peer_create(struct ath12k *ar, struct ath12k_vif *arvif, 62 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id,
|
H A D | reg.h | 14 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);
|
H A D | dp_mon.h | 78 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,
|
H A D | Makefile | 2 obj-$(CONFIG_ATH12K) += ath12k.o 3 ath12k-y += core.o \ 24 ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
|
H A D | wmi.h | 26 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 …]
|
H A D | core.h | 102 struct ath12k *ar; 223 struct ath12k *ar; 469 struct ath12k { struct 640 struct ath12k *ar; 801 int ath12k_core_init(struct ath12k_base *ath12k); 802 void ath12k_core_deinit(struct ath12k_base *ath12k); 805 void ath12k_core_free(struct ath12k_base *ath12k); 809 int ath12k_core_fetch_bdf(struct ath12k_base *ath12k, 812 int ath12k_core_check_dt(struct ath12k_base *ath12k); 814 void ath12k_core_halt(struct ath12k *ar); [all …]
|
H A D | peer.c | 184 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()
|
H A D | trace.h | 22 #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 D | dp_rx.c | 483 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() 1335 ath12k_update_per_peer_tx_stats(struct ath12k *ar, in ath12k_update_per_peer_tx_stats() [all …]
|
H A D | wmi.c | 760 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id, in ath12k_wmi_mgmt_send() 805 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, in ath12k_wmi_vdev_create() 892 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() 919 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop() 947 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down() 1015 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, in ath12k_wmi_vdev_start() 1112 int ath12k_wmi_vdev_up(struct ath12k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath12k_wmi_vdev_up() 1145 int ath12k_wmi_send_peer_create_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_create_cmd() 1178 int ath12k_wmi_send_peer_delete_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_delete_cmd() 1210 int ath12k_wmi_send_pdev_set_regdomain(struct ath12k *ar, in ath12k_wmi_send_pdev_set_regdomain() [all …]
|
H A D | reg.c | 31 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() 204 int ath12k_regd_update(struct ath12k *ar, bool init) 716 struct ath12k *ar = container_of(work, struct ath12k, 731 void ath12k_reg_init(struct ath12k *ar)
|
H A D | dp_tx.c | 132 int ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif, in ath12k_dp_tx() 352 struct ath12k *ar; in ath12k_dp_tx_free_txbuf() 378 struct ath12k *ar; in ath12k_dp_tx_htt_tx_complete_buf() 452 static void ath12k_dp_tx_complete_msdu(struct ath12k *ar, in ath12k_dp_tx_complete_msdu() 539 struct ath12k *ar; in ath12k_dp_tx_completion_handler() 852 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask) in ath12k_dp_tx_htt_h2t_ppdu_stats_req() 986 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, in ath12k_dp_tx_htt_h2t_ext_stats_req() 1028 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_monitor_mode_ring_config() 1048 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() 1199 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()
|
H A D | dp_mon.c | 865 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 …]
|
H A D | core.c | 685 void ath12k_core_halt(struct ath12k *ar) in ath12k_core_halt() 707 struct ath12k *ar; in ath12k_core_pre_reconfigure_recovery() 745 struct ath12k *ar; in ath12k_core_post_reconfigure_recovery()
|
H A D | zzz_fw_ports_fwget.sh | 20 DRIVER=ath12k
|
H A D | dp.c | 23 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_cleanup() 44 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_setup() 996 struct ath12k *ar; in ath12k_dp_pdev_pre_alloc() 1034 struct ath12k *ar; in ath12k_dp_pdev_alloc() 1111 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_vif *arvif) in ath12k_dp_vdev_tx_attach()
|
/freebsd/usr.sbin/fwget/pci/ |
H A D | pci_network_qca | 75 # ath12k 83 # { sys/contrib/dev/athk/ath12k/zzz_fw_ports_fwget.sh } 86 0x1107) addpkg "wifi-firmware-ath12k-kmod-wcn7850_hw20"; return 1 ;; 95 for _drv in ath10k ath11k ath12k; do
|
/freebsd/sys/modules/ath12k/ |
H A D | Makefile | 1 DEVATH12KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath12k
|