Lines Matching defs:vif
277 * @vif: Pointer to the ieee80211_vif structure
285 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
300 if (vif->type != NL80211_IFTYPE_STATION)
303 mvmvif = iwl_mvm_vif_from_mac80211(vif);
324 ieee80211_request_smps(vif, link_id, smps_mode);
328 struct ieee80211_vif *vif,
336 for_each_vif_active_link(vif, link_conf, link_id)
337 iwl_mvm_update_smps(mvm, vif, req_type, smps_request,
509 struct ieee80211_vif *vif)
511 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
579 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
583 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
613 static void iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif)
616 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
653 struct ieee80211_vif *vif;
658 struct ieee80211_vif *vif)
662 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p)
665 if (data->vif) {
670 data->vif = vif;
686 return bss_iter_data.vif;
690 struct ieee80211_vif *vif;
695 struct ieee80211_vif *vif)
698 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
701 data->vif = vif;
716 return data.vif;
724 struct ieee80211_vif *vif)
728 if (vif->type != NL80211_IFTYPE_STATION)
731 if (vif->cfg.assoc)
749 struct ieee80211_vif *vif,
765 vif && vif->type == NL80211_IFTYPE_AP)
779 if (WARN_ON(!vif))
782 switch (ieee80211_vif_type_p2p(vif)) {
803 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
809 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif),
823 ieee80211_connection_loss(vif);
827 struct ieee80211_vif *vif,
834 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif),
870 static void iwl_mvm_tcm_iter(void *_data, u8 *mac, struct ieee80211_vif *vif)
873 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
889 iwl_mvm_update_low_latency(mvm, vif, low_latency,
912 struct ieee80211_vif *vif;
916 vif = container_of((void *)mvmvif, struct ieee80211_vif, drv_priv);
924 vif->bss_conf.bssid, ETH_ALEN);
929 iwl_mvm_connection_loss(mvm, vif,
934 struct ieee80211_vif *vif)
936 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
938 if (vif->type != NL80211_IFTYPE_STATION)
941 if (!vif->cfg.assoc)
967 struct ieee80211_vif *vif;
997 vif = rcu_dereference(mvm->vif_id_to_mac[mac]);
998 if (vif)
999 iwl_mvm_uapsd_agg_disconnect(mvm, vif);
1004 struct ieee80211_vif *vif)
1006 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1210 void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
1212 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1218 void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
1220 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);