Lines Matching refs:vif

20 			    struct ieee80211_vif *vif,
24 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
42 struct ieee80211_vif *vif,
45 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
67 struct ieee80211_vif *vif, int idx)
69 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
110 struct ieee80211_vif *vif,
116 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
198 ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 0);
208 ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 1);
220 struct ieee80211_vif *vif,
339 struct ieee80211_vif *vif,
453 struct ieee80211_vif *vif,
473 ieee80211_iter_keys(mvm->hw, vif,
501 ieee80211_iter_keys(mvm->hw, vif,
526 struct ieee80211_vif *vif,
571 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid,
574 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid,
592 struct ieee80211_vif *vif,
726 static int iwl_mvm_d3_reprogram(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
729 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
740 ieee80211_vif_is_mld(vif)))
748 ctx = rcu_dereference(vif->bss_conf.chanctx_conf);
767 if (WARN_ON(!vif->cfg.assoc))
770 ret = iwl_mvm_mac_ctxt_add(mvm, vif);
807 ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL);
836 struct ieee80211_vif *vif)
838 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
872 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
874 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
926 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif,
943 int ret = iwl_mvm_get_last_nonqos_seq(mvm, vif);
1001 struct ieee80211_vif *vif,
1007 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
1024 ieee80211_iter_keys(mvm->hw, vif, iwl_mvm_wowlan_program_keys,
1031 ret = iwl_mvm_wowlan_config_rsc_tsc(mvm, vif, mvm_link);
1053 ieee80211_iter_keys(mvm->hw, vif, iwl_mvm_wowlan_get_tkip_data,
1083 ieee80211_iter_keys(mvm->hw, vif, iwl_mvm_wowlan_gtk_type_iter,
1126 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif,
1141 ret = iwl_mvm_d3_reprogram(mvm, vif, ap_sta);
1146 ret = iwl_mvm_wowlan_config_key_params(mvm, vif, mvm_link);
1164 return iwl_mvm_send_proto_offload(mvm, vif, false, true, 0,
1172 struct ieee80211_vif *vif)
1193 ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies,
1237 struct ieee80211_vif *vif = NULL;
1269 vif = iwl_mvm_get_bss_vif(mvm);
1270 if (IS_ERR_OR_NULL(vif))
1273 ret = iwl_mvm_block_esr_sync(mvm, vif, IWL_MVM_ESR_BLOCKED_WOWLAN);
1283 mvmvif = iwl_mvm_vif_from_mac80211(vif);
1285 mvm_link = mvmvif->link[iwl_mvm_get_primary_link(vif)];
1299 mvm, wowlan, wowlan->nd_config, vif);
1325 vif, mvmvif, ap_sta);
1329 vif, mvmvif, mvm_link, ap_sta);
1473 struct ieee80211_vif *vif,
1579 if (ieee80211_data_to_8023(pkt, vif->addr, vif->type))
1604 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL);
1821 struct ieee80211_vif *vif,
1827 int link_id = vif->active_links ? __ffs(vif->active_links) : -1;
1911 struct ieee80211_vif *vif,
1919 int link_id = vif->active_links ? __ffs(vif->active_links) : -1;
1984 struct ieee80211_vif *vif,
2030 struct ieee80211_vif *vif,
2046 ieee80211_iter_keys(mvm->hw, vif, iwl_mvm_mlo_key_ciphers, old_keys);
2064 if (!(vif->valid_links & BIT(link_id)))
2117 key = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);
2142 struct ieee80211_vif *vif,
2153 int link_id = vif->active_links ? __ffs(vif->active_links) : -1;
2187 key = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);
2206 struct ieee80211_vif *vif, u32 cipher,
2218 int link_id = vif->active_links ? __ffs(vif->active_links) : -1;
2244 key_config = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);
2250 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2280 struct ieee80211_vif *vif,
2283 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2293 if (!status || !vif->bss_conf.bssid)
2308 ieee80211_iter_keys(mvm->hw, vif,
2320 ieee80211_iter_keys(mvm->hw, vif,
2329 if (!iwl_mvm_gtk_rekey(status, vif, mvm, gtkdata.gtk_cipher))
2332 if (!iwl_mvm_d3_igtk_bigtk_rekey_add(status, vif,
2338 if (!iwl_mvm_d3_igtk_bigtk_rekey_add(status, vif,
2344 if (!iwl_mvm_mlo_gtk_rekey(status, vif, mvm))
2347 ieee80211_gtk_rekey_notify(vif, vif->bss_conf.bssid,
2735 struct ieee80211_vif *vif,
2741 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
2742 int link_id = vif->active_links ? __ffs(vif->active_links) : 0;
2772 iwl_mvm_report_wakeup_reasons(mvm, vif, status);
2774 keep = iwl_mvm_setup_connection_keep(mvm, vif, status);
2918 struct ieee80211_vif *vif,
3004 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL);
3014 struct ieee80211_vif *vif)
3017 if (data == vif)
3020 if (vif->type == NL80211_IFTYPE_STATION)
3021 ieee80211_resume_disconnect(vif);
3044 struct ieee80211_vif *vif)
3056 ieee80211_report_wowlan_wakeup(vif, &wakeup,
3082 struct ieee80211_vif *vif,
3089 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
3094 WARN_ON(ieee80211_vif_is_mld(vif));
3100 iwl_mvm_query_netdetect_reasons(mvm, vif, d3_data);
3102 bool keep = iwl_mvm_query_wakeup_reasons(mvm, vif,
3107 mvm->keep_vif = vif;
3170 struct ieee80211_vif *vif = iwl_mvm_get_bss_vif(mvm);
3175 if (IS_ERR_OR_NULL(vif))
3409 struct ieee80211_vif *vif = NULL;
3431 /* get the BSS vif pointer again */
3432 vif = iwl_mvm_get_bss_vif(mvm);
3433 if (IS_ERR_OR_NULL(vif))
3438 if (iwl_mvm_check_rt_status(mvm, vif)) {
3466 iwl_mvm_unblock_esr(mvm, vif, IWL_MVM_ESR_BLOCKED_WOWLAN);
3500 keep = iwl_mvm_choose_query_wakeup_reasons(mvm, vif, &d3_data);
3516 keep ? vif : NULL);
3631 struct ieee80211_vif *vif)
3634 if (_data == vif)
3637 if (vif->type == NL80211_IFTYPE_STATION)
3638 ieee80211_connection_loss(vif);