Lines Matching refs:vdev_id
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
747 ret = ath10k_wmi_peer_create(ar, vdev_id, addr, peer_type); in ath10k_peer_create()
750 addr, vdev_id, ret); in ath10k_peer_create()
754 ret = ath10k_wait_for_peer_created(ar, vdev_id, addr); in ath10k_peer_create()
757 addr, vdev_id, ret); in ath10k_peer_create()
763 peer = ath10k_peer_find(ar, vdev_id, addr); in ath10k_peer_create()
767 addr, vdev_id); in ath10k_peer_create()
768 ath10k_wait_for_peer_delete_done(ar, vdev_id, addr); in ath10k_peer_create()
793 arvif->vdev_id, ret); in ath10k_mac_set_kickout()
798 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, in ath10k_mac_set_kickout()
802 arvif->vdev_id, ret); in ath10k_mac_set_kickout()
807 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, in ath10k_mac_set_kickout()
811 arvif->vdev_id, ret); in ath10k_mac_set_kickout()
816 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, in ath10k_mac_set_kickout()
820 arvif->vdev_id, ret); in ath10k_mac_set_kickout()
833 return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, value); in ath10k_mac_set_rts()
836 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete() argument
842 ret = ath10k_wmi_peer_delete(ar, vdev_id, addr); in ath10k_peer_delete()
846 ret = ath10k_wait_for_peer_deleted(ar, vdev_id, addr); in ath10k_peer_delete()
894 static void ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) in ath10k_peer_cleanup() argument
902 if (peer->vdev_id != vdev_id) in ath10k_peer_cleanup()
906 peer->addr, vdev_id); in ath10k_peer_cleanup()
935 static int ath10k_mac_tdls_peer_update(struct ath10k *ar, u32 vdev_id, in ath10k_mac_tdls_peer_update() argument
946 arg.vdev_id = vdev_id; in ath10k_mac_tdls_peer_update()
960 arg.addr, vdev_id, ret); in ath10k_mac_tdls_peer_update()
1030 static int ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) in ath10k_monitor_vdev_start() argument
1047 arg.vdev_id = vdev_id; in ath10k_monitor_vdev_start()
1070 vdev_id, ret); in ath10k_monitor_vdev_start()
1077 vdev_id, ret); in ath10k_monitor_vdev_start()
1081 ret = ath10k_wmi_vdev_up(ar, vdev_id, 0, ar->mac_addr); in ath10k_monitor_vdev_start()
1084 vdev_id, ret); in ath10k_monitor_vdev_start()
1088 ar->monitor_vdev_id = vdev_id; in ath10k_monitor_vdev_start()
1334 arvif->vdev_id, arvif->use_cts_prot); in ath10k_mac_set_cts_prot()
1336 return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_mac_set_cts_prot()
1359 arvif->vdev_id, rts_cts); in ath10k_recalc_rtscts_prot()
1361 return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_recalc_rtscts_prot()
1459 ret = ath10k_wmi_vdev_stop(ar, arvif->vdev_id); in ath10k_vdev_stop()
1462 arvif->vdev_id, ret); in ath10k_vdev_stop()
1469 arvif->vdev_id, ret); in ath10k_vdev_stop()
1496 arg.vdev_id = arvif->vdev_id; in ath10k_vdev_start_restart()
1525 arg.vdev_id, arg.channel.freq, in ath10k_vdev_start_restart()
1535 arg.vdev_id, ret); in ath10k_vdev_start_restart()
1543 arg.vdev_id, restart, ret); in ath10k_vdev_start_restart()
1584 ret = ath10k_wmi_p2p_go_bcn_ie(ar, arvif->vdev_id, p2p_ie); in ath10k_mac_setup_bcn_p2p_ie()
1587 arvif->vdev_id, ret); in ath10k_mac_setup_bcn_p2p_ie()
1661 ret = ath10k_wmi_bcn_tmpl(ar, arvif->vdev_id, offs.tim_offset, bcn, 0, in ath10k_mac_setup_bcn_tmpl()
1698 ret = ath10k_wmi_prb_tmpl(ar, arvif->vdev_id, prb); in ath10k_mac_setup_prb_tmpl()
1743 ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); in ath10k_mac_vif_fix_hidden_ssid()
1746 arvif->vdev_id, ret); in ath10k_mac_vif_fix_hidden_ssid()
1769 arvif->vdev_id, ret); in ath10k_mac_vif_fix_hidden_ssid()
1773 ret = ath10k_wmi_vdev_up(arvif->ar, arvif->vdev_id, arvif->aid, in ath10k_mac_vif_fix_hidden_ssid()
1777 arvif->vdev_id, ret); in ath10k_mac_vif_fix_hidden_ssid()
1793 ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); in ath10k_control_beaconing()
1796 arvif->vdev_id, ret); in ath10k_control_beaconing()
1812 ret = ath10k_wmi_vdev_up(arvif->ar, arvif->vdev_id, arvif->aid, in ath10k_control_beaconing()
1816 arvif->vdev_id, ret); in ath10k_control_beaconing()
1825 arvif->vdev_id, ret); in ath10k_control_beaconing()
1829 ath10k_dbg(ar, ATH10K_DBG_MAC, "mac vdev %d up\n", arvif->vdev_id); in ath10k_control_beaconing()
1851 ret = ath10k_wmi_vdev_set_param(arvif->ar, arvif->vdev_id, vdev_param, in ath10k_control_ibss()
1855 arvif->vdev_id, ret); in ath10k_control_ibss()
1873 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, param, value); in ath10k_mac_vif_recalc_ps_wake_threshold()
1876 value, arvif->vdev_id, ret); in ath10k_mac_vif_recalc_ps_wake_threshold()
1898 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, in ath10k_mac_vif_recalc_ps_poll_count()
1902 value, arvif->vdev_id, ret); in ath10k_mac_vif_recalc_ps_poll_count()
1945 arvif->vdev_id); in ath10k_mac_vif_setup_ps()
1967 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, param, in ath10k_mac_vif_setup_ps()
1971 arvif->vdev_id, ret); in ath10k_mac_vif_setup_ps()
1979 arvif->vdev_id, psmode ? "enable" : "disable"); in ath10k_mac_vif_setup_ps()
1981 ret = ath10k_wmi_set_psmode(ar, arvif->vdev_id, psmode); in ath10k_mac_vif_setup_ps()
1984 psmode, arvif->vdev_id, ret); in ath10k_mac_vif_setup_ps()
2008 arg.vdev_id = arvif->vdev_id; in ath10k_mac_vif_disable_keepalive()
2016 arvif->vdev_id, ret); in ath10k_mac_vif_disable_keepalive()
2098 u32 *vdev_id = data; in ath10k_mac_handle_beacon_miss_iter() local
2103 if (arvif->vdev_id != *vdev_id) in ath10k_mac_handle_beacon_miss_iter()
2120 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id) in ath10k_mac_handle_beacon_miss() argument
2125 &vdev_id); in ath10k_mac_handle_beacon_miss()
2177 arg->vdev_id = arvif->vdev_id; in ath10k_peer_assoc_h_basic()
2438 ret = ath10k_wmi_set_ap_ps_param(ar, arvif->vdev_id, in ath10k_peer_assoc_qos_ap()
2444 arvif->vdev_id, ret); in ath10k_peer_assoc_qos_ap()
2448 ret = ath10k_wmi_set_ap_ps_param(ar, arvif->vdev_id, in ath10k_peer_assoc_qos_ap()
2454 arvif->vdev_id, ret); in ath10k_peer_assoc_qos_ap()
2463 ret = ath10k_wmi_set_ap_ps_param(ar, arvif->vdev_id, sta->addr, in ath10k_peer_assoc_qos_ap()
2468 arvif->vdev_id, ret); in ath10k_peer_assoc_qos_ap()
2839 return ath10k_wmi_peer_set_param(ar, arvif->vdev_id, addr, in ath10k_setup_peer_smps()
2899 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, param, value); in ath10k_mac_vif_recalc_txbf()
3077 arvif->vdev_id, arvif->bssid, arvif->aid); in ath10k_bss_assoc()
3084 bss_conf->bssid, arvif->vdev_id); in ath10k_bss_assoc()
3098 bss_conf->bssid, arvif->vdev_id, ret); in ath10k_bss_assoc()
3108 bss_conf->bssid, arvif->vdev_id, ret); in ath10k_bss_assoc()
3115 arvif->vdev_id, ret); in ath10k_bss_assoc()
3122 arvif->vdev_id, bss_conf->bssid, ret); in ath10k_bss_assoc()
3128 arvif->vdev_id, bss_conf->bssid, vif->cfg.aid); in ath10k_bss_assoc()
3140 ret = ath10k_wmi_vdev_up(ar, arvif->vdev_id, arvif->aid, arvif->bssid); in ath10k_bss_assoc()
3143 arvif->vdev_id, ret); in ath10k_bss_assoc()
3155 ret = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, arvif->bssid, in ath10k_bss_assoc()
3159 arvif->bssid, arvif->vdev_id, ret); in ath10k_bss_assoc()
3175 arvif->vdev_id, arvif->bssid); in ath10k_bss_disassoc()
3177 ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); in ath10k_bss_disassoc()
3180 arvif->vdev_id, ret); in ath10k_bss_disassoc()
3187 arvif->vdev_id, ret); in ath10k_bss_disassoc()
3213 arg.vdev_id = arvif->vdev_id; in ath10k_new_peer_tid_config()
3275 sta->addr, arvif->vdev_id, ret); in ath10k_station_assoc()
3282 sta->addr, arvif->vdev_id, ret); in ath10k_station_assoc()
3294 arvif->vdev_id, ret); in ath10k_station_assoc()
3301 sta->addr, arvif->vdev_id, ret); in ath10k_station_assoc()
3310 arvif->vdev_id, ret); in ath10k_station_assoc()
3320 arvif->vdev_id, ret); in ath10k_station_assoc()
3346 arvif->vdev_id, ret); in ath10k_station_disassoc()
3354 arvif->vdev_id, ret); in ath10k_station_disassoc()
3604 ieee80211_wake_queue(ar->hw, arvif->vdev_id); in ath10k_mac_tx_unlock_iter()
3633 ieee80211_stop_queue(ar->hw, arvif->vdev_id); in ath10k_mac_vif_tx_lock()
3651 ieee80211_wake_queue(ar->hw, arvif->vdev_id); in ath10k_mac_vif_tx_unlock()
3672 action, arvif->vdev_id); in ath10k_mac_vif_handle_tx_pause()
3678 u32 vdev_id; member
3689 if (arvif->vdev_id != arg->vdev_id) in ath10k_mac_handle_tx_pause_iter()
3695 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id, in ath10k_mac_handle_tx_pause_vdev() argument
3700 .vdev_id = vdev_id, in ath10k_mac_handle_tx_pause_vdev()
4114 int vdev_id; in ath10k_offchan_tx_work() local
4141 vdev_id = ar->scan.vdev_id; in ath10k_offchan_tx_work()
4142 peer = ath10k_peer_find(ar, vdev_id, peer_addr); in ath10k_offchan_tx_work()
4147 peer_addr, vdev_id); in ath10k_offchan_tx_work()
4149 ret = ath10k_peer_create(ar, NULL, NULL, vdev_id, in ath10k_offchan_tx_work()
4154 peer_addr, vdev_id, ret); in ath10k_offchan_tx_work()
4167 arvif = ath10k_get_arvif(ar, vdev_id); in ath10k_offchan_tx_work()
4193 ret = ath10k_peer_delete(ar, vdev_id, peer_addr); in ath10k_offchan_tx_work()
4196 peer_addr, vdev_id, ret); in ath10k_offchan_tx_work()
5489 return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, in ath10k_mac_set_txbf_conf()
5508 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_update_vif_offload()
5513 arvif->vdev_id, ret); in ath10k_update_vif_offload()
5576 arvif->vdev_id = bit; in ath10k_add_interface()
5627 vif->cab_queue = arvif->vdev_id % (IEEE80211_MAX_QUEUES - 1); in ath10k_add_interface()
5629 vif->hw_queue[i] = arvif->vdev_id % (IEEE80211_MAX_QUEUES - 1); in ath10k_add_interface()
5687 arvif->vdev_id, arvif->vdev_type, arvif->vdev_subtype, in ath10k_add_interface()
5690 ret = ath10k_wmi_vdev_create(ar, arvif->vdev_id, arvif->vdev_type, in ath10k_add_interface()
5694 arvif->vdev_id, ret); in ath10k_add_interface()
5701 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_add_interface()
5705 arvif->vdev_id, ret); in ath10k_add_interface()
5709 ar->free_vdev_map &= ~(1LL << arvif->vdev_id); in ath10k_add_interface()
5720 arvif->vdev_id, ret); in ath10k_add_interface()
5735 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_add_interface()
5739 arvif->vdev_id, ar->cfg_tx_chainmask, nss, in ath10k_add_interface()
5747 ret = ath10k_peer_create(ar, vif, NULL, arvif->vdev_id, in ath10k_add_interface()
5751 arvif->vdev_id, ret); in ath10k_add_interface()
5757 peer = ath10k_peer_find(ar, arvif->vdev_id, vif->addr); in ath10k_add_interface()
5760 vif->addr, arvif->vdev_id); in ath10k_add_interface()
5778 arvif->vdev_id, ret); in ath10k_add_interface()
5786 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, in ath10k_add_interface()
5790 arvif->vdev_id, ret); in ath10k_add_interface()
5797 arvif->vdev_id, ret); in ath10k_add_interface()
5804 arvif->vdev_id, ret); in ath10k_add_interface()
5812 arvif->vdev_id, ret); in ath10k_add_interface()
5819 arvif->vdev_id, ret); in ath10k_add_interface()
5832 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_add_interface()
5838 arvif->vdev_id, ret); in ath10k_add_interface()
5852 ieee80211_wake_queue(ar->hw, arvif->vdev_id); in ath10k_add_interface()
5861 ath10k_wmi_peer_delete(ar, arvif->vdev_id, vif->addr); in ath10k_add_interface()
5862 ath10k_wait_for_peer_delete_done(ar, arvif->vdev_id, in ath10k_add_interface()
5867 ath10k_wmi_vdev_delete(ar, arvif->vdev_id); in ath10k_add_interface()
5868 ar->free_vdev_map |= 1LL << arvif->vdev_id; in ath10k_add_interface()
5915 arvif->vdev_id, ret); in ath10k_remove_interface()
5917 ar->free_vdev_map |= 1LL << arvif->vdev_id; in ath10k_remove_interface()
5924 ret = ath10k_wmi_peer_delete(arvif->ar, arvif->vdev_id, in ath10k_remove_interface()
5928 arvif->vdev_id, ret); in ath10k_remove_interface()
5930 ath10k_wait_for_peer_delete_done(ar, arvif->vdev_id, in ath10k_remove_interface()
5936 arvif->vdev_id); in ath10k_remove_interface()
5938 ret = ath10k_wmi_vdev_delete(ar, arvif->vdev_id); in ath10k_remove_interface()
5941 arvif->vdev_id, ret); in ath10k_remove_interface()
5957 ret = ath10k_wait_for_peer_deleted(ar, arvif->vdev_id, in ath10k_remove_interface()
5961 arvif->vdev_id, ret); in ath10k_remove_interface()
5976 vif->addr, arvif->vdev_id); in ath10k_remove_interface()
5987 ath10k_peer_cleanup(ar, arvif->vdev_id); in ath10k_remove_interface()
6069 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_recalculate_mgmt_rate()
6097 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_bss_info_changed()
6101 arvif->vdev_id, arvif->beacon_interval); in ath10k_bss_info_changed()
6105 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6111 arvif->vdev_id); in ath10k_bss_info_changed()
6118 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6137 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6145 arvif->vdev_id, arvif->dtim_period); in ath10k_bss_info_changed()
6148 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_bss_info_changed()
6152 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6173 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_bss_info_changed()
6178 arvif->vdev_id, arvif->ftm_responder, ret); in ath10k_bss_info_changed()
6190 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6196 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6208 arvif->vdev_id, slottime); in ath10k_bss_info_changed()
6211 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_bss_info_changed()
6215 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6226 arvif->vdev_id, preamble); in ath10k_bss_info_changed()
6229 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_bss_info_changed()
6233 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6253 arvif->vdev_id, info->txpower); in ath10k_bss_info_changed()
6267 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6293 arvif->vdev_id, rate); in ath10k_bss_info_changed()
6296 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, in ath10k_bss_info_changed()
6301 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6304 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, in ath10k_bss_info_changed()
6309 arvif->vdev_id, ret); in ath10k_bss_info_changed()
6388 ar->scan.vdev_id = arvif->vdev_id; in ath10k_hw_scan()
6404 arg.vdev_id = arvif->vdev_id; in ath10k_hw_scan()
6514 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, in ath10k_set_key_h_def_keyidx()
6518 arvif->vdev_id, ret); in ath10k_set_key_h_def_keyidx()
6577 peer = ath10k_peer_find(ar, arvif->vdev_id, peer_addr); in ath10k_set_key()
6623 arvif->vdev_id, peer_addr, ret); in ath10k_set_key()
6639 arvif->vdev_id, peer_addr, ret); in ath10k_set_key()
6645 arvif->vdev_id, peer_addr, ret2); in ath10k_set_key()
6654 peer = ath10k_peer_find(ar, arvif->vdev_id, peer_addr); in ath10k_set_key()
6665 ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_set_key()
6668 ath10k_wmi_peer_set_param(ar, arvif->vdev_id, peer_addr, in ath10k_set_key()
6690 arvif->vdev_id, keyidx); in ath10k_set_default_unicast_key()
6693 arvif->vdev_id, in ath10k_set_default_unicast_key()
6699 arvif->vdev_id, in ath10k_set_default_unicast_key()
6759 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_sta_rc_update_wk()
6767 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_sta_rc_update_wk()
6778 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_sta_rc_update_wk()
6789 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_sta_rc_update_wk()
6863 ret = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_sta_set_txpwr()
7277 arg.vdev_id = arvif->vdev_id; in ath10k_mac_reset_tid_config()
7498 arvif->vdev_id, sta->addr, in ath10k_sta_state()
7507 arvif->vdev_id, in ath10k_sta_state()
7532 ret = ath10k_peer_create(ar, vif, sta, arvif->vdev_id, in ath10k_sta_state()
7536 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7544 peer = ath10k_peer_find(ar, arvif->vdev_id, sta->addr); in ath10k_sta_state()
7547 vif->addr, arvif->vdev_id); in ath10k_sta_state()
7549 ath10k_peer_delete(ar, arvif->vdev_id, sta->addr); in ath10k_sta_state()
7564 ret = ath10k_wmi_update_fw_tdls_state(ar, arvif->vdev_id, in ath10k_sta_state()
7568 arvif->vdev_id, ret); in ath10k_sta_state()
7569 ath10k_peer_delete(ar, arvif->vdev_id, in ath10k_sta_state()
7576 ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id, sta, in ath10k_sta_state()
7581 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7582 ath10k_peer_delete(ar, arvif->vdev_id, sta->addr); in ath10k_sta_state()
7588 ath10k_wmi_update_fw_tdls_state(ar, arvif->vdev_id, in ath10k_sta_state()
7598 arvif->vdev_id, sta->addr, sta); in ath10k_sta_state()
7601 ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id, in ath10k_sta_state()
7610 ret = ath10k_peer_delete(ar, arvif->vdev_id, sta->addr); in ath10k_sta_state()
7613 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7625 sta->addr, peer, i, arvif->vdev_id); in ath10k_sta_state()
7651 ret = ath10k_wmi_update_fw_tdls_state(ar, arvif->vdev_id, in ath10k_sta_state()
7655 arvif->vdev_id, ret); in ath10k_sta_state()
7671 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7684 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7688 ret = ath10k_mac_tdls_peer_update(ar, arvif->vdev_id, sta, in ath10k_sta_state()
7692 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7707 sta->addr, arvif->vdev_id, ret); in ath10k_sta_state()
7760 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, in ath10k_conf_tx_uapsd()
7773 ret = ath10k_wmi_set_sta_ps_param(ar, arvif->vdev_id, in ath10k_conf_tx_uapsd()
7782 arvif->vdev_id, ret); in ath10k_conf_tx_uapsd()
7789 arvif->vdev_id, ret); in ath10k_conf_tx_uapsd()
7807 ret = ath10k_wmi_vdev_sta_uapsd(ar, arvif->vdev_id, in ath10k_conf_tx_uapsd()
7864 ret = ath10k_wmi_vdev_wmm_conf(ar, arvif->vdev_id, in ath10k_conf_tx()
7868 arvif->vdev_id, ret); in ath10k_conf_tx()
7918 ar->scan.vdev_id = arvif->vdev_id; in ath10k_remain_on_channel()
7938 arg.vdev_id = arvif->vdev_id; in ath10k_remain_on_channel()
8013 arvif->vdev_id, value); in ath10k_set_rts_threshold()
8018 arvif->vdev_id, ret); in ath10k_set_rts_threshold()
8085 ath10k_wmi_peer_flush(ar, arvif->vdev_id, in ath10k_flush()
8262 arvif->vdev_id, rate, nss, sgi); in ath10k_mac_set_fixed_rate_params()
8265 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, rate); in ath10k_mac_set_fixed_rate_params()
8273 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, nss); in ath10k_mac_set_fixed_rate_params()
8280 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, sgi); in ath10k_mac_set_fixed_rate_params()
8287 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, ldpc); in ath10k_mac_set_fixed_rate_params()
8339 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_mac_set_vht_bitrate_mask_fixup()
8380 err = ath10k_wmi_peer_set_param(ar, arvif->vdev_id, sta->addr, in ath10k_mac_clr_bitrate_mask_iter()
8437 arvif->vdev_id, ret); in ath10k_mac_op_set_bitrate_mask()
8488 arvif->vdev_id, ret); in ath10k_mac_op_set_bitrate_mask()
8511 peer = ath10k_peer_find(ar, arvif->vdev_id, sta->addr); in ath10k_sta_rc_update()
8515 sta->addr, arvif->vdev_id); in ath10k_sta_rc_update()
8601 ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, in ath10k_offset_tsf()
8620 arvif->vdev_id, sta->addr, tid, action); in ath10k_ampdu_action()
8716 arvif->vdev_id, in ath10k_mac_update_vif_chan()
8728 ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); in ath10k_mac_update_vif_chan()
8731 arvif->vdev_id, ret); in ath10k_mac_update_vif_chan()
8766 arvif->vdev_id, ret); in ath10k_mac_update_vif_chan()
8770 ret = ath10k_wmi_vdev_up(arvif->ar, arvif->vdev_id, arvif->aid, in ath10k_mac_update_vif_chan()
8774 arvif->vdev_id, ret); in ath10k_mac_update_vif_chan()
8938 ctx, arvif->vdev_id); in ath10k_mac_op_assign_vif_chanctx()
8948 arvif->vdev_id, vif->addr, in ath10k_mac_op_assign_vif_chanctx()
8958 arvif->vdev_id, ret); in ath10k_mac_op_assign_vif_chanctx()
8963 ret = ath10k_wmi_vdev_up(ar, arvif->vdev_id, 0, vif->addr); in ath10k_mac_op_assign_vif_chanctx()
8966 arvif->vdev_id, ret); in ath10k_mac_op_assign_vif_chanctx()
8977 arvif->vdev_id, ret); in ath10k_mac_op_assign_vif_chanctx()
9018 ctx, arvif->vdev_id); in ath10k_mac_op_unassign_vif_chanctx()
9025 ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); in ath10k_mac_op_unassign_vif_chanctx()
9028 arvif->vdev_id, ret); in ath10k_mac_op_unassign_vif_chanctx()
9036 arvif->vdev_id, ret); in ath10k_mac_op_unassign_vif_chanctx()
9257 peer = ath10k_peer_find(ar, arsta->arvif->vdev_id, sta->addr); in ath10k_mac_sta_get_peer_stats_info()
9265 arsta->arvif->vdev_id, in ath10k_mac_sta_get_peer_stats_info()
9354 arg.vdev_id = arvif->vdev_id; in ath10k_mac_op_set_tid_config()
9787 if (arvif->vdev_id == arvif_iter->vdev_id) in ath10k_get_arvif_iter()
9791 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) in ath10k_get_arvif() argument
9796 arvif_iter.vdev_id = vdev_id; in ath10k_get_arvif()
9803 ath10k_warn(ar, "No VIF found for vdev %d\n", vdev_id); in ath10k_get_arvif()