| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs.h | 271 int ath11k_debugfs_register(struct ath11k *ar); 272 void ath11k_debugfs_unregister(struct ath11k *ar); 273 void ath11k_debugfs_fw_stats_process(struct ath11k *ar, struct ath11k_fw_stats *stats); 275 void ath11k_debugfs_fw_stats_init(struct ath11k *ar); 277 static inline bool ath11k_debugfs_is_pktlog_lite_mode_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_lite_mode_enabled() 282 static inline bool ath11k_debugfs_is_pktlog_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_pktlog_rx_stats_enabled() 287 static inline bool ath11k_debugfs_is_pktlog_peer_valid(struct ath11k *ar, u8 *addr) in ath11k_debugfs_is_pktlog_peer_valid() 293 static inline int ath11k_debugfs_is_extd_tx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_tx_stats_enabled() 298 static inline int ath11k_debugfs_is_extd_rx_stats_enabled(struct ath11k *ar) in ath11k_debugfs_is_extd_rx_stats_enabled() 303 static inline int ath11k_debugfs_rx_filter(struct ath11k *ar) in ath11k_debugfs_rx_filter() [all …]
|
| H A D | mac.h | 14 struct ath11k; 18 struct ath11k *ar; 135 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id); 136 void ath11k_mac_11d_scan_stop(struct ath11k *ar); 150 void __ath11k_mac_scan_finish(struct ath11k *ar); 151 void ath11k_mac_scan_finish(struct ath11k *ar); 153 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id); 156 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar); 160 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 161 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id); [all …]
|
| H A D | dp_rx.h | 45 int ath11k_dp_rx_ampdu_start(struct ath11k *ar, 47 int ath11k_dp_rx_ampdu_stop(struct ath11k *ar, 53 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer); 54 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer); 55 void ath11k_peer_rx_tid_delete(struct ath11k *ar, 57 int ath11k_peer_rx_tid_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id, 92 int ath11k_dp_rx_pdev_mon_detach(struct ath11k *ar); 93 int ath11k_dp_rx_pdev_mon_attach(struct ath11k *ar); 94 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id); 99 int ath11k_dp_rx_crypto_mic_len(struct ath11k *ar, enum hal_encrypt_type enctype);
|
| H A D | spectral.h | 47 void ath11k_spectral_reset_buffer(struct ath11k *ar); 48 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar); 49 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar); 67 static inline void ath11k_spectral_reset_buffer(struct ath11k *ar) in ath11k_spectral_reset_buffer() 72 enum ath11k_spectral_mode ath11k_spectral_get_mode(struct ath11k *ar) in ath11k_spectral_get_mode() 78 struct ath11k_dbring *ath11k_spectral_get_dbring(struct ath11k *ar) in ath11k_spectral_get_dbring()
|
| H A D | reg.h | 14 struct ath11k; 32 void ath11k_reg_init(struct ath11k *ar); 42 int ath11k_regd_update(struct ath11k *ar); 43 int ath11k_reg_update_chan_list(struct ath11k *ar, bool wait); 49 int ath11k_reg_set_cc(struct ath11k *ar);
|
| H A D | dp_tx.h | 20 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts); 22 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, 31 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask); 33 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type, 36 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset);
|
| H A D | thermal.h | 32 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state); 33 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature); 44 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() 49 static inline void ath11k_thermal_event_temperature(struct ath11k *ar, in ath11k_thermal_event_temperature()
|
| H A D | cfr.c | 11 struct ath11k_dbring *ath11k_cfr_get_dbring(struct ath11k *ar) in ath11k_cfr_get_dbring() 59 static void ath11k_cfr_rfs_write(struct ath11k *ar, const void *head, in ath11k_cfr_rfs_write() 74 static void ath11k_cfr_free_pending_dbr_events(struct ath11k *ar) in ath11k_cfr_free_pending_dbr_events() 114 ath11k_cfr_correlate_and_relay(struct ath11k *ar, in ath11k_cfr_correlate_and_relay() 176 static int ath11k_cfr_process_data(struct ath11k *ar, in ath11k_cfr_process_data() 255 static void ath11k_cfr_fill_hdr_info(struct ath11k *ar, in ath11k_cfr_fill_hdr_info() 309 struct ath11k *ar; in ath11k_process_cfr_capture_event() 412 bool ath11k_cfr_peer_is_in_cfr_unassoc_pool(struct ath11k *ar, const u8 *peer_mac) in ath11k_cfr_peer_is_in_cfr_unassoc_pool() 438 void ath11k_cfr_update_unassoc_pool_entry(struct ath11k *ar, in ath11k_cfr_update_unassoc_pool_entry() 463 void ath11k_cfr_decrement_peer_count(struct ath11k *ar, in ath11k_cfr_decrement_peer_count() [all …]
|
| H A D | thermal.c | 28 struct ath11k *ar = cdev->devdata; in ath11k_thermal_get_cur_throttle_state() 41 struct ath11k *ar = cdev->devdata; in ath11k_thermal_set_cur_throttle_state() 67 struct ath11k *ar = dev_get_drvdata(dev); in ath11k_thermal_show_temp() 110 void ath11k_thermal_event_temperature(struct ath11k *ar, int temperature) in ath11k_thermal_event_temperature() 127 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() 162 struct ath11k *ar; in ath11k_thermal_register() 217 struct ath11k *ar; in ath11k_thermal_unregister()
|
| H A D | dbring.c | 12 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *buffer, u32 size) in ath11k_dbring_validate_buffer() 27 static void ath11k_dbring_fill_magic_value(struct ath11k *ar, in ath11k_dbring_fill_magic_value() 39 int ath11k_dbring_bufs_replenish(struct ath11k *ar, in ath11k_dbring_bufs_replenish() 109 static int ath11k_dbring_fill_bufs(struct ath11k *ar, in ath11k_dbring_fill_bufs() 155 int ath11k_dbring_wmi_cfg_setup(struct ath11k *ar, in ath11k_dbring_wmi_cfg_setup() 199 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg() 201 int (*handler)(struct ath11k *, in ath11k_dbring_set_cfg() argument 214 int ath11k_dbring_buf_setup(struct ath11k *ar, in ath11k_dbring_buf_setup() 237 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup() 286 struct ath11k *ar; in ath11k_dbring_buffer_release_event() [all …]
|
| H A D | spectral.c | 157 static struct ath11k_vif *ath11k_spectral_get_vdev(struct ath11k *ar) in ath11k_spectral_get_vdev() 175 static int ath11k_spectral_scan_trigger(struct ath11k *ar) in ath11k_spectral_scan_trigger() 206 static int ath11k_spectral_scan_config(struct ath11k *ar, in ath11k_spectral_scan_config() 274 struct ath11k *ar = file->private_data; in ath11k_read_file_spec_scan_ctl() 303 struct ath11k *ar = file->private_data; in ath11k_write_file_spec_scan_ctl() 368 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_count() 385 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_count() 415 struct ath11k *ar = file->private_data; in ath11k_read_file_spectral_bins() 435 struct ath11k *ar = file->private_data; in ath11k_write_file_spectral_bins() 465 static int ath11k_spectral_pull_summary(struct ath11k *ar, in ath11k_spectral_pull_summary() [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() 251 static int ath11k_wmi_pno_check_and_convert(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_pno_check_and_convert() 351 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_set_wakeups() 468 static int ath11k_wow_set_wakeups(struct ath11k *ar, in ath11k_wow_set_wakeups() 491 struct ath11k *ar = arvif->ar; in ath11k_vif_wow_clean_nlo() 514 static int ath11k_wow_nlo_cleanup(struct ath11k *ar) in ath11k_wow_nlo_cleanup() 533 static int ath11k_wow_set_hw_filter(struct ath11k *ar) in ath11k_wow_set_hw_filter() [all …]
|
| 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 | mac.c | 573 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() 614 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id() 630 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id() 658 struct ath11k *ar; in ath11k_mac_get_vif_up() 684 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif() 705 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar) in ath11k_mac_get_target_pdev_id() 717 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update() 735 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc() 794 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot() 833 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout() [all …]
|
| H A D | debugfs.c | 59 void ath11k_debugfs_add_dbring_entry(struct ath11k *ar, in ath11k_debugfs_add_dbring_entry() 98 void ath11k_debugfs_fw_stats_process(struct ath11k *ar, struct ath11k_fw_stats *stats) in ath11k_debugfs_fw_stats_process() 128 struct ath11k *ar = inode->i_private; in ath11k_open_pdev_stats() 199 struct ath11k *ar = inode->i_private; in ath11k_open_vdev_stats() 270 struct ath11k *ar = inode->i_private; in ath11k_open_bcn_stats() 377 struct ath11k *ar = ab->pdevs[0].ar; in ath11k_write_simulate_fw_crash() 444 struct ath11k *ar = file->private_data; in ath11k_write_enable_extd_tx_stats() 477 struct ath11k *ar = file->private_data; in ath11k_read_enable_extd_tx_stats() 498 struct ath11k *ar = file->private_data; in ath11k_write_extd_rx_stats() 574 struct ath11k *ar = file->private_data; in ath11k_read_extd_rx_stats() [all …]
|
| H A D | p2p.c | 83 struct ath11k *ar = arvif->ar; in ath11k_p2p_noa_ie_assign() 96 struct ath11k *ar = arvif->ar; in __ath11k_p2p_noa_update() 118 struct ath11k *ar = arvif->ar; in ath11k_p2p_noa_update() 137 void ath11k_p2p_noa_update_by_vdev_id(struct ath11k *ar, u32 vdev_id, in ath11k_p2p_noa_update_by_vdev_id()
|
| H A D | dp_rx.c | 436 static int ath11k_dp_rxdma_buf_ring_free(struct ath11k *ar, in ath11k_dp_rxdma_buf_ring_free() 459 static int ath11k_dp_rxdma_pdev_buf_free(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_free() 479 static int ath11k_dp_rxdma_ring_buf_setup(struct ath11k *ar, in ath11k_dp_rxdma_ring_buf_setup() 495 static int ath11k_dp_rxdma_pdev_buf_setup(struct ath11k *ar) in ath11k_dp_rxdma_pdev_buf_setup() 517 static void ath11k_dp_rx_pdev_srng_free(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_free() 570 static int ath11k_dp_rx_pdev_srng_alloc(struct ath11k *ar) in ath11k_dp_rx_pdev_srng_alloc() 811 void ath11k_peer_rx_tid_delete(struct ath11k *ar, in ath11k_peer_rx_tid_delete() 898 void ath11k_peer_frags_flush(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_frags_flush() 916 void ath11k_peer_rx_tid_cleanup(struct ath11k *ar, struct ath11k_peer *peer) in ath11k_peer_rx_tid_cleanup() 935 static int ath11k_peer_rx_tid_reo_update(struct ath11k *a [all...] |
| H A D | wmi.c | 639 static u32 ath11k_wmi_mgmt_get_freq(struct ath11k *ar, in ath11k_wmi_mgmt_get_freq() 653 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() 717 int ath11k_wmi_vdev_create(struct ath11k *ar, u8 *macaddr, in ath11k_wmi_vdev_create() 797 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() 824 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() 852 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down() 934 int ath11k_wmi_vdev_start(struct ath11k *ar, struct wmi_vdev_start_req_arg *arg, in ath11k_wmi_vdev_start() 1025 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid, const u8 *bssid, in ath11k_wmi_vdev_up() 1079 int ath11k_wmi_send_peer_create_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_create_cmd() 1112 int ath11k_wmi_send_peer_delete_cmd(struct ath11k *ar, in ath11k_wmi_send_peer_delete_cmd() [all …]
|
| H A D | reg.c | 32 static bool ath11k_regdom_changes(struct ath11k *ar, char *alpha2) in ath11k_regdom_changes() 52 struct ath11k *ar = hw->priv; in ath11k_reg_notifier() 118 int ath11k_reg_update_chan_list(struct ath11k *ar, bool wait) in ath11k_reg_update_chan_list() 237 int ath11k_regd_update(struct ath11k *ar) in ath11k_regd_update() 800 struct ath11k *ar = container_of(work, struct ath11k, in ath11k_regd_update_chan_list_work() 857 static enum wmi_vdev_type ath11k_reg_get_ar_vdev_type(struct ath11k *ar) in ath11k_reg_get_ar_vdev_type() 881 struct ath11k *ar; in ath11k_reg_handle_chan_list() 1004 struct ath11k *ar = container_of(work, struct ath11k, in ath11k_regd_update_work() 1019 void ath11k_reg_init(struct ath11k *ar) in ath11k_reg_init() 1062 int ath11k_reg_set_cc(struct ath11k *ar) in ath11k_reg_set_cc()
|
| H A D | debugfs_sta.h | 22 void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar, 36 static inline void ath11k_debugfs_sta_update_txcompl(struct ath11k *ar, in ath11k_debugfs_sta_update_txcompl()
|
| H A D | wow.h | 30 int ath11k_wow_init(struct ath11k *ar); 40 static inline int ath11k_wow_init(struct ath11k *ar) in ath11k_wow_init()
|
| H A D | peer.c | 240 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id) in ath11k_peer_cleanup() 266 static int ath11k_wait_for_peer_deleted(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_wait_for_peer_deleted() 271 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id, in ath11k_wait_for_peer_delete_done() 293 static int __ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, const u8 *addr) in __ath11k_peer_delete() 350 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr) in ath11k_peer_delete() 365 static int ath11k_wait_for_peer_created(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_wait_for_peer_created() 370 int ath11k_peer_create(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_peer_create()
|
| H A D | dp_tx.c | 83 int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif, in ath11k_dp_tx() 292 struct ath11k *ar; in ath11k_dp_tx_free_txbuf() 325 struct ath11k *ar; in ath11k_dp_tx_htt_tx_complete_buf() 436 static void ath11k_dp_tx_cache_peer_stats(struct ath11k *ar, in ath11k_dp_tx_cache_peer_stats() 453 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts) in ath11k_dp_tx_update_txcompl() 552 static void ath11k_dp_tx_complete_msdu(struct ath11k *ar, in ath11k_dp_tx_complete_msdu() 690 struct ath11k *ar; in ath11k_dp_tx_completion_handler() 1037 int ath11k_dp_tx_htt_h2t_ppdu_stats_req(struct ath11k *ar, u32 mask) in ath11k_dp_tx_htt_h2t_ppdu_stats_req() 1140 ath11k_dp_tx_htt_h2t_ext_stats_req(struct ath11k *ar, u8 type, in ath11k_dp_tx_htt_h2t_ext_stats_req() 1188 int ath11k_dp_tx_htt_monitor_mode_ring_config(struct ath11k *ar, bool reset) in ath11k_dp_tx_htt_monitor_mode_ring_config()
|
| H A D | p2p.h | 20 void ath11k_p2p_noa_update_by_vdev_id(struct ath11k *ar, u32 vdev_id,
|
| /linux/drivers/net/wireless/ath/ |
| H A D | Makefile | 10 obj-$(CONFIG_ATH11K) += ath11k/
|