/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs.h | 111 int ath11k_debugfs_register(struct ath11k *ar); 112 void ath11k_debugfs_unregister(struct ath11k *ar); 115 void ath11k_debugfs_fw_stats_init(struct ath11k *ar); 117 static inline bool ath11k_debugfs_is_pktlog_lite_mode_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_lite_mode_enabled() 122 static inline bool ath11k_debugfs_is_pktlog_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_rx_stats_enabled() 127 static inline bool ath11k_debugfs_is_pktlog_peer_valid(struct ath11k *ar, u8 *addr) in ath11k_debugfs_is_pktlog_peer_valid() 133 static inline int ath11k_debugfs_is_extd_tx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_tx_stats_enabled() 138 static inline int ath11k_debugfs_is_extd_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_rx_stats_enabled() 143 static inline int ath11k_debugfs_rx_filter(struct ath11k *ar) in ath11k_debugfs_rx_filter() 167 static inline int ath11k_debugfs_register(struct ath11k *a [all...] |
H A D | mac.h | 12 struct ath11k; 16 struct ath11k *ar; 132 void __ath11k_mac_scan_finish(struct ath11k *ar); 133 void ath11k_mac_scan_finish(struct ath11k *ar); 135 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id); 138 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 139 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id); 140 struct ath11k *ath11k_mac_get_ar_vdev_stop_status(struct ath11k_base *ab, 143 void ath11k_mac_drain_tx(struct ath11k *ar); 144 void ath11k_mac_peer_cleanup_all(struct ath11k *a [all...] |
H A D | dbring.h | 54 int (*handler)(struct ath11k *, struct ath11k_dbring_data *); 57 int ath11k_dbring_set_cfg(struct ath11k *ar, 61 int (*handler)(struct ath11k *, 63 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, 66 int ath11k_dbring_buf_setup(struct ath11k *ar, 69 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, 77 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring); 78 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring);
|
H A D | Makefile | 2 obj-$(CONFIG_ATH11K) += ath11k.o 3 ath11k-y += core.o \ 21 ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o 22 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o 23 ath11k-$(CONFIG_ATH11K_TRACING) += trace.o 24 ath11k-$(CONFIG_THERMAL) += thermal.o 25 ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
|
H A D | spectral.h | 45 void ath11k_spectral_reset_buffer(struct ath11k *ar); 46 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar); 47 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar); 65 static inline void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer() 70 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar) in ath11k_spectral_get_mode() 76 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar) in ath11k_spectral_get_dbring()
|
H A D | dp_rx.h | 44 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, 91 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar); 92 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar); 93 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
|
H A D | reg.h | 13 struct ath11k; 27 void ath11k_reg_init(struct ath11k *ar); 33 int ath11k_regd_update(struct ath11k *ar); 34 int ath11k_reg_update_chan_list(struct ath11k *ar);
|
H A D | dp_tx.h | 19 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, 28 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask); 30 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type, 33 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
|
H A D | thermal.h | 31 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 D | peer.h | 40 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id); 41 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr); 42 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif, 44 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id,
|
H A D | spectral.c | 156 static struct ath11k_vif *ath11k_spectral_get_vdev(struct ath11k *ar) in ath11k_spectral_get_vdev() 174 static int ath11k_spectral_scan_trigger(struct ath11k *ar) in ath11k_spectral_scan_trigger() 203 static int ath11k_spectral_scan_config(struct ath11k *ar, in ath11k_spectral_scan_config() 271 struct ath11k *ar = file->private_data; in ath11k_read_file_spec_scan_ctl() 300 struct ath11k *ar = file->private_data; in ath11k_write_file_spec_scan_ctl() 365 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_count() 382 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_count() 417 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_bins() 437 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_bins() 472 static int ath11k_spectral_pull_summary(struct ath11k *a [all...] |
H A D | thermal.c | 27 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs.h | 270 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 *a [all...] |
H A D | mac.h | 13 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_i [all...] |
H A D | Makefile | 2 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 D | dbring.h | 54 int (*handler)(struct ath11k *, struct ath11k_dbring_data *); 57 int ath11k_dbring_set_cfg(struct ath11k *ar, 61 int (*handler)(struct ath11k *, 63 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, 66 int ath11k_dbring_buf_setup(struct ath11k *ar, 69 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, 77 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring); 78 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring); 79 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *data, u32 size);
|
H A D | spectral.h | 46 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 D | dp_rx.h | 44 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, 91 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar); 92 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar); 93 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
|
H A D | dp_tx.h | 19 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 D | thermal.h | 31 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 D | reg.h | 13 struct ath11k; 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 D | thermal.c | 27 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 D | peer.h | 49 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 D | dbring.c | 11 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() 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 *a in ath11k_dbring_buffer_release_event() [all...] |
H A D | wow.c | 31 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 *a [all...] |