Lines Matching refs:vdev_id
760 int ath12k_wmi_mgmt_send(struct ath12k *ar, u32 vdev_id, u32 buf_id, in ath12k_wmi_mgmt_send() argument
781 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send()
835 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create()
892 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() argument
906 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_delete()
908 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev delete id %d\n", vdev_id); in ath12k_wmi_vdev_delete()
919 int ath12k_wmi_vdev_stop(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_stop() argument
934 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_stop()
936 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev stop id 0x%x\n", vdev_id); in ath12k_wmi_vdev_stop()
947 int ath12k_wmi_vdev_down(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_down() argument
962 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_down()
964 ath12k_dbg(ar->ab, ATH12K_DBG_WMI, "WMI vdev down id 0x%x\n", vdev_id); in ath12k_wmi_vdev_down()
1042 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_start()
1094 restart ? "restart" : "start", arg->vdev_id, in ath12k_wmi_vdev_start()
1112 int ath12k_wmi_vdev_up(struct ath12k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath12k_wmi_vdev_up() argument
1127 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_up()
1134 vdev_id, aid, bssid); in ath12k_wmi_vdev_up()
1163 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_create_cmd()
1167 arg->vdev_id, arg->peer_addr); in ath12k_wmi_send_peer_create_cmd()
1179 const u8 *peer_addr, u8 vdev_id) in ath12k_wmi_send_peer_delete_cmd() argument
1195 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_delete_cmd()
1199 vdev_id, peer_addr); in ath12k_wmi_send_peer_delete_cmd()
1250 u32 vdev_id, u32 param_id, u32 param_val) in ath12k_wmi_set_peer_param() argument
1265 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_peer_param()
1271 vdev_id, peer_addr, param_id, param_val); in ath12k_wmi_set_peer_param()
1285 u8 vdev_id) in ath12k_wmi_send_peer_flush_tids_cmd() argument
1302 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_peer_flush_tids_cmd()
1306 vdev_id, peer_addr, peer_tid_bitmap); in ath12k_wmi_send_peer_flush_tids_cmd()
1319 int vdev_id, const u8 *addr, in ath12k_wmi_peer_rx_reorder_queue_setup() argument
1337 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_peer_rx_reorder_queue_setup()
1347 addr, vdev_id, tid); in ath12k_wmi_peer_rx_reorder_queue_setup()
1378 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_rx_reord_queue_remove()
1383 arg->peer_macaddr, arg->vdev_id, arg->peer_tid_bitmap); in ath12k_wmi_rx_reord_queue_remove()
1428 int ath12k_wmi_pdev_set_ps_mode(struct ath12k *ar, int vdev_id, u32 enable) in ath12k_wmi_pdev_set_ps_mode() argument
1442 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_pdev_set_ps_mode()
1447 enable, vdev_id); in ath12k_wmi_pdev_set_ps_mode()
1571 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_set_ap_ps_param_cmd()
1578 arg->vdev_id, peer_addr, arg->param, arg->value); in ath12k_wmi_send_set_ap_ps_param_cmd()
1590 int ath12k_wmi_set_sta_ps_param(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_set_sta_ps_param() argument
1606 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_set_sta_ps_param()
1612 vdev_id, param, param_value); in ath12k_wmi_set_sta_ps_param()
1652 int ath12k_wmi_vdev_set_param_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_vdev_set_param_cmd() argument
1668 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_set_param_cmd()
1674 vdev_id, param_id, param_value); in ath12k_wmi_vdev_set_param_cmd()
1715 u32 vdev_id, u32 bcn_ctrl_op) in ath12k_wmi_send_bcn_offload_control_cmd() argument
1730 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bcn_offload_control_cmd()
1735 vdev_id, bcn_ctrl_op); in ath12k_wmi_send_bcn_offload_control_cmd()
1747 int ath12k_wmi_bcn_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_bcn_tmpl() argument
1773 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_bcn_tmpl()
1834 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_install_key()
1998 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_peer_assoc_cmd()
2176 cmd->vdev_id, cmd->peer_associd, arg->peer_mac, in ath12k_wmi_send_peer_assoc_cmd()
2368 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_start_cmd()
2547 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_send_scan_stop_cmd()
2707 int ath12k_wmi_send_wmm_update_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_send_wmm_update_cmd() argument
2725 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_wmm_update_cmd()
2806 int ath12k_wmi_delba_send(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_delba_send() argument
2821 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_delba_send()
2829 vdev_id, mac, tid, initiator, reason); in ath12k_wmi_delba_send()
2842 int ath12k_wmi_addba_set_resp(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_addba_set_resp() argument
2858 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_set_resp()
2865 vdev_id, mac, tid, status); in ath12k_wmi_addba_set_resp()
2878 int ath12k_wmi_addba_send(struct ath12k *ar, u32 vdev_id, const u8 *mac, in ath12k_wmi_addba_send() argument
2893 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_send()
2900 vdev_id, mac, tid, buf_size); in ath12k_wmi_addba_send()
2913 int ath12k_wmi_addba_clear_resp(struct ath12k *ar, u32 vdev_id, const u8 *mac) in ath12k_wmi_addba_clear_resp() argument
2928 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_addba_clear_resp()
2933 vdev_id, mac); in ath12k_wmi_addba_clear_resp()
3081 ath12k_wmi_send_obss_spr_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_send_obss_spr_cmd() argument
3099 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_obss_spr_cmd()
3114 int ath12k_wmi_obss_color_cfg_cmd(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_obss_color_cfg_cmd() argument
3133 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_obss_color_cfg_cmd()
3144 cmd->vdev_id, cmd->evt_type, cmd->current_bss_color, in ath12k_wmi_obss_color_cfg_cmd()
3156 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
3174 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_bss_color_change_enable_cmd()
3179 cmd->vdev_id, cmd->enable); in ath12k_wmi_send_bss_color_change_enable_cmd()
3190 int ath12k_wmi_fils_discovery_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_fils_discovery_tmpl() argument
3204 "WMI vdev %i set FILS discovery template\n", vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3213 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3225 vdev_id); in ath12k_wmi_fils_discovery_tmpl()
3231 int ath12k_wmi_probe_resp_tmpl(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_probe_resp_tmpl() argument
3247 "WMI vdev %i set probe response template\n", vdev_id); in ath12k_wmi_probe_resp_tmpl()
3258 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_probe_resp_tmpl()
3288 vdev_id); in ath12k_wmi_probe_resp_tmpl()
3294 int ath12k_wmi_fils_discovery(struct ath12k *ar, u32 vdev_id, u32 interval, in ath12k_wmi_fils_discovery() argument
3303 vdev_id, unsol_bcast_probe_resp_enabled ? in ath12k_wmi_fils_discovery()
3315 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_fils_discovery()
3323 vdev_id); in ath12k_wmi_fils_discovery()
3694 cmd->vdev_id = cpu_to_le32(arg->vdev_id); in ath12k_wmi_vdev_spectral_conf()
3716 arg->vdev_id); in ath12k_wmi_vdev_spectral_conf()
3732 int ath12k_wmi_vdev_spectral_enable(struct ath12k *ar, u32 vdev_id, in ath12k_wmi_vdev_spectral_enable() argument
3747 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_vdev_spectral_enable()
3753 vdev_id); in ath12k_wmi_vdev_spectral_enable()
4936 peer_del_resp->vdev_id = ev->vdev_id; in ath12k_pull_peer_del_resp_ev()
4946 u32 *vdev_id) in ath12k_pull_vdev_del_resp_ev() argument
4966 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_del_resp_ev()
4973 u32 len, u32 *vdev_id, in ath12k_pull_bcn_tx_status_ev() argument
4994 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_bcn_tx_status_ev()
5002 u32 *vdev_id) in ath12k_pull_vdev_stopped_param_tlv() argument
5022 *vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_stopped_param_tlv()
5342 scan_evt_param->vdev_id = ev->vdev_id; in ath12k_pull_scan_ev()
5397 roam_ev->vdev_id = ev->vdev_id; in ath12k_pull_roam_ev()
5459 ch_info_ev->vdev_id = ev->vdev_id; in ath12k_pull_chan_info_ev()
5527 arg->vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_vdev_install_key_compl_ev()
5558 peer_assoc_conf->vdev_id = le32_to_cpu(ev->vdev_id); in ath12k_pull_peer_assoc_conf_ev()
5813 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(peer_del_resp.vdev_id)); in ath12k_peer_delete_resp_event()
5816 peer_del_resp.vdev_id); in ath12k_peer_delete_resp_event()
5824 peer_del_resp.vdev_id, peer_del_resp.peer_macaddr.addr); in ath12k_peer_delete_resp_event()
5831 u32 vdev_id = 0; in ath12k_vdev_delete_resp_event() local
5833 if (ath12k_pull_vdev_del_resp_ev(ab, skb, &vdev_id) != 0) { in ath12k_vdev_delete_resp_event()
5839 ar = ath12k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath12k_vdev_delete_resp_event()
5842 vdev_id); in ath12k_vdev_delete_resp_event()
5852 vdev_id); in ath12k_vdev_delete_resp_event()
5883 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(vdev_start_resp.vdev_id)); in ath12k_vdev_start_resp_event()
5886 vdev_start_resp.vdev_id); in ath12k_vdev_start_resp_event()
5906 vdev_start_resp.vdev_id); in ath12k_vdev_start_resp_event()
5911 u32 vdev_id, tx_status; in ath12k_bcn_tx_status_event() local
5914 &vdev_id, &tx_status) != 0) { in ath12k_bcn_tx_status_event()
5923 u32 vdev_id = 0; in ath12k_vdev_stopped_event() local
5925 if (ath12k_pull_vdev_stopped_param_tlv(ab, skb, &vdev_id) != 0) { in ath12k_vdev_stopped_event()
5931 ar = ath12k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath12k_vdev_stopped_event()
5934 vdev_id); in ath12k_vdev_stopped_event()
5943 ath12k_dbg(ab, ATH12K_DBG_WMI, "vdev stopped for vdev id %d", vdev_id); in ath12k_vdev_stopped_event()
6089 u32 vdev_id) in ath12k_get_ar_on_scan_abort() argument
6102 ar->scan.vdev_id == vdev_id) { in ath12k_get_ar_on_scan_abort()
6132 ar = ath12k_get_ar_on_scan_abort(ab, le32_to_cpu(scan_ev.vdev_id)); in ath12k_scan_event()
6134 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(scan_ev.vdev_id)); in ath12k_scan_event()
6153 le32_to_cpu(scan_ev.vdev_id), in ath12k_scan_event()
6212 ar = ath12k_mac_get_ar_by_vdev_id(ab, peer->vdev_id); in ath12k_peer_sta_kickout_event()
6215 peer->vdev_id); in ath12k_peer_sta_kickout_event()
6249 roam_ev.vdev_id, roam_ev.reason, roam_ev.rssi); in ath12k_roam_event()
6252 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(roam_ev.vdev_id)); in ath12k_roam_event()
6255 roam_ev.vdev_id); in ath12k_roam_event()
6262 roam_ev.reason, roam_ev.vdev_id); in ath12k_roam_event()
6276 roam_ev.reason, roam_ev.vdev_id); in ath12k_roam_event()
6299 ch_info_ev.vdev_id, ch_info_ev.err_code, ch_info_ev.freq, in ath12k_chan_info_event()
6310 ar = ath12k_mac_get_ar_by_vdev_id(ab, le32_to_cpu(ch_info_ev.vdev_id)); in ath12k_chan_info_event()
6313 ch_info_ev.vdev_id); in ath12k_chan_info_event()
6454 ar = ath12k_mac_get_ar_by_vdev_id(ab, install_key_compl.vdev_id); in ath12k_vdev_install_key_compl_event()
6457 install_key_compl.vdev_id); in ath12k_vdev_install_key_compl_event()
6566 peer_assoc_conf.vdev_id, peer_assoc_conf.macaddr); in ath12k_peer_assoc_conf_event()
6569 ar = ath12k_mac_get_ar_by_vdev_id(ab, peer_assoc_conf.vdev_id); in ath12k_peer_assoc_conf_event()
6573 peer_assoc_conf.vdev_id); in ath12k_peer_assoc_conf_event()
6783 ev->vdev_id, ev->fils_tt, ev->tbtt); in ath12k_fils_discovery_event()
6815 ev->vdev_id, ev->tx_status); in ath12k_probe_resp_tx_status_event()
6999 cmd->vdev_id = ut_cmd.vdev_id; in ath12k_wmi_send_unit_test_cmd()
7025 cmd->module_id, cmd->vdev_id, cmd->num_args, in ath12k_wmi_send_unit_test_cmd()
7064 wmi_ut.vdev_id = cpu_to_le32(arvif->vdev_id); in ath12k_wmi_simulate_radar()