/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | peer.c | 11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() argument 19 if (peer->vdev_id != vdev_id) in ath12k_peer_find() 80 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) in ath12k_peer_exist_by_vdev_id() argument 87 if (vdev_id == peer->vdev_id) { in ath12k_peer_exist_by_vdev_id() 124 peer->vdev_id, peer->addr, peer_id); in ath12k_peer_unmap_event() 134 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event() argument 140 peer = ath12k_peer_find(ab, vdev_id, mac_addr); in ath12k_peer_map_event() 146 peer->vdev_id = vdev_id; in ath12k_peer_map_event() 156 vdev_id, mac_addr, peer_id); in ath12k_peer_map_event() 162 static int ath12k_wait_for_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_peer_common() argument [all …]
|
D | peer.h | 25 int vdev_id; member 53 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, 55 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, 60 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id); 61 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr); 65 int ath12k_wait_for_peer_delete_done(struct ath12k *ar, u32 vdev_id, 67 bool ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id);
|
D | mac.c | 528 if (arvif->vdev_id == arvif_iter->vdev_id) in ath12k_get_arvif_iter() 532 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif() argument 537 arvif_iter.vdev_id = vdev_id; in ath12k_mac_get_arvif() 545 ath12k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath12k_mac_get_arvif() 553 u32 vdev_id) in ath12k_mac_get_arvif_by_vdev_id() argument 562 arvif = ath12k_mac_get_arvif(pdev->ar, vdev_id); in ath12k_mac_get_arvif_by_vdev_id() 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() argument 579 if (pdev->ar->allocated_vdev_map & (1LL << vdev_id)) in ath12k_mac_get_ar_by_vdev_id() 713 arvif->vdev_id, rts_cts); in ath12k_recalc_rtscts_prot() 715 ret = ath12k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, in ath12k_recalc_rtscts_prot() [all …]
|
D | wmi.c | 748 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id, in ath12k_wmi_mgmt_send() argument 769 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send() 819 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create() 868 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() argument 882 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_delete() 884 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev delete id %d\n", vdev_id); in ath12k_wmi_vdev_delete() 895 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop() argument 910 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_stop() 912 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev stop id 0x%x\n", vdev_id); in ath12k_wmi_vdev_stop() 923 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down() argument [all …]
|
D | wmi.h | 2707 __le32 vdev_id; member 2725 __le32 vdev_id; member 2730 __le32 vdev_id; member 2740 __le32 vdev_id; member 2745 __le32 vdev_id; member 2763 __le32 vdev_id; member 2850 u32 vdev_id; member 2891 u32 vdev_id; member 2906 u16 vdev_id; member 2998 __le32 vdev_id; member [all …]
|
D | mac.h | 64 struct ath12k_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id); 66 u32 vdev_id); 67 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id);
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | peer.c | 28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument 36 if (peer->vdev_id != vdev_id) in ath11k_peer_find() 80 int vdev_id) in ath11k_peer_find_by_vdev_id() argument 87 if (vdev_id == peer->vdev_id) { in ath11k_peer_find_by_vdev_id() 110 peer->vdev_id, peer->addr, peer_id); in ath11k_peer_unmap_event() 120 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, in ath11k_peer_map_event() argument 126 peer = ath11k_peer_find(ab, vdev_id, mac_addr); in ath11k_peer_map_event() 132 peer->vdev_id = vdev_id; in ath11k_peer_map_event() 142 vdev_id, mac_addr, peer_id); in ath11k_peer_map_event() 148 static int ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, in ath11k_wait_for_peer_common() argument [all …]
|
D | peer.h | 13 int vdev_id; member 42 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 44 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 49 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id); 50 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr); 53 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id, 56 int vdev_id);
|
D | mac.c | 571 if (arvif->vdev_id == arvif_iter->vdev_id) in ath11k_get_arvif_iter() 575 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() argument 581 arvif_iter.vdev_id = vdev_id; in ath11k_mac_get_arvif() 589 ath11k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath11k_mac_get_arvif() 597 u32 vdev_id) in ath11k_mac_get_arvif_by_vdev_id() argument 606 (pdev->ar->allocated_vdev_map & (1LL << vdev_id))) { in ath11k_mac_get_arvif_by_vdev_id() 607 arvif = ath11k_mac_get_arvif(pdev->ar, vdev_id); in ath11k_mac_get_arvif_by_vdev_id() 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() argument 624 if (pdev->ar->allocated_vdev_map & (1LL << vdev_id)) in ath11k_mac_get_ar_by_vdev_id() 822 arvif->vdev_id, rts_cts); in ath11k_recalc_rtscts_prot() [all …]
|
D | wmi.h | 2603 u32 vdev_id; member 2622 u32 vdev_id; member 2627 u32 vdev_id; member 2637 u32 vdev_id; member 2642 u32 vdev_id; member 2659 u32 vdev_id; member 2829 u32 vdev_id; member 2854 u32 vdev_id; member 2858 u8 vdev_id; member 2863 u8 vdev_id; member [all …]
|
D | wmi.c | 648 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument 671 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send() 726 cmd->vdev_id = param->if_id; in ath11k_wmi_vdev_create() 780 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() argument 794 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_delete() 802 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev delete id %d\n", vdev_id); in ath11k_wmi_vdev_delete() 807 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() argument 822 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_stop() 830 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev stop id 0x%x\n", vdev_id); in ath11k_wmi_vdev_stop() 835 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down() argument [all …]
|
D | wow.c | 102 ret = ath11k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath11k_wow_vif_cleanup() 105 wow_wakeup_event(i), arvif->vdev_id, ret); in ath11k_wow_vif_cleanup() 111 ret = ath11k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath11k_wow_vif_cleanup() 114 i, arvif->vdev_id, ret); in ath11k_wow_vif_cleanup() 133 arvif->vdev_id, ret); 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() argument 250 pno->vdev_id = vdev_id; in ath11k_wmi_pno_check_and_convert() 381 ret = ath11k_wmi_pno_check_and_convert(ar, arvif->vdev_id, in ath11k_vif_wow_set_wakeups() 384 ath11k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath11k_vif_wow_set_wakeups() 432 ret = ath11k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath11k_vif_wow_set_wakeups() [all …]
|
D | mac.h | 134 void ath11k_mac_11d_scan_start(struct ath11k *ar, u32 vdev_id); 152 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id); 154 u32 vdev_id); 159 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id); 172 void ath11k_mac_handle_beacon_miss(struct ath11k *ar, u32 vdev_id);
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 73 struct sk_buff *(*gen_vdev_create)(struct ath10k *ar, u32 vdev_id, 77 struct sk_buff *(*gen_vdev_delete)(struct ath10k *ar, u32 vdev_id); 81 struct sk_buff *(*gen_vdev_stop)(struct ath10k *ar, u32 vdev_id); 82 struct sk_buff *(*gen_vdev_up)(struct ath10k *ar, u32 vdev_id, u32 aid, 84 struct sk_buff *(*gen_vdev_down)(struct ath10k *ar, u32 vdev_id); 85 struct sk_buff *(*gen_vdev_set_param)(struct ath10k *ar, u32 vdev_id, 91 struct sk_buff *(*gen_vdev_spectral_enable)(struct ath10k *ar, u32 vdev_id, 93 struct sk_buff *(*gen_vdev_wmm_conf)(struct ath10k *ar, u32 vdev_id, 95 struct sk_buff *(*gen_peer_create)(struct ath10k *ar, u32 vdev_id, 98 struct sk_buff *(*gen_peer_delete)(struct ath10k *ar, u32 vdev_id, [all …]
|
D | txrx.c | 150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find() argument 158 if (peer->vdev_id != vdev_id) in ath10k_peer_find() 185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common() argument 194 mapped = !!ath10k_peer_find(ar, vdev_id, addr); in ath10k_wait_for_peer_common() 207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created() argument 209 return ath10k_wait_for_peer_common(ar, vdev_id, addr, true); in ath10k_wait_for_peer_created() 212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted() argument 214 return ath10k_wait_for_peer_common(ar, vdev_id, addr, false); in ath10k_wait_for_peer_deleted() 231 peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); in ath10k_peer_map_event() 237 peer->vdev_id = ev->vdev_id; in ath10k_peer_map_event() [all …]
|
D | mac.c | 242 .vdev_id = arvif->vdev_id, in ath10k_send_key() 340 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_install_peer_wep_keys() 399 arvif->vdev_id, in ath10k_install_peer_wep_keys() 404 arvif->vdev_id, ret); in ath10k_install_peer_wep_keys() 424 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_clear_peer_keys() 545 arvif->vdev_id, key->keyidx); in ath10k_mac_vif_update_wep_key() 550 arvif->vdev_id, peer->addr, ret); in ath10k_mac_vif_update_wep_key() 704 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() argument 711 ret = ath10k_wait_for_peer_deleted(ar, vdev_id, addr); in ath10k_wait_for_peer_delete_done() 727 u32 vdev_id, in ath10k_peer_create() argument [all …]
|
D | wmi-tlv.c | 174 u32 vdev_id, tx_status; in ath10k_wmi_tlv_event_bcn_tx_status() local 191 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status() 203 vdev_id, tx_status); in ath10k_wmi_tlv_event_bcn_tx_status() 207 arvif = ath10k_get_arvif(ar, vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status() 289 __le32_to_cpu(ev->vdev_id), in ath10k_wmi_tlv_op_pull_peer_stats_info() 407 int ret, vdev_id; in ath10k_wmi_tlv_event_p2p_noa() local 424 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_p2p_noa() 428 vdev_id, noa->num_descriptors); in ath10k_wmi_tlv_event_p2p_noa() 430 ath10k_p2p_noa_update_by_vdev_id(ar, vdev_id, noa); in ath10k_wmi_tlv_event_p2p_noa() 440 int ret, vdev_id; in ath10k_wmi_tlv_event_tx_pause() local [all …]
|
D | wow.c | 30 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup() 33 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup() 39 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup() 42 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup() 61 arvif->vdev_id, ret); in ath10k_wow_cleanup() 171 static int ath10k_wmi_pno_check(struct ath10k *ar, u32 vdev_id, in ath10k_wmi_pno_check() argument 179 pno->vdev_id = vdev_id; in ath10k_wmi_pno_check() 309 ret = ath10k_wmi_pno_check(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups() 312 ath10k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath10k_vif_wow_set_wakeups() 354 ret = ath10k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath10k_vif_wow_set_wakeups() [all …]
|
D | p2p.c | 117 u32 vdev_id; member 127 if (arvif->vdev_id != arg->vdev_id) in ath10k_p2p_noa_update_vdev_iter() 133 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, in ath10k_p2p_noa_update_by_vdev_id() argument 137 .vdev_id = vdev_id, in ath10k_p2p_noa_update_by_vdev_id()
|
D | txrx.h | 14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, 19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
|
D | spectral.c | 183 int vdev_id; in ath10k_spectral_scan_trigger() local 190 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_trigger() 195 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger() 201 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger() 215 int vdev_id, count, res = 0; in ath10k_spectral_scan_config() local 223 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_config() 228 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_config() 244 arg.vdev_id = vdev_id; in ath10k_spectral_scan_config()
|
D | wmi.h | 3163 __le32 vdev_id; member 3248 u32 vdev_id; member 3316 __le32 vdev_id; member 3324 u32 vdev_id; member 3378 __le32 vdev_id; member 3604 __le32 vdev_id; member 4592 __le32 vdev_id; member 4735 __le32 vdev_id; member 4739 __le32 vdev_id; member 4823 __le32 vdev_id; member [all …]
|
D | wmi.c | 1868 arvif->vdev_id, in ath10k_wmi_tx_beacon_nowait() 1955 u32 vdev_id; in ath10k_wmi_op_gen_mgmt_tx() local 1965 vdev_id = arvif->vdev_id; in ath10k_wmi_op_gen_mgmt_tx() 1967 vdev_id = 0; in ath10k_wmi_op_gen_mgmt_tx() 2003 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx() 2183 arg->vdev_id = ev->vdev_id; in ath10k_wmi_op_pull_scan_ev() 2196 u32 vdev_id; in ath10k_wmi_event_scan() local 2210 vdev_id = __le32_to_cpu(arg.vdev_id); in ath10k_wmi_event_scan() 2217 event_type, reason, freq, req_id, scan_id, vdev_id, in ath10k_wmi_event_scan() 2980 dst->vdev_id = __le32_to_cpu(src->vdev_id); in ath10k_wmi_10_4_pull_vdev_stats() [all …]
|
D | wmi-tlv.h | 1872 __le32 vdev_id; member 1893 __le32 vdev_id; member 1900 __le32 vdev_id; member 1934 __le32 vdev_id; member 1981 __le32 vdev_id; member 2002 __le32 vdev_id; member 2035 __le32 vdev_id; member 2046 __le32 vdev_id; member 2052 __le32 vdev_id; member 2057 __le32 vdev_id; member [all …]
|
/linux-6.6.21/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 93 int vdev_id; member 283 vring->vdev_id = tm_vdev->vdev.id.device; in mlxbf_tmfifo_alloc_vrings() 428 if (desc && is_rx && vring->vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_next_pkt() 519 static int mlxbf_tmfifo_get_tx_avail(struct mlxbf_tmfifo *fifo, int vdev_id) in mlxbf_tmfifo_get_tx_avail() argument 526 if (vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_tx_avail() 661 int vdev_id, hdr_len; in mlxbf_tmfifo_rxtx_header() local 675 vdev_id = VIRTIO_ID_NET; in mlxbf_tmfifo_rxtx_header() 677 config = &fifo->vdev[vdev_id]->config.net; in mlxbf_tmfifo_rxtx_header() 685 vdev_id = VIRTIO_ID_CONSOLE; in mlxbf_tmfifo_rxtx_header() 693 if (vdev_id != vring->vdev_id) { in mlxbf_tmfifo_rxtx_header() [all …]
|