Lines Matching refs:mvmvif

84 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
86 mvmvif->link[link_conf->link_id];
90 mvmvif);
105 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
107 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id];
127 cmd.mac_id = cpu_to_le32(mvmvif->id);
153 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
159 for_each_mvm_vif_valid_link(mvmvif, link_id) {
161 mvmvif->link[link_id];
206 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
208 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id];
252 cmd.mac_id = cpu_to_le32(mvmvif->id);
298 if (iwl_mvm_set_fw_mu_edca_params(mvm, mvmvif->link[link_id],
361 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
363 mvmvif->link[link_conf->link_id];
379 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
381 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id];
737 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
738 struct iwl_mvm *mvm = mvmvif->mvm;
804 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
812 if (!mvmvif->authorized || !ieee80211_vif_is_mld(vif))
835 mvmvif->esr_disable_reason || n_data == 1)
866 mvmvif->link_selection_res = new_active_links;
867 mvmvif->link_selection_primary = primary_link;
872 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
875 lockdep_assert(lockdep_is_held(&mvmvif->mvm->mutex) ||
876 lockdep_is_held(&mvmvif->mvm->hw->wiphy->mtx));
885 if (mvmvif->esr_active &&
886 !WARN_ON(!(BIT(mvmvif->primary_link) & vif->active_links)))
887 return mvmvif->primary_link;
918 struct iwl_mvm_vif *mvmvif,
922 mvmvif->last_esr_exit.ts +
937 if (timeout_expired || mvmvif->last_esr_exit.reason != reason) {
938 mvmvif->exit_same_reason_count = 1;
942 mvmvif->exit_same_reason_count++;
943 if (WARN_ON(mvmvif->exit_same_reason_count < 2 ||
944 mvmvif->exit_same_reason_count > 3))
947 mvmvif->esr_disable_reason |= IWL_MVM_ESR_BLOCKED_PREVENTION;
953 delay = mvmvif->exit_same_reason_count == 2 ?
959 delay / HZ, mvmvif->exit_same_reason_count,
963 &mvmvif->prevent_esr_done_wk, delay);
974 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
984 if (!mvmvif->esr_active)
987 if (WARN_ON(!ieee80211_vif_is_mld(vif) || !mvmvif->authorized))
1002 prevented = iwl_mvm_check_esr_prevention(mvm, mvmvif, reason);
1005 mvmvif->last_esr_exit.ts = jiffies;
1006 mvmvif->last_esr_exit.reason = reason;
1018 &mvmvif->mlo_int_scan_wk,
1026 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1037 if (mvmvif->esr_disable_reason & reason)
1044 mvmvif->esr_disable_reason |= reason;
1046 iwl_mvm_print_esr_state(mvm, mvmvif->esr_disable_reason);
1080 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1081 bool need_new_sel = time_after(jiffies, mvmvif->last_esr_exit.ts +
1086 if (!ieee80211_vif_is_mld(vif) || !mvmvif->authorized ||
1087 mvmvif->esr_active)
1096 !(mvmvif->last_esr_exit.reason & IWL_MVM_BLOCK_ESR_REASONS)) {
1105 if (need_new_sel || hweight16(mvmvif->link_selection_res) < 2) {
1108 &mvmvif->mlo_int_scan_wk, 0);
1117 mvmvif->link_selection_res);
1119 mvmvif->link_selection_res);
1126 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1138 if (!(mvmvif->esr_disable_reason & reason))
1141 mvmvif->esr_disable_reason &= ~reason;
1146 iwl_mvm_print_esr_state(mvm, mvmvif->esr_disable_reason);
1148 if (!mvmvif->esr_disable_reason)