Home
last modified time | relevance | path

Searched full:ath11k (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/contrib/dev/athk/ath11k/
H A DKconfig2 config ATH11K config
12 If you choose to build a module, it'll be called ath11k.
15 tristate "Atheros ath11k AHB support"
16 depends on ATH11K
22 tristate "Atheros ath11k PCI support"
23 depends on ATH11K && PCI
31 bool "QCA ath11k debugging"
32 depends on ATH11K
39 bool "QCA ath11k debugfs support"
40 depends on ATH11K && DEBUG_FS && MAC80211_DEBUGFS
[all …]
H A Ddebugfs.h270 int ath11k_debugfs_register(struct ath11k *ar);
271 void ath11k_debugfs_unregister(struct ath11k *ar);
272 void ath11k_debugfs_fw_stats_process(struct ath11k *ar, struct ath11k_fw_stats *stats);
274 void ath11k_debugfs_fw_stats_init(struct ath11k *ar);
275 int ath11k_debugfs_get_fw_stats(struct ath11k *ar, u32 pdev_id,
278 static inline bool ath11k_debugfs_is_pktlog_lite_mode_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_lite_mode_enabled()
283 static inline bool ath11k_debugfs_is_pktlog_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_rx_stats_enabled()
288 static inline bool ath11k_debugfs_is_pktlog_peer_valid(struct ath11k *ar, u8 *addr) in ath11k_debugfs_is_pktlog_peer_valid()
294 static inline int ath11k_debugfs_is_extd_tx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_tx_stats_enabled()
299 static inline int ath11k_debugfs_is_extd_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_rx_stats_enabled()
[all …]
H A Dmac.h13 struct ath11k;
17 struct ath11k *ar;
134 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id);
135 void ath11k_mac_11d_scan_stop(struct ath11k *ar);
149 void __ath11k_mac_scan_finish(struct ath11k *ar);
150 void ath11k_mac_scan_finish(struct ath11k *ar);
152 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id);
155 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar);
159 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id);
160 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
[all …]
H A DMakefile2 obj-$(CONFIG_ATH11K) += ath11k.o
3 ath11k-y += core.o \
22 ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
23 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
24 ath11k-$(CONFIG_ATH11K_TRACING) += trace.o
25 ath11k-$(CONFIG_THERMAL) += thermal.o
26 ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
27 ath11k-$(CONFIG_PM) += wow.o
H A Ddbring.h59 int (*handler)(struct ath11k *, struct ath11k_dbring_data *);
62 int ath11k_dbring_set_cfg(struct ath11k *ar,
66 int (*handler)(struct ath11k *,
68 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar,
71 int ath11k_dbring_buf_setup(struct ath11k *ar,
74 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring,
82 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
83 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
84 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *data, u32 size);
H A 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,
95 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar);
96 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar);
97 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
H A Dspectral.h46 void ath11k_spectral_reset_buffer(struct ath11k *ar);
47 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar);
48 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar);
66 static inline void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer()
71 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar) in ath11k_spectral_get_mode()
77 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar) in ath11k_spectral_get_dbring()
H A Dreg.h13 struct ath11k;
27 /* ATH11K Regulatory API's */
28 void ath11k_reg_init(struct ath11k *ar);
34 int ath11k_regd_update(struct ath11k *ar);
35 int ath11k_reg_update_chan_list(struct ath11k *ar, bool wait);
H A Dwmi.h17 struct ath11k;
6331 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
6333 int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id,
6336 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id);
6337 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid,
6340 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id);
6341 int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg,
6343 int ath11k_wmi_set_peer_param(struct ath11k *ar, const u8 *peer_addr,
6345 int ath11k_wmi_pdev_set_param(struct ath11k *ar, u32 param_id,
6347 int ath11k_wmi_pdev_set_ps_mode(struct ath11k *ar, int vdev_id,
[all …]
H A Ddp_tx.h19 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);
21 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
30 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask);
32 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type,
35 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
H A Ddbring.c11 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *buffer, u32 size) in ath11k_dbring_validate_buffer()
26 static void ath11k_dbring_fill_magic_value(struct ath11k *ar, in ath11k_dbring_fill_magic_value()
38 static int ath11k_dbring_bufs_replenish(struct ath11k *ar, in ath11k_dbring_bufs_replenish()
105 static int ath11k_dbring_fill_bufs(struct ath11k *ar, in ath11k_dbring_fill_bufs()
151 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, in ath11k_dbring_wmi_cfg_setup()
183 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg()
185 int (*handler)(struct ath11k *, in ath11k_dbring_set_cfg() argument
198 int ath11k_dbring_buf_setup(struct ath11k *ar, in ath11k_dbring_buf_setup()
221 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup()
270 struct ath11k *ar; in ath11k_dbring_buffer_release_event()
[all …]
H A Ddebugfs.c56 void ath11k_debugfs_add_dbring_entry(struct ath11k *ar, in ath11k_debugfs_add_dbring_entry()
95 static void ath11k_debugfs_fw_stats_reset(struct ath11k *ar) in ath11k_debugfs_fw_stats_reset()
104 void ath11k_debugfs_fw_stats_process(struct ath11k *ar, struct ath11k_fw_stats *stats) in ath11k_debugfs_fw_stats_process()
166 static int ath11k_debugfs_fw_stats_request(struct ath11k *ar, in ath11k_debugfs_fw_stats_request()
213 int ath11k_debugfs_get_fw_stats(struct ath11k *ar, u32 pdev_id, in ath11k_debugfs_get_fw_stats()
247 struct ath11k *ar = inode->i_private; in ath11k_open_pdev_stats()
318 struct ath11k *ar = inode->i_private; in ath11k_open_vdev_stats()
389 struct ath11k *ar = inode->i_private; in ath11k_open_bcn_stats()
496 struct ath11k *ar = ab->pdevs[0].ar; in ath11k_write_simulate_fw_crash()
563 struct ath11k *ar = file->private_data; in ath11k_write_enable_extd_tx_stats()
[all …]
H A Dspectral.c155 static struct ath11k_vif *ath11k_spectral_get_vdev(struct ath11k *ar) in ath11k_spectral_get_vdev()
173 static int ath11k_spectral_scan_trigger(struct ath11k *ar) in ath11k_spectral_scan_trigger()
204 static int ath11k_spectral_scan_config(struct ath11k *ar, in ath11k_spectral_scan_config()
272 struct ath11k *ar = file->private_data; in ath11k_read_file_spec_scan_ctl()
301 struct ath11k *ar = file->private_data; in ath11k_write_file_spec_scan_ctl()
366 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_count()
383 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_count()
418 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_bins()
438 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_bins()
473 static int ath11k_spectral_pull_summary(struct ath11k *ar, in ath11k_spectral_pull_summary()
[all …]
H A 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()
H A 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()
H A Dwow.c31 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_enable()
68 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_wakeup()
98 struct ath11k *ar = arvif->ar; in ath11k_wow_vif_cleanup()
122 static int ath11k_wow_cleanup(struct ath11k *ar) in ath11k_wow_cleanup()
242 static int ath11k_wmi_pno_check_and_convert(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_pno_check_and_convert()
342 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_set_wakeups()
463 static int ath11k_wow_set_wakeups(struct ath11k *ar, in ath11k_wow_set_wakeups()
486 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_clean_nlo()
509 static int ath11k_wow_nlo_cleanup(struct ath11k *ar) in ath11k_wow_nlo_cleanup()
528 static int ath11k_wow_set_hw_filter(struct ath11k *ar) in ath11k_wow_set_hw_filter()
[all …]
H A Dmac.c575 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif()
616 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id()
632 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id()
660 struct ath11k *ar; in ath11k_mac_get_vif_up()
686 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif()
707 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar) in ath11k_mac_get_target_pdev_id()
719 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update()
737 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc()
796 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot()
835 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout()
[all …]
H A Dpeer.h49 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id);
50 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr);
51 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif,
53 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id,
H A Dtestmode.c27 static struct ath11k *ath11k_tm_get_ar(struct ath11k_base *ab) in ath11k_tm_get_ar()
30 struct ath11k *ar = NULL; in ath11k_tm_get_ar()
51 struct ath11k *ar; in ath11k_tm_wmi_event_unsegmented()
102 struct ath11k *ar; in ath11k_tm_process_event()
231 static int ath11k_tm_cmd_get_version(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_get_version()
263 static int ath11k_tm_cmd_testmode_start(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_testmode_start()
300 static int ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[], in ath11k_tm_cmd_wmi()
390 static int ath11k_tm_cmd_wmi_ftm(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_wmi_ftm()
478 struct ath11k *ar = hw->priv; in ath11k_tm_cmd()
H A Ddp_rx.c435 static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar, in ath11k_dp_rxdma_buf_ring_free()
458 static int ath11k_dp_rxdma_pdev_buf_free(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_free()
478 static int ath11k_dp_rxdma_ring_buf_setup(struct ath11k *ar, in ath11k_dp_rxdma_ring_buf_setup()
494 static int ath11k_dp_rxdma_pdev_buf_setup(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_setup()
516 static void ath11k_dp_rx_pdev_srng_free(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_free()
569 static int ath11k_dp_rx_pdev_srng_alloc(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_alloc()
810 void ath11k_peer_rx_tid_delete(struct ath11k *ar, in ath11k_peer_rx_tid_delete()
895 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_frags_flush()
913 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_rx_tid_cleanup()
932 static int ath11k_peer_rx_tid_reo_update(struct ath11k *ar, in ath11k_peer_rx_tid_reo_update()
[all …]
H A Ddebugfs_sta.c128 void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar, in ath11k_debugfs_sta_update_txcompl()
140 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_dump_tx_stats()
247 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_dump_rx_stats()
344 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_open_htt_peer_stats()
380 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_release_htt_peer_stats()
417 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_peer_pktlog()
457 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_read_peer_pktlog()
484 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_delba()
535 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_addba_resp()
585 struct ath11k *ar = arsta->arvif->ar; in ath11k_dbg_sta_write_addba()
[all …]
H A Dtestmode_i.h7 /* "API" level of the ath11k testmode interface. Bump it after every
34 /* All ath11k testmode interface commands specified in
38 /* Returns the supported ath11k testmode interface version in
H A Dwmi.c685 static u32 ath11k_wmi_mgmt_get_freq(struct ath11k *ar, in ath11k_wmi_mgmt_get_freq()
699 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send()
751 int ath11k_wmi_vdev_create(struct ath11k *ar, u8 *macaddr, in ath11k_wmi_vdev_create()
843 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete()
870 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop()
898 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down()
980 int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg, in ath11k_wmi_vdev_start()
1083 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid, const u8 *bssid, in ath11k_wmi_vdev_up()
1137 int ath11k_wmi_send_peer_create_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_create_cmd()
1170 int ath11k_wmi_send_peer_delete_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_delete_cmd()
[all …]
/freebsd/usr.sbin/fwget/pci/
H A Dpci_network_qca56 # ath11k
64 # { sys/contrib/dev/athk/ath11k/zzz_fw_ports_fwget.sh }
67 0x1101) addpkg "wifi-firmware-ath11k-kmod-qca6390_hw20"; return 1 ;;
68 0x1103) addpkg "wifi-firmware-ath11k-kmod-wcn6855_hw20"; return 1 ;;
69 0x1104) addpkg "wifi-firmware-ath11k-kmod-qcn9074_hw10"; return 1 ;;
95 for _drv in ath10k ath11k ath12k; do
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/
H A Dqcom,ath11k-pci.yaml5 $id: http://devicetree.org/schemas/net/wireless/qcom,ath11k-pci.yaml#
8 title: Qualcomm Technologies ath11k wireless devices (PCIe)
24 qcom,ath11k-calibration-variant:
55 qcom,ath11k-calibration-variant = "LE_X13S";

12