Lines Matching refs:mvmvif

290 	struct iwl_mvm_vif *mvmvif;
303 mvmvif = iwl_mvm_vif_from_mac80211(vif);
305 if (WARN_ON_ONCE(!mvmvif->link[link_id]))
308 mvmvif->link[link_id]->smps_requests[req_type] = smps_request;
310 if (mvmvif->link[link_id]->smps_requests[i] ==
315 if (mvmvif->link[link_id]->smps_requests[i] ==
321 if (mvmvif->esr_active)
511 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
515 for_each_mvm_vif_valid_link(mvmvif, link_id) {
516 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id];
583 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
589 prev = iwl_mvm_vif_low_latency(mvmvif);
590 iwl_mvm_vif_set_low_latency(mvmvif, low_latency, cause);
592 low_latency = iwl_mvm_vif_low_latency(mvmvif);
597 iwl_mvm_send_low_latency_cmd(mvm, low_latency, mvmvif->id);
616 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
619 if (iwl_mvm_vif_low_latency(mvmvif)) {
622 if (!mvmvif->deflink.phy_ctxt)
625 band = mvmvif->deflink.phy_ctxt->channel->band;
698 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
700 if (mvmvif->id == data->macid)
873 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
874 bool low_latency, prev = mvmvif->low_latency & LOW_LATENCY_TRAFFIC;
876 if (mvmvif->id >= NUM_MAC_INDEX_DRIVER)
879 low_latency = mvm->tcm.result.low_latency[mvmvif->id];
881 if (!mvm->tcm.result.change[mvmvif->id] &&
911 struct iwl_mvm_vif *mvmvif;
914 mvmvif = container_of(wk, struct iwl_mvm_vif,
916 vif = container_of((void *)mvmvif, struct ieee80211_vif, drv_priv);
917 mvm = mvmvif->mvm;
919 if (mvm->tcm.data[mvmvif->id].opened_rx_ba_sessions)
936 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
944 if (!mvmvif->deflink.queue_params[IEEE80211_AC_VO].uapsd &&
945 !mvmvif->deflink.queue_params[IEEE80211_AC_VI].uapsd &&
946 !mvmvif->deflink.queue_params[IEEE80211_AC_BE].uapsd &&
947 !mvmvif->deflink.queue_params[IEEE80211_AC_BK].uapsd)
950 if (mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected)
953 mvm->tcm.data[mvmvif->id].uapsd_nonagg_detect.detected = true;
956 schedule_delayed_work(&mvmvif->uapsd_nonagg_detected_wk,
1006 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1009 if (!mvmvif->deflink.phy_ctxt)
1012 band[mvmvif->id] = mvmvif->deflink.phy_ctxt->channel->band;
1212 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1214 INIT_DELAYED_WORK(&mvmvif->uapsd_nonagg_detected_wk,
1220 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1222 cancel_delayed_work_sync(&mvmvif->uapsd_nonagg_detected_wk);
1282 bool iwl_mvm_vif_is_active(struct iwl_mvm_vif *mvmvif)
1287 for_each_mvm_vif_valid_link(mvmvif, i) {
1288 if (mvmvif->link[i]->phy_ctxt &&
1289 mvmvif->link[i]->phy_ctxt->id < NUM_PHY_CTX)