Lines Matching refs:vif

43 int iwl_mvm_ftm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
77 if (vif->cfg.assoc) {
78 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
85 for_each_vif_active_link(vif, link_conf, link_id) {
227 static void iwl_mvm_ftm_cmd_v5(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
251 if (vif->cfg.assoc)
252 memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN);
258 struct ieee80211_vif *vif,
283 if (vif->cfg.assoc) {
284 memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN);
290 iwl_mvm_vif_from_mac80211(vif);
304 static void iwl_mvm_ftm_cmd_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
308 iwl_mvm_ftm_cmd_common(mvm, vif, (void *)cmd, req);
518 iwl_mvm_ftm_put_target(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
532 if (vif->cfg.assoc) {
533 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
539 for_each_vif_active_link(vif, link_conf, link_id) {
591 static int iwl_mvm_ftm_start_v5(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
604 iwl_mvm_ftm_cmd_v5(mvm, vif, &cmd_v5, req);
617 static int iwl_mvm_ftm_start_v7(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
634 iwl_mvm_ftm_cmd_v8(mvm, vif, (void *)&cmd_v7, req);
647 static int iwl_mvm_ftm_start_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
660 iwl_mvm_ftm_cmd_v8(mvm, vif, (void *)&cmd, req);
673 static int iwl_mvm_ftm_start_v9(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
686 iwl_mvm_ftm_cmd_common(mvm, vif, &cmd, req);
692 err = iwl_mvm_ftm_put_target(mvm, vif, peer, target);
701 struct ieee80211_vif *vif,
722 iwl_mvm_ftm_set_secured_ranging(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
728 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
751 if (vif->cfg.assoc &&
752 !memcmp(vif->bss_conf.bssid, target->bssid,
754 ieee80211_iter_keys(mvm->hw, vif, iter, target);
768 iwl_mvm_ftm_put_target_v7(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
772 int err = iwl_mvm_ftm_put_target(mvm, vif, peer, (void *)target);
776 iwl_mvm_ftm_set_secured_ranging(mvm, vif, target);
781 struct ieee80211_vif *vif,
794 iwl_mvm_ftm_cmd_common(mvm, vif, (void *)&cmd, req);
800 err = iwl_mvm_ftm_put_target_v7(mvm, vif, peer, target);
825 iwl_mvm_ftm_put_target_v8(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
830 int ret = iwl_mvm_ftm_put_target_v7(mvm, vif, peer, (void *)target);
853 struct ieee80211_vif *vif,
866 iwl_mvm_ftm_cmd_common(mvm, vif, (void *)&cmd, req);
872 err = iwl_mvm_ftm_put_target_v8(mvm, vif, peer, target);
881 struct ieee80211_vif *vif,
894 iwl_mvm_ftm_cmd_common(mvm, vif, (void *)&cmd, req);
900 err = iwl_mvm_ftm_put_target_v8(mvm, vif, peer, (void *)target);
923 int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
942 err = iwl_mvm_ftm_start_v13(mvm, vif, req);
945 err = iwl_mvm_ftm_start_v12(mvm, vif, req);
948 err = iwl_mvm_ftm_start_v11(mvm, vif, req);
952 err = iwl_mvm_ftm_start_v9(mvm, vif, req);
955 err = iwl_mvm_ftm_start_v8(mvm, vif, req);
958 err = iwl_mvm_ftm_start_v7(mvm, vif, req);
962 err = iwl_mvm_ftm_start_v5(mvm, vif, req);
967 mvm->ftm_initiator.req_wdev = ieee80211_vif_to_wdev(vif);