Lines Matching refs:vdev_id

578 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,  in ath11k_wmi_mgmt_send()  argument
600 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send()
653 cmd->vdev_id = param->if_id; in ath11k_wmi_vdev_create()
704 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() argument
718 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_delete()
726 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "WMI vdev delete id %d\n", vdev_id); in ath11k_wmi_vdev_delete()
731 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() argument
746 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_stop()
754 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "WMI vdev stop id 0x%x\n", vdev_id); in ath11k_wmi_vdev_stop()
759 int ath11k_wmi_vdev_down(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_down() argument
774 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_down()
782 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "WMI vdev down id 0x%x\n", vdev_id); in ath11k_wmi_vdev_down()
864 cmd->vdev_id = arg->vdev_id; in ath11k_wmi_vdev_start()
923 restart ? "restart" : "start", arg->vdev_id, in ath11k_wmi_vdev_start()
929 int ath11k_wmi_vdev_up(struct ath11k *ar, u32 vdev_id, u32 aid, const u8 *bssid) in ath11k_wmi_vdev_up() argument
944 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_up()
957 vdev_id, aid, bssid); in ath11k_wmi_vdev_up()
980 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_peer_create_cmd()
990 param->vdev_id, param->peer_addr); in ath11k_wmi_send_peer_create_cmd()
996 const u8 *peer_addr, u8 vdev_id) in ath11k_wmi_send_peer_delete_cmd() argument
1012 cmd->vdev_id = vdev_id; in ath11k_wmi_send_peer_delete_cmd()
1016 vdev_id, peer_addr); in ath11k_wmi_send_peer_delete_cmd()
1068 u32 vdev_id, u32 param_id, u32 param_val) in ath11k_wmi_set_peer_param() argument
1083 cmd->vdev_id = vdev_id; in ath11k_wmi_set_peer_param()
1095 vdev_id, peer_addr, param_id, param_val); in ath11k_wmi_set_peer_param()
1119 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_peer_flush_tids_cmd()
1130 param->vdev_id, peer_addr, param->peer_tid_bitmap); in ath11k_wmi_send_peer_flush_tids_cmd()
1136 int vdev_id, const u8 *addr, in ath11k_wmi_peer_rx_reorder_queue_setup() argument
1155 cmd->vdev_id = vdev_id; in ath11k_wmi_peer_rx_reorder_queue_setup()
1173 addr, vdev_id, tid); in ath11k_wmi_peer_rx_reorder_queue_setup()
1197 cmd->vdev_id = param->vdev_id; in ath11k_wmi_rx_reord_queue_remove()
1202 param->peer_macaddr, param->vdev_id, param->peer_tid_bitmap); in ath11k_wmi_rx_reord_queue_remove()
1247 int ath11k_wmi_pdev_set_ps_mode(struct ath11k *ar, int vdev_id, u32 enable) in ath11k_wmi_pdev_set_ps_mode() argument
1261 cmd->vdev_id = vdev_id; in ath11k_wmi_pdev_set_ps_mode()
1272 enable, vdev_id); in ath11k_wmi_pdev_set_ps_mode()
1392 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_set_ap_ps_param_cmd()
1406 param->vdev_id, peer_addr, param->param, param->value); in ath11k_wmi_send_set_ap_ps_param_cmd()
1411 int ath11k_wmi_set_sta_ps_param(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_set_sta_ps_param() argument
1428 cmd->vdev_id = vdev_id; in ath11k_wmi_set_sta_ps_param()
1434 vdev_id, param, param_value); in ath11k_wmi_set_sta_ps_param()
1474 int ath11k_wmi_vdev_set_param_cmd(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_vdev_set_param_cmd() argument
1490 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_set_param_cmd()
1503 vdev_id, param_id, param_value); in ath11k_wmi_vdev_set_param_cmd()
1525 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_stats_request_cmd()
1536 param->stats_id, param->vdev_id, param->pdev_id); in ath11k_wmi_send_stats_request_cmd()
1570 u32 vdev_id, u32 bcn_ctrl_op) in ath11k_wmi_send_bcn_offload_control_cmd() argument
1586 cmd->vdev_id = vdev_id; in ath11k_wmi_send_bcn_offload_control_cmd()
1591 vdev_id, bcn_ctrl_op); in ath11k_wmi_send_bcn_offload_control_cmd()
1603 int ath11k_wmi_bcn_tmpl(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_bcn_tmpl() argument
1625 cmd->vdev_id = vdev_id; in ath11k_wmi_bcn_tmpl()
1676 cmd->vdev_id = arg->vdev_id; in ath11k_wmi_vdev_install_key()
1828 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_peer_assoc_cmd()
1939 cmd->vdev_id, cmd->peer_associd, param->peer_mac, in ath11k_wmi_send_peer_assoc_cmd()
2116 cmd->vdev_id = params->vdev_id; in ath11k_wmi_send_scan_start_cmd()
2262 cmd->vdev_id = param->vdev_id; in ath11k_wmi_send_scan_stop_cmd()
2412 int ath11k_wmi_send_wmm_update_cmd_tlv(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_send_wmm_update_cmd_tlv() argument
2431 cmd->vdev_id = vdev_id; in ath11k_wmi_send_wmm_update_cmd_tlv()
2515 int ath11k_wmi_delba_send(struct ath11k *ar, u32 vdev_id, const u8 *mac, in ath11k_wmi_delba_send() argument
2530 cmd->vdev_id = vdev_id; in ath11k_wmi_delba_send()
2538 vdev_id, mac, tid, initiator, reason); in ath11k_wmi_delba_send()
2551 int ath11k_wmi_addba_set_resp(struct ath11k *ar, u32 vdev_id, const u8 *mac, in ath11k_wmi_addba_set_resp() argument
2567 cmd->vdev_id = vdev_id; in ath11k_wmi_addba_set_resp()
2574 vdev_id, mac, tid, status); in ath11k_wmi_addba_set_resp()
2587 int ath11k_wmi_addba_send(struct ath11k *ar, u32 vdev_id, const u8 *mac, in ath11k_wmi_addba_send() argument
2602 cmd->vdev_id = vdev_id; in ath11k_wmi_addba_send()
2609 vdev_id, mac, tid, buf_size); in ath11k_wmi_addba_send()
2622 int ath11k_wmi_addba_clear_resp(struct ath11k *ar, u32 vdev_id, const u8 *mac) in ath11k_wmi_addba_clear_resp() argument
2637 cmd->vdev_id = vdev_id; in ath11k_wmi_addba_clear_resp()
2642 vdev_id, mac); in ath11k_wmi_addba_clear_resp()
2960 ath11k_wmi_send_obss_spr_cmd(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_send_obss_spr_cmd() argument
2979 cmd->vdev_id = vdev_id; in ath11k_wmi_send_obss_spr_cmd()
3222 ath11k_wmi_send_obss_color_collision_cfg_cmd(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_send_obss_color_collision_cfg_cmd() argument
3242 cmd->vdev_id = vdev_id; in ath11k_wmi_send_obss_color_collision_cfg_cmd()
3253 cmd->vdev_id, cmd->evt_type, cmd->current_bss_color, in ath11k_wmi_send_obss_color_collision_cfg_cmd()
3265 int ath11k_wmi_send_bss_color_change_enable_cmd(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_send_bss_color_change_enable_cmd() argument
3283 cmd->vdev_id = vdev_id; in ath11k_wmi_send_bss_color_change_enable_cmd()
3288 cmd->vdev_id, cmd->enable); in ath11k_wmi_send_bss_color_change_enable_cmd()
3299 int ath11k_wmi_fils_discovery_tmpl(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_fils_discovery_tmpl() argument
3313 "WMI vdev %i set FILS discovery template\n", vdev_id); in ath11k_wmi_fils_discovery_tmpl()
3323 cmd->vdev_id = vdev_id; in ath11k_wmi_fils_discovery_tmpl()
3336 vdev_id); in ath11k_wmi_fils_discovery_tmpl()
3342 int ath11k_wmi_probe_resp_tmpl(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_probe_resp_tmpl() argument
3354 "WMI vdev %i set probe response template\n", vdev_id); in ath11k_wmi_probe_resp_tmpl()
3365 cmd->vdev_id = vdev_id; in ath11k_wmi_probe_resp_tmpl()
3389 vdev_id); in ath11k_wmi_probe_resp_tmpl()
3395 int ath11k_wmi_fils_discovery(struct ath11k *ar, u32 vdev_id, u32 interval, in ath11k_wmi_fils_discovery() argument
3404 vdev_id, unsol_bcast_probe_resp_enabled ? in ath11k_wmi_fils_discovery()
3416 cmd->vdev_id = vdev_id; in ath11k_wmi_fils_discovery()
3424 vdev_id); in ath11k_wmi_fils_discovery()
3786 param->vdev_id); in ath11k_wmi_vdev_spectral_conf()
3794 int ath11k_wmi_vdev_spectral_enable(struct ath11k *ar, u32 vdev_id, in ath11k_wmi_vdev_spectral_enable() argument
3810 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_spectral_enable()
3824 vdev_id); in ath11k_wmi_vdev_spectral_enable()
4450 vdev_rsp->vdev_id = ev->vdev_id; in ath11k_pull_vdev_start_resp_tlv()
4630 peer_del_resp->vdev_id = ev->vdev_id; in ath11k_pull_peer_del_resp_ev()
4640 u32 *vdev_id) in ath11k_pull_vdev_del_resp_ev() argument
4660 *vdev_id = ev->vdev_id; in ath11k_pull_vdev_del_resp_ev()
4667 u32 len, u32 *vdev_id, in ath11k_pull_bcn_tx_status_ev() argument
4688 *vdev_id = ev->vdev_id; in ath11k_pull_bcn_tx_status_ev()
4696 u32 *vdev_id) in ath11k_pull_vdev_stopped_param_tlv() argument
4716 *vdev_id = ev->vdev_id; in ath11k_pull_vdev_stopped_param_tlv()
5012 scan_evt_param->vdev_id = ev->vdev_id; in ath11k_pull_scan_ev()
5067 roam_ev->vdev_id = ev->vdev_id; in ath11k_pull_roam_ev()
5126 ch_info_ev->vdev_id = ev->vdev_id; in ath11k_pull_chan_info_ev()
5194 arg->vdev_id = ev->vdev_id; in ath11k_pull_vdev_install_key_compl_ev()
5225 peer_assoc_conf->vdev_id = ev->vdev_id; in ath11k_pull_peer_assoc_conf_ev()
5311 dst->vdev_id = src->vdev_id; in ath11k_wmi_pull_vdev_stats()
5341 dst->vdev_id = src->vdev_id; in ath11k_wmi_pull_bcn_stats()
5648 struct ath11k_vif *arvif = ath11k_mac_get_arvif(ar, vdev->vdev_id); in ath11k_wmi_fw_vdev_stats_fill()
5661 "VDEV ID", vdev->vdev_id); in ath11k_wmi_fw_vdev_stats_fill()
5722 struct ath11k_vif *arvif = ath11k_mac_get_arvif(ar, bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
5727 bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
5734 "VDEV ID", bcn->vdev_id); in ath11k_wmi_fw_bcn_stats_fill()
6016 ar = ath11k_mac_get_ar_by_vdev_id(ab, peer_del_resp.vdev_id); in ath11k_peer_delete_resp_event()
6019 peer_del_resp.vdev_id); in ath11k_peer_delete_resp_event()
6027 peer_del_resp.vdev_id, peer_del_resp.peer_macaddr.addr); in ath11k_peer_delete_resp_event()
6034 u32 vdev_id = 0; in ath11k_vdev_delete_resp_event() local
6036 if (ath11k_pull_vdev_del_resp_ev(ab, skb, &vdev_id) != 0) { in ath11k_vdev_delete_resp_event()
6042 ar = ath11k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath11k_vdev_delete_resp_event()
6045 vdev_id); in ath11k_vdev_delete_resp_event()
6055 vdev_id); in ath11k_vdev_delete_resp_event()
6086 ar = ath11k_mac_get_ar_by_vdev_id(ab, vdev_start_resp.vdev_id); in ath11k_vdev_start_resp_event()
6089 vdev_start_resp.vdev_id); in ath11k_vdev_start_resp_event()
6109 vdev_start_resp.vdev_id); in ath11k_vdev_start_resp_event()
6114 u32 vdev_id, tx_status; in ath11k_bcn_tx_status_event() local
6117 &vdev_id, &tx_status) != 0) { in ath11k_bcn_tx_status_event()
6126 u32 vdev_id = 0; in ath11k_vdev_stopped_event() local
6128 if (ath11k_pull_vdev_stopped_param_tlv(ab, skb, &vdev_id) != 0) { in ath11k_vdev_stopped_event()
6134 ar = ath11k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath11k_vdev_stopped_event()
6137 vdev_id); in ath11k_vdev_stopped_event()
6146 ath11k_dbg(ab, ATH11K_DBG_WMI, "vdev stopped for vdev id %d", vdev_id); in ath11k_vdev_stopped_event()
6295 u32 vdev_id, in ath11k_get_ar_on_scan_state() argument
6309 ar->scan.vdev_id == vdev_id) { in ath11k_get_ar_on_scan_state()
6339 ar = ath11k_get_ar_on_scan_state(ab, scan_ev.vdev_id, in ath11k_scan_event()
6342 ar = ath11k_get_ar_on_scan_state(ab, scan_ev.vdev_id, in ath11k_scan_event()
6345 ar = ath11k_mac_get_ar_by_vdev_id(ab, scan_ev.vdev_id); in ath11k_scan_event()
6360 scan_ev.scan_req_id, scan_ev.scan_id, scan_ev.vdev_id, in ath11k_scan_event()
6419 ar = ath11k_mac_get_ar_by_vdev_id(ab, peer->vdev_id); in ath11k_peer_sta_kickout_event()
6422 peer->vdev_id); in ath11k_peer_sta_kickout_event()
6456 roam_ev.vdev_id, roam_ev.reason, roam_ev.rssi); in ath11k_roam_event()
6459 ar = ath11k_mac_get_ar_by_vdev_id(ab, roam_ev.vdev_id); in ath11k_roam_event()
6462 roam_ev.vdev_id); in ath11k_roam_event()
6469 roam_ev.reason, roam_ev.vdev_id); in ath11k_roam_event()
6473 ath11k_mac_handle_beacon_miss(ar, roam_ev.vdev_id); in ath11k_roam_event()
6480 roam_ev.reason, roam_ev.vdev_id); in ath11k_roam_event()
6503 ch_info_ev.vdev_id, ch_info_ev.err_code, ch_info_ev.freq, in ath11k_chan_info_event()
6514 ar = ath11k_mac_get_ar_by_vdev_id(ab, ch_info_ev.vdev_id); in ath11k_chan_info_event()
6517 ch_info_ev.vdev_id); in ath11k_chan_info_event()
6650 ar = ath11k_mac_get_ar_by_vdev_id(ab, install_key_compl.vdev_id); in ath11k_vdev_install_key_compl_event()
6653 install_key_compl.vdev_id); in ath11k_vdev_install_key_compl_event()
6725 peer_assoc_conf.vdev_id, peer_assoc_conf.macaddr); in ath11k_peer_assoc_conf_event()
6728 ar = ath11k_mac_get_ar_by_vdev_id(ab, peer_assoc_conf.vdev_id); in ath11k_peer_assoc_conf_event()
6732 peer_assoc_conf.vdev_id); in ath11k_peer_assoc_conf_event()
6959 ev->vdev_id, ev->fils_tt, ev->tbtt); in ath11k_fils_discovery_event()
6991 ev->vdev_id, ev->tx_status); in ath11k_probe_resp_tx_status_event()
7232 cmd->vdev_id = ut_cmd.vdev_id; in ath11k_wmi_send_unit_test_cmd()
7259 cmd->module_id, cmd->vdev_id, cmd->num_args, in ath11k_wmi_send_unit_test_cmd()
7290 wmi_ut.vdev_id = arvif->vdev_id; in ath11k_wmi_simulate_radar()