Home
last modified time | relevance | path

Searched refs:vdev_id (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dpeer.c28 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 …]
Dpeer.h13 int vdev_id; member
41 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id,
43 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id,
48 void ath11k_peer_cleanup(struct ath11k *ar, u32 vdev_id);
49 int ath11k_peer_delete(struct ath11k *ar, u32 vdev_id, u8 *addr);
52 int ath11k_wait_for_peer_delete_done(struct ath11k *ar, u32 vdev_id,
55 int vdev_id);
Dmac.c567 if (arvif->vdev_id == arvif_iter->vdev_id) in ath11k_get_arvif_iter()
571 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() argument
577 arvif_iter.vdev_id = vdev_id; in ath11k_mac_get_arvif()
585 ath11k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath11k_mac_get_arvif()
593 u32 vdev_id) in ath11k_mac_get_arvif_by_vdev_id() argument
602 (pdev->ar->allocated_vdev_map & (1LL << vdev_id))) { in ath11k_mac_get_arvif_by_vdev_id()
603 arvif = ath11k_mac_get_arvif(pdev->ar, vdev_id); in ath11k_mac_get_arvif_by_vdev_id()
612 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
620 if (pdev->ar->allocated_vdev_map & (1LL << vdev_id)) in ath11k_mac_get_ar_by_vdev_id()
815 arvif->vdev_id, rts_cts); in ath11k_recalc_rtscts_prot()
[all …]
Dwmi.h2566 u32 vdev_id; member
2583 u32 vdev_id; member
2588 u32 vdev_id; member
2598 u32 vdev_id; member
2603 u32 vdev_id; member
2620 u32 vdev_id; member
2787 u32 vdev_id; member
2809 u32 vdev_id; member
2813 u8 vdev_id; member
2818 u8 vdev_id; member
[all …]
Dwmi.c638 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument
661 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send()
714 cmd->vdev_id = param->if_id; in ath11k_wmi_vdev_create()
765 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() argument
779 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_delete()
787 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "WMI vdev delete id %d\n", vdev_id); in ath11k_wmi_vdev_delete()
792 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() argument
807 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_stop()
815 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "WMI vdev stop id 0x%x\n", vdev_id); in ath11k_wmi_vdev_stop()
820 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down() argument
[all …]
Dwow.c102 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 …]
Dmac.h134 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);
Ddebugfs.c214 u32 vdev_id, u32 stats_id) in ath11k_debugfs_get_fw_stats() argument
228 req_param.vdev_id = vdev_id; in ath11k_debugfs_get_fw_stats()
237 pdev_id, vdev_id, stats_id); in ath11k_debugfs_get_fw_stats()
267 req_param.vdev_id = 0; in ath11k_open_pdev_stats()
338 req_param.vdev_id = 0; in ath11k_open_vdev_stats()
416 req_param.vdev_id = arvif->vdev_id; in ath11k_open_bcn_stats()
1699 params.vdev_id = arvif->vdev_id; in ath11k_write_twt_add_dialog()
1749 params.vdev_id = arvif->vdev_id; in ath11k_write_twt_del_dialog()
1794 params.vdev_id = arvif->vdev_id; in ath11k_write_twt_pause_dialog()
1835 params.vdev_id = arvif->vdev_id; in ath11k_write_twt_resume_dialog()
Ddp_rx.h56 int ath11k_peer_rx_tid_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id,
93 int ath11k_peer_rx_frag_setup(struct ath11k *ar, const u8 *peer_mac, int vdev_id);
Ddp.c22 void ath11k_dp_peer_cleanup(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_dp_peer_cleanup() argument
30 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
33 addr, vdev_id); in ath11k_dp_peer_cleanup()
43 int ath11k_dp_peer_setup(struct ath11k *ar, int vdev_id, const u8 *addr) in ath11k_dp_peer_setup() argument
52 ret = ath11k_wmi_set_peer_param(ar, addr, vdev_id, in ath11k_dp_peer_setup()
58 ret, addr, vdev_id); in ath11k_dp_peer_setup()
63 ret = ath11k_peer_rx_tid_setup(ar, addr, vdev_id, tid, 1, 0, in ath11k_dp_peer_setup()
72 ret = ath11k_peer_rx_frag_setup(ar, addr, vdev_id); in ath11k_dp_peer_setup()
85 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_setup()
998 arvif->vdev_id) | in ath11k_dp_vdev_tx_attach()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h73 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 …]
Dtxrx.c150 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 …]
Dmac.c242 .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 …]
Dwmi-tlv.c174 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 …]
Dwow.c30 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 …]
Dp2p.c117 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()
Dtxrx.h14 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,
Dspectral.c183 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()
Dwmi.h3163 __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 …]
Dwmi.c1868 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 …]
Dwmi-tlv.h1872 __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 …]
Dmac.h35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
52 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id);
53 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id,
Ddebugfs_sta.c217 ret = ath10k_wmi_addba_clear_resp(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_dbg_sta_write_aggr_mode()
268 ret = ath10k_wmi_addba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba()
272 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba()
319 ret = ath10k_wmi_addba_set_resp(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_addba_resp()
323 arsta->arvif->vdev_id, sta->addr, tid, status); in ath10k_dbg_sta_write_addba_resp()
369 ret = ath10k_wmi_delba_send(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_delba()
373 arsta->arvif->vdev_id, sta->addr, tid, initiator, in ath10k_dbg_sta_write_delba()
432 ret = ath10k_wmi_peer_set_param(ar, arsta->arvif->vdev_id, sta->addr, in ath10k_dbg_sta_write_peer_debug_trigger()
Dtrace.h290 u8 vdev_id, u8 tid),
292 TP_ARGS(ar, msdu_id, msdu_len, vdev_id, tid),
299 __field(u8, vdev_id)
308 __entry->vdev_id = vdev_id;
318 __entry->vdev_id,
/linux-6.1.9/drivers/platform/mellanox/
Dmlxbf-tmfifo.c82 int vdev_id; member
245 vring->vdev_id = tm_vdev->vdev.id.device; in mlxbf_tmfifo_alloc_vrings()
389 if (desc && is_rx && vring->vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_next_pkt()
480 static int mlxbf_tmfifo_get_tx_avail(struct mlxbf_tmfifo *fifo, int vdev_id) in mlxbf_tmfifo_get_tx_avail() argument
487 if (vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_tx_avail()
615 int vdev_id, hdr_len; in mlxbf_tmfifo_rxtx_header() local
628 vdev_id = VIRTIO_ID_NET; in mlxbf_tmfifo_rxtx_header()
630 config = &fifo->vdev[vdev_id]->config.net; in mlxbf_tmfifo_rxtx_header()
638 vdev_id = VIRTIO_ID_CONSOLE; in mlxbf_tmfifo_rxtx_header()
646 if (vdev_id != vring->vdev_id) { in mlxbf_tmfifo_rxtx_header()
[all …]

12