| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | Kconfig | 3 tristate "Qualcomm Wi-Fi 7 support (ath12k)" 15 If you choose to build a module, it'll be called ath12k. 18 bool "Qualcomm ath12k AHB support" 26 bool "ath12k debugging" 36 bool "Qualcomm ath12k debugfs support" 39 Enable ath12k debugfs support 45 bool "ath12k tracing support" 48 Enable ath12k tracing infrastructure. 54 bool "ath12k coredump" 58 Enable ath12k coredump collection
|
| H A D | peer.h | 19 void ath12k_peer_delete_resp_signal(struct ath12k *ar, u32 vdev_id, const u8 *addr); 20 void ath12k_peer_delete_wait_flush(struct ath12k *ar); 22 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id); 23 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr); 24 int ath12k_peer_create(struct ath12k *ar, struct ath12k_link_vif *arvif, 27 int ath12k_wait_for_peer_delete_done(struct ath12k *ar,
|
| H A D | core.h | 129 struct ath12k *ar; 310 struct ath12k *ar; 397 struct ath12k *ar; 616 struct ath12k { struct 804 struct ath12k radio[] __aligned(sizeof(void *)); 855 struct ath12k *ar; 1266 int ath12k_core_init(struct ath12k_base *ath12k); 1267 void ath12k_core_deinit(struct ath12k_base *ath12k); 1270 void ath12k_core_free(struct ath12k_base *ath12k); 1274 int ath12k_core_fetch_bdf(struct ath12k_base *ath12k, [all …]
|
| H A D | wow.c | 39 int ath12k_wow_enable(struct ath12k *ar) in ath12k_wow_enable() 81 int ath12k_wow_wakeup(struct ath12k *ar) in ath12k_wow_wakeup() 106 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_cleanup() 130 static int ath12k_wow_cleanup(struct ath12k *ar) in ath12k_wow_cleanup() 163 ath12k_wow_convert_8023_to_80211(struct ath12k *ar, in ath12k_wow_convert_8023_to_80211() 267 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert() 364 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_set_wakeups() 476 static int ath12k_wow_set_wakeups(struct ath12k *ar, in ath12k_wow_set_wakeups() 502 static int ath12k_wow_vdev_clean_nlo(struct ath12k *ar, u32 vdev_id) in ath12k_wow_vdev_clean_nlo() 530 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_clean_nlo() [all …]
|
| H A D | peer.c | 12 static void ath12k_peer_delete_wait_register(struct ath12k *ar, in ath12k_peer_delete_wait_register() 25 static void ath12k_peer_delete_wait_unregister(struct ath12k *ar, in ath12k_peer_delete_wait_unregister() 33 void ath12k_peer_delete_resp_signal(struct ath12k *ar, u32 vdev_id, const u8 *addr) in ath12k_peer_delete_resp_signal() 51 void ath12k_peer_delete_wait_flush(struct ath12k *ar) in ath12k_peer_delete_wait_flush() 86 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id) in ath12k_peer_cleanup() 109 static int ath12k_wait_for_peer_deleted(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_deleted() 114 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, in ath12k_wait_for_peer_delete_done() 135 static int ath12k_peer_delete_send(struct ath12k *ar, u32 vdev_id, const u8 *addr) in ath12k_peer_delete_send() 153 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr) in ath12k_peer_delete() 185 static int ath12k_wait_for_peer_created(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_wait_for_peer_created() [all …]
|
| H A D | wmi.h | 27 struct ath12k; 6535 int ath12k_wmi_p2p_go_bcn_ie(struct ath12k *ar, u32 vdev_id, 6541 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id); 6542 int ath12k_wmi_vdev_up(struct ath12k *ar, struct ath12k_wmi_vdev_up_params *params); 6543 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id); 6544 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, 6546 int ath12k_wmi_set_peer_param(struct ath12k *ar, const u8 *peer_addr, 6548 int ath12k_wmi_pdev_set_param(struct ath12k *ar, u32 param_id, 6550 int ath12k_wmi_pdev_set_ps_mode(struct ath12k *ar, int vdev_id, u32 enable); 6559 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, [all …]
|
| H A D | mac.c | 263 static int ath12k_start_vdev_delay(struct ath12k *ar, 265 static void ath12k_mac_stop(struct ath12k *ar); 266 static int ath12k_mac_vdev_create(struct ath12k *ar, struct ath12k_link_vif *arvif); 267 static int ath12k_mac_vdev_delete(struct ath12k *ar, struct ath12k_link_vif *arvif); 637 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif() 657 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_bssid() 685 struct ath12k *ar = arvif->ar; in ath12k_mac_get_link_bss_conf() 788 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif() 832 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id() 848 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id() [all …]
|
| H A D | debugfs.c | 17 struct ath12k *ar = file->private_data; in ath12k_write_simulate_radar() 54 struct ath12k *ar = NULL; in ath12k_write_simulate_fw_crash() 110 struct ath12k *ar = file->private_data; in ath12k_write_tpc_stats_type() 128 static int ath12k_debug_tpc_stats_request(struct ath12k *ar) in ath12k_debug_tpc_stats_request() 248 static s16 ath12k_tpc_get_rate(struct ath12k *ar, in ath12k_tpc_get_rate() 400 static bool ath12k_he_supports_extra_mcs(struct ath12k *ar, int freq) in ath12k_he_supports_extra_mcs() 418 static int ath12k_tpc_fill_pream(struct ath12k *ar, char *buf, int buf_len, int len, in ath12k_tpc_fill_pream() 512 static int ath12k_tpc_stats_print(struct ath12k *ar, in ath12k_tpc_stats_print() 704 static void ath12k_tpc_stats_fill(struct ath12k *ar, in ath12k_tpc_stats_fill() 743 struct ath12k *ar = inode->i_private; in ath12k_open_tpc_stats() [all …]
|
| H A D | wmi.c | 746 static u32 ath12k_wmi_mgmt_get_freq(struct ath12k *ar, in ath12k_wmi_mgmt_get_freq() 783 struct ath12k *ar = arvif->ar; in ath12k_wmi_mgmt_send() 874 int ath12k_wmi_send_stats_request_cmd(struct ath12k *ar, u32 stats_id, in ath12k_wmi_send_stats_request_cmd() 907 int ath12k_wmi_vdev_create(struct ath12k *ar, u8 *macaddr, in ath12k_wmi_vdev_create() 1005 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() 1032 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop() 1060 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down() 1145 int ath12k_wmi_vdev_start(struct ath12k *ar, struct wmi_vdev_start_req_arg *arg, in ath12k_wmi_vdev_start() 1305 int ath12k_wmi_vdev_up(struct ath12k *ar, struct ath12k_wmi_vdev_up_params *params) in ath12k_wmi_vdev_up() 1344 int ath12k_wmi_send_peer_create_cmd(struct ath12k *ar, in ath12k_wmi_send_peer_create_cmd() [all …]
|
| H A D | dp_rx.c | 286 static void ath12k_dp_rx_pdev_srng_free(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_free() 329 static int ath12k_dp_rx_pdev_srng_alloc(struct ath12k *ar) in ath12k_dp_rx_pdev_srng_alloc() 541 void ath12k_dp_rx_peer_tid_cleanup(struct ath12k *ar, struct ath12k_dp_link_peer *peer) in ath12k_dp_rx_peer_tid_cleanup() 594 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id, in ath12k_dp_rx_peer_tid_setup() 710 int ath12k_dp_rx_ampdu_start(struct ath12k *ar, in ath12k_dp_rx_ampdu_start() 738 int ath12k_dp_rx_ampdu_stop(struct ath12k *ar, in ath12k_dp_rx_ampdu_stop() 800 struct ath12k *ar = arvif->ar; in ath12k_dp_rx_peer_pn_replay_config() 1234 struct ath12k *ar; in ath12k_dp_rx_h_rate() 1342 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_rx_h_ppdu() 1466 int ath12k_dp_rx_peer_frag_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id) in ath12k_dp_rx_peer_frag_setup() [all …]
|
| H A D | core.c | 77 struct ath12k *ar; in ath12k_core_rfkill_config() 107 struct ath12k *ar; in ath12k_core_continue_suspend_resume() 124 struct ath12k *ar; in ath12k_core_suspend() 1038 u8 ath12k_get_num_partner_link(struct ath12k *ar) in ath12k_get_num_partner_link() 1065 static int __ath12k_mac_mlo_ready(struct ath12k *ar) in __ath12k_mac_mlo_ready() 1089 struct ath12k *ar; in ath12k_mac_mlo_ready() 1248 void ath12k_fw_stats_init(struct ath12k *ar) in ath12k_fw_stats_init() 1264 void ath12k_fw_stats_reset(struct ath12k *ar) in ath12k_fw_stats_reset() 1407 struct ath12k *ar; in ath12k_rfkill_work() 1435 void ath12k_core_halt(struct ath12k *ar) in ath12k_core_halt() [all …]
|
| H A D | dp.h | 683 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_link_vif *arvif); 686 void ath12k_dp_pdev_pre_alloc(struct ath12k *ar); 688 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr); 689 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr);
|
| H A D | dp.c | 20 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_cleanup() 47 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_setup() 840 struct ath12k *ar; in ath12k_dp_pdev_free() 854 void ath12k_dp_pdev_pre_alloc(struct ath12k *ar) in ath12k_dp_pdev_pre_alloc() 868 struct ath12k *ar; in ath12k_dp_pdev_alloc() 936 void ath12k_dp_vdev_tx_attach(struct ath12k *ar, struct ath12k_link_vif *arvif) in ath12k_dp_vdev_tx_attach() 974 struct ath12k *ar; in ath12k_dp_cc_cleanup()
|
| H A D | dp_htt.h | 1542 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask); 1544 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, 1547 int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset); 1557 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset);
|
| H A D | hal.h | 1434 void (*rx_msdu_list_get)(struct ath12k *ar, 1507 int ath12k_hal_srng_init(struct ath12k_base *ath12k); 1508 void ath12k_hal_srng_deinit(struct ath12k_base *ath12k); 1549 void ath12k_hal_rx_msdu_list_get(struct ath12k_hal *hal, struct ath12k *ar,
|
| H A D | dp_htt.c | 544 struct ath12k *ar; in ath12k_htt_mlo_offset_event_handler() 947 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask) in ath12k_dp_tx_htt_h2t_ppdu_stats_req() 1134 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type, in ath12k_dp_tx_htt_h2t_ext_stats_req() 1178 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset) in ath12k_dp_tx_htt_monitor_mode_ring_config() 1192 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()
|
| H A D | dp_mon.c | 128 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_fill_rx_rate() 235 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_rx_merg_msdus() 390 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_update_radiotap() 480 struct ath12k *ar; in ath12k_dp_mon_update_radiotap()
|
| H A D | dp_peer.c | 163 struct ath12k *ar; in ath12k_dp_link_peer_map_event()
|
| H A D | hal.c | 125 void ath12k_hal_rx_msdu_list_get(struct ath12k_hal *hal, struct ath12k *ar, in ath12k_hal_rx_msdu_list_get()
|
| /linux/drivers/net/wireless/ath/ |
| H A D | Makefile | 11 obj-$(CONFIG_ATH12K) += ath12k/
|
| H A D | Kconfig | 66 source "drivers/net/wireless/ath/ath12k/Kconfig"
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | dp_mon.c | 1571 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_wifi7_dp_mon_rx_parse_status_tlv() 2622 ath12k_wifi7_dp_rx_mon_mpdu_pop(struct ath12k *ar, int mac_id, in ath12k_wifi7_dp_rx_mon_mpdu_pop() 2819 ath12k_wifi7_dp_rx_mon_dest_process(struct ath12k *ar, int mac_id, in ath12k_wifi7_dp_rx_mon_dest_process() 2971 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_wifi7_dp_mon_parse_rx_dest() 3062 struct ath12k *ar; in ath12k_wifi7_dp_rx_reap_mon_status_ring() 3195 __ath12k_wifi7_dp_mon_process_ring(struct ath12k *ar, int mac_id, in __ath12k_wifi7_dp_mon_process_ring() 3396 struct ath12k *ar; in ath12k_wifi7_dp_mon_process_ring()
|
| H A D | dp_tx.c | 539 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_tx_htt_tx_complete_buf() 808 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_wifi7_dp_tx_complete_msdu()
|
| H A D | dp_rx.c | 596 struct ath12k *ar; in ath12k_wifi7_dp_rx_process_received_packets() 1285 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_wifi7_dp_process_rx_err_buf() 1898 struct ath12k *ar; in ath12k_wifi7_dp_rx_process_wbm_err()
|
| H A D | hw.c | 918 struct ath12k *ar, *tmp_ar; in ath12k_wifi7_mac_op_tx()
|