Lines Matching defs:vif

14 	struct ieee80211_vif *vif;
22 vif = mvmsta->vif;
29 for_each_sta_active_link(vif, sta, link_sta, link_id) {
205 /* Allocate a new station entry for the broadcast station to the given vif,
209 int iwl_mvm_mld_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
212 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
219 iwl_mvm_get_wd_timeout(mvm, vif, false, false);
224 if (vif->type == NL80211_IFTYPE_ADHOC)
227 if (vif->type == NL80211_IFTYPE_AP ||
228 vif->type == NL80211_IFTYPE_ADHOC) {
230 } else if (vif->type == NL80211_IFTYPE_P2P_DEVICE) {
238 ieee80211_vif_type_p2p(vif),
244 /* Allocate a new station entry for the multicast station to the given vif,
248 int iwl_mvm_mld_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
251 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
257 unsigned int timeout = iwl_mvm_get_wd_timeout(mvm, vif, false, false);
261 if (WARN_ON(vif->type != NL80211_IFTYPE_AP &&
262 vif->type != NL80211_IFTYPE_ADHOC))
270 if (vif->type == NL80211_IFTYPE_ADHOC)
274 vif->type, STATION_TYPE_MCAST,
279 /* Allocate a new station entry for the sniffer station to the given vif,
282 int iwl_mvm_mld_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
285 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
292 vif->type, STATION_TYPE_BCAST_MGMT,
366 int iwl_mvm_mld_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
369 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
378 switch (vif->type) {
387 WARN(1, "Can't free bcast queue on vif type %d\n",
388 vif->type);
399 int iwl_mvm_mld_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
402 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
414 int iwl_mvm_mld_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
432 struct ieee80211_vif *vif,
438 struct iwl_mvm_vif *mvm_vif = iwl_mvm_vif_from_mac80211(vif);
551 struct ieee80211_vif *vif,
560 ieee80211_vif_type_p2p(vif));
584 struct ieee80211_vif *vif,
594 for_each_sta_active_link(vif, sta, link_sta, link_id) {
598 ret = iwl_mvm_mld_alloc_sta_link(mvm, vif, sta, link_id);
623 struct ieee80211_vif *vif,
627 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
638 for_each_sta_active_link(vif, sta, link_sta, link_id) {
641 link_conf_dereference_protected(vif, link_id);
655 ret = iwl_mvm_mld_cfg_sta(mvm, sta, vif, link_sta,
670 int iwl_mvm_mld_add_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
673 struct iwl_mvm_vif *mvm_vif = iwl_mvm_vif_from_mac80211(vif);
683 ret = iwl_mvm_mld_alloc_sta_links(mvm, vif, sta);
689 ret = iwl_mvm_sta_init(mvm, vif, sta, IWL_MVM_INVALID_STA,
692 ret = iwl_mvm_alloc_sta_after_restart(mvm, vif, sta);
699 ret = iwl_mvm_mld_update_sta(mvm, vif, sta);
703 for_each_sta_active_link(vif, sta, link_sta, link_id) {
705 link_conf_dereference_protected(vif, link_id);
715 ret = iwl_mvm_mld_cfg_sta(mvm, sta, vif, link_sta, link_conf,
722 if (vif->type == NL80211_IFTYPE_STATION)
744 int iwl_mvm_mld_update_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
754 for_each_sta_active_link(vif, sta, link_sta, link_id) {
756 link_conf_dereference_protected(vif, link_id);
764 ret = iwl_mvm_mld_cfg_sta(mvm, sta, vif, link_sta, link_conf,
777 struct ieee80211_vif *vif,
803 int iwl_mvm_mld_rm_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
814 for_each_sta_active_link(vif, sta, link_sta, link_id) {
832 iwl_mvm_mld_disable_sta_queues(mvm, vif, sta);
834 for_each_sta_active_link(vif, sta, link_sta, link_id) {
840 stay_in_fw = iwl_mvm_sta_del(mvm, vif, sta, link_sta, &ret);
1028 struct ieee80211_vif *vif,
1041 ret = iwl_mvm_mld_update_sta_keys(mvm, vif, sta,
1051 struct ieee80211_vif *vif,
1056 struct iwl_mvm_vif *mvm_vif = iwl_mvm_vif_from_mac80211(vif);
1086 ret = iwl_mvm_mld_update_sta_resources(mvm, vif, sta,
1111 if (vif->type == NL80211_IFTYPE_STATION)
1120 link_conf_dereference_protected(vif, link_id);
1151 ret = iwl_mvm_mld_alloc_sta_link(mvm, vif, sta,
1169 if (vif->type == NL80211_IFTYPE_STATION)
1177 ret = iwl_mvm_mld_cfg_sta(mvm, sta, vif, link_sta, link_conf,
1188 ret = iwl_mvm_mld_update_sta_resources(mvm, vif, sta,