Lines Matching refs:vdev_id
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
938 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_down()
940 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev down id 0x%x\n", vdev_id); in ath12k_wmi_vdev_down()
1014 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_start()
1058 restart ? "restart" : "start", arg->vdev_id, in ath12k_wmi_vdev_start()
1076 int ath12k_wmi_vdev_up(struct ath12k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath12k_wmi_vdev_up() argument
1091 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_up()
1098 vdev_id, aid, bssid); in ath12k_wmi_vdev_up()
1127 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_create_cmd()
1131 arg->vdev_id, arg->peer_addr); in ath12k_wmi_send_peer_create_cmd()
1143 const u8 *peer_addr, u8 vdev_id) in ath12k_wmi_send_peer_delete_cmd() argument
1159 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_delete_cmd()
1163 vdev_id, peer_addr); in ath12k_wmi_send_peer_delete_cmd()
1214 u32 vdev_id, u32 param_id, u32 param_val) in ath12k_wmi_set_peer_param() argument
1229 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_peer_param()
1235 vdev_id, peer_addr, param_id, param_val); in ath12k_wmi_set_peer_param()
1249 u8 vdev_id) in ath12k_wmi_send_peer_flush_tids_cmd() argument
1266 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_flush_tids_cmd()
1270 vdev_id, peer_addr, peer_tid_bitmap); in ath12k_wmi_send_peer_flush_tids_cmd()
1283 int vdev_id, const u8 *addr, in ath12k_wmi_peer_rx_reorder_queue_setup() argument
1301 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_peer_rx_reorder_queue_setup()
1311 addr, vdev_id, tid); in ath12k_wmi_peer_rx_reorder_queue_setup()
1342 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_rx_reord_queue_remove()
1347 arg->peer_macaddr, arg->vdev_id, arg->peer_tid_bitmap); in ath12k_wmi_rx_reord_queue_remove()
1392 int ath12k_wmi_pdev_set_ps_mode(struct ath12k *ar, int vdev_id, u32 enable) in ath12k_wmi_pdev_set_ps_mode() argument
1406 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_pdev_set_ps_mode()
1411 enable, vdev_id); in ath12k_wmi_pdev_set_ps_mode()
1535 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_set_ap_ps_param_cmd()
1542 arg->vdev_id, peer_addr, arg->param, arg->value); in ath12k_wmi_send_set_ap_ps_param_cmd()
1554 int ath12k_wmi_set_sta_ps_param(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_set_sta_ps_param() argument
1570 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_sta_ps_param()
1576 vdev_id, param, param_value); in ath12k_wmi_set_sta_ps_param()
1616 int ath12k_wmi_vdev_set_param_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_vdev_set_param_cmd() argument
1632 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_set_param_cmd()
1638 vdev_id, param_id, param_value); in ath12k_wmi_vdev_set_param_cmd()
1679 u32 vdev_id, u32 bcn_ctrl_op) in ath12k_wmi_send_bcn_offload_control_cmd() argument
1694 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bcn_offload_control_cmd()
1699 vdev_id, bcn_ctrl_op); in ath12k_wmi_send_bcn_offload_control_cmd()
1711 int ath12k_wmi_bcn_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_bcn_tmpl() argument
1733 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_bcn_tmpl()
1786 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_install_key()
1942 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_assoc_cmd()
2084 cmd->vdev_id, cmd->peer_associd, arg->peer_mac, in ath12k_wmi_send_peer_assoc_cmd()
2274 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_start_cmd()
2413 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_stop_cmd()
2561 int ath12k_wmi_send_wmm_update_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_send_wmm_update_cmd() argument
2579 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_wmm_update_cmd()
2660 int ath12k_wmi_delba_send(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_delba_send() argument
2675 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_delba_send()
2683 vdev_id, mac, tid, initiator, reason); in ath12k_wmi_delba_send()
2696 int ath12k_wmi_addba_set_resp(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_addba_set_resp() argument
2712 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_set_resp()
2719 vdev_id, mac, tid, status); in ath12k_wmi_addba_set_resp()
2732 int ath12k_wmi_addba_send(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_addba_send() argument
2747 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_send()
2754 vdev_id, mac, tid, buf_size); in ath12k_wmi_addba_send()
2767 int ath12k_wmi_addba_clear_resp(struct ath12k *ar, u32 vdev_id, const u8 *mac) in ath12k_wmi_addba_clear_resp() argument
2782 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_clear_resp()
2787 vdev_id, mac); in ath12k_wmi_addba_clear_resp()
2935 ath12k_wmi_send_obss_spr_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_send_obss_spr_cmd() argument
2953 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_obss_spr_cmd()
2968 int ath12k_wmi_obss_color_cfg_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_obss_color_cfg_cmd() argument
2987 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_obss_color_cfg_cmd()
2998 cmd->vdev_id, cmd->evt_type, cmd->current_bss_color, in ath12k_wmi_obss_color_cfg_cmd()
3010 int ath12k_wmi_send_bss_color_change_enable_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_send_bss_color_change_enable_cmd() argument
3028 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bss_color_change_enable_cmd()
3033 cmd->vdev_id, cmd->enable); in ath12k_wmi_send_bss_color_change_enable_cmd()
3044 int ath12k_wmi_fils_discovery_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_fils_discovery_tmpl() argument
3058 "WMI vdev %i set FILS discovery template\n", vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3067 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3079 vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3085 int ath12k_wmi_probe_resp_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_probe_resp_tmpl() argument
3097 "WMI vdev %i set probe response template\n", vdev_id); in ath12k_wmi_probe_resp_tmpl()
3108 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_probe_resp_tmpl()
3130 vdev_id); in ath12k_wmi_probe_resp_tmpl()
3136 int ath12k_wmi_fils_discovery(struct ath12k *ar, u32 vdev_id, u32 interval, in ath12k_wmi_fils_discovery() argument
3145 vdev_id, unsol_bcast_probe_resp_enabled ? in ath12k_wmi_fils_discovery()
3157 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery()
3165 vdev_id); in ath12k_wmi_fils_discovery()
3508 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_spectral_conf()
3530 arg->vdev_id); in ath12k_wmi_vdev_spectral_conf()
3546 int ath12k_wmi_vdev_spectral_enable(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_vdev_spectral_enable() argument
3561 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_spectral_enable()
3567 vdev_id); in ath12k_wmi_vdev_spectral_enable()
4736 peer_del_resp->vdev_id = ev->vdev_id; in ath12k_pull_peer_del_resp_ev()
4746 u32 *vdev_id) in ath12k_pull_vdev_del_resp_ev() argument
4766 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_del_resp_ev()
4773 u32 len, u32 *vdev_id, in ath12k_pull_bcn_tx_status_ev() argument
4794 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_bcn_tx_status_ev()
4802 u32 *vdev_id) in ath12k_pull_vdev_stopped_param_tlv() argument
4822 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_stopped_param_tlv()
5142 scan_evt_param->vdev_id = ev->vdev_id; in ath12k_pull_scan_ev()
5197 roam_ev->vdev_id = ev->vdev_id; in ath12k_pull_roam_ev()
5259 ch_info_ev->vdev_id = ev->vdev_id; in ath12k_pull_chan_info_ev()
5327 arg->vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_install_key_compl_ev()
5358 peer_assoc_conf->vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_peer_assoc_conf_ev()
5601 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(peer_del_resp.vdev_id)); in ath12k_peer_delete_resp_event()
5604 peer_del_resp.vdev_id); in ath12k_peer_delete_resp_event()
5612 peer_del_resp.vdev_id, peer_del_resp.peer_macaddr.addr); in ath12k_peer_delete_resp_event()
5619 u32 vdev_id = 0; in ath12k_vdev_delete_resp_event() local
5621 if (ath12k_pull_vdev_del_resp_ev(ab, skb, &vdev_id) != 0) { in ath12k_vdev_delete_resp_event()
5627 ar = ath12k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath12k_vdev_delete_resp_event()
5630 vdev_id); in ath12k_vdev_delete_resp_event()
5640 vdev_id); in ath12k_vdev_delete_resp_event()
5671 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(vdev_start_resp.vdev_id)); in ath12k_vdev_start_resp_event()
5674 vdev_start_resp.vdev_id); in ath12k_vdev_start_resp_event()
5694 vdev_start_resp.vdev_id); in ath12k_vdev_start_resp_event()
5699 u32 vdev_id, tx_status; in ath12k_bcn_tx_status_event() local
5702 &vdev_id, &tx_status) != 0) { in ath12k_bcn_tx_status_event()
5711 u32 vdev_id = 0; in ath12k_vdev_stopped_event() local
5713 if (ath12k_pull_vdev_stopped_param_tlv(ab, skb, &vdev_id) != 0) { in ath12k_vdev_stopped_event()
5719 ar = ath12k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath12k_vdev_stopped_event()
5722 vdev_id); in ath12k_vdev_stopped_event()
5731 ath12k_dbg(ab, ATH12K_DBG_WMI, "vdev stopped for vdev id %d", vdev_id); in ath12k_vdev_stopped_event()
5877 u32 vdev_id) in ath12k_get_ar_on_scan_abort() argument
5890 ar->scan.vdev_id == vdev_id) { in ath12k_get_ar_on_scan_abort()
5920 ar = ath12k_get_ar_on_scan_abort(ab, le32_to_cpu(scan_ev.vdev_id)); in ath12k_scan_event()
5922 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(scan_ev.vdev_id)); in ath12k_scan_event()
5941 le32_to_cpu(scan_ev.vdev_id), in ath12k_scan_event()
6000 ar = ath12k_mac_get_ar_by_vdev_id(ab, peer->vdev_id); in ath12k_peer_sta_kickout_event()
6003 peer->vdev_id); in ath12k_peer_sta_kickout_event()
6037 roam_ev.vdev_id, roam_ev.reason, roam_ev.rssi); in ath12k_roam_event()
6040 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(roam_ev.vdev_id)); in ath12k_roam_event()
6043 roam_ev.vdev_id); in ath12k_roam_event()
6050 roam_ev.reason, roam_ev.vdev_id); in ath12k_roam_event()
6064 roam_ev.reason, roam_ev.vdev_id); in ath12k_roam_event()
6087 ch_info_ev.vdev_id, ch_info_ev.err_code, ch_info_ev.freq, in ath12k_chan_info_event()
6098 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(ch_info_ev.vdev_id)); in ath12k_chan_info_event()
6101 ch_info_ev.vdev_id); in ath12k_chan_info_event()
6235 ar = ath12k_mac_get_ar_by_vdev_id(ab, install_key_compl.vdev_id); in ath12k_vdev_install_key_compl_event()
6238 install_key_compl.vdev_id); in ath12k_vdev_install_key_compl_event()
6335 peer_assoc_conf.vdev_id, peer_assoc_conf.macaddr); in ath12k_peer_assoc_conf_event()
6338 ar = ath12k_mac_get_ar_by_vdev_id(ab, peer_assoc_conf.vdev_id); in ath12k_peer_assoc_conf_event()
6342 peer_assoc_conf.vdev_id); in ath12k_peer_assoc_conf_event()
6561 ev->vdev_id, ev->fils_tt, ev->tbtt); in ath12k_fils_discovery_event()
6593 ev->vdev_id, ev->tx_status); in ath12k_probe_resp_tx_status_event()
6773 cmd->vdev_id = ut_cmd.vdev_id; in ath12k_wmi_send_unit_test_cmd()
6791 cmd->module_id, cmd->vdev_id, cmd->num_args, in ath12k_wmi_send_unit_test_cmd()
6830 wmi_ut.vdev_id = cpu_to_le32(arvif->vdev_id); in ath12k_wmi_simulate_radar()