Lines Matching refs:vif
78 struct ieee80211_vif *vif, in iwl_mvm_set_rekey_data() argument
82 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_rekey_data()
100 struct ieee80211_vif *vif, in iwl_mvm_ipv6_addr_change() argument
103 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ipv6_addr_change()
121 struct ieee80211_vif *vif, int idx) in iwl_mvm_set_default_unicast_key() argument
123 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_default_unicast_key()
144 struct ieee80211_vif *vif, in iwl_mvm_wowlan_program_keys() argument
150 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_wowlan_program_keys()
261 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, in iwl_mvm_wowlan_program_keys()
264 ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, in iwl_mvm_wowlan_program_keys()
332 ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, true); in iwl_mvm_wowlan_program_keys()
394 static void iwl_mvm_build_tcp_packet(struct ieee80211_vif *vif, in iwl_mvm_build_tcp_packet() argument
419 memcpy(pkt->eth.h_source, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
432 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
513 struct ieee80211_vif *vif, in iwl_mvm_send_remote_wake_cfg() argument
539 vif, tcp, cfg->syn_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
546 vif, tcp, cfg->synack_rx.data, cfg->synack_rx.rx_mask, in iwl_mvm_send_remote_wake_cfg()
553 vif, tcp, cfg->keepalive_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
577 vif, tcp, cfg->keepalive_ack_rx.data, in iwl_mvm_send_remote_wake_cfg()
585 vif, tcp, cfg->wake_rx.data, cfg->wake_rx.rx_mask, in iwl_mvm_send_remote_wake_cfg()
593 vif, tcp, cfg->fin_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
604 static int iwl_mvm_d3_reprogram(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_d3_reprogram() argument
607 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_d3_reprogram()
621 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_d3_reprogram()
639 if (WARN_ON(!vif->bss_conf.assoc)) in iwl_mvm_d3_reprogram()
642 ret = iwl_mvm_mac_ctxt_add(mvm, vif); in iwl_mvm_d3_reprogram()
678 ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); in iwl_mvm_d3_reprogram()
704 struct ieee80211_vif *vif) in iwl_mvm_get_last_nonqos_seq() argument
706 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_last_nonqos_seq()
740 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_set_last_nonqos_seq() argument
742 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_last_nonqos_seq()
795 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_get_wowlan_config() argument
807 ret = iwl_mvm_get_last_nonqos_seq(mvm, vif); in iwl_mvm_get_wowlan_config()
858 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_wowlan_config() argument
874 ret = iwl_mvm_d3_reprogram(mvm, vif, ap_sta); in iwl_mvm_wowlan_config()
889 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_wowlan_config()
949 ret = iwl_mvm_send_proto_offload(mvm, vif, false, 0); in iwl_mvm_wowlan_config()
953 ret = iwl_mvm_send_remote_wake_cfg(mvm, vif, wowlan->tcp); in iwl_mvm_wowlan_config()
964 struct ieee80211_vif *vif) in iwl_mvm_netdetect_config() argument
984 ret = iwl_mvm_scan_offload_start(mvm, vif, nd_config, &mvm->nd_ies); in iwl_mvm_netdetect_config()
1027 struct ieee80211_vif *vif = NULL; in __iwl_mvm_suspend() local
1058 vif = iwl_mvm_get_bss_vif(mvm); in __iwl_mvm_suspend()
1059 if (IS_ERR_OR_NULL(vif)) { in __iwl_mvm_suspend()
1064 mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_suspend()
1074 mvm, wowlan, wowlan->nd_config ?: mvm->nd_config, vif); in __iwl_mvm_suspend()
1091 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1095 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1201 struct ieee80211_vif *vif, in iwl_mvm_report_wakeup_reasons() argument
1301 if (ieee80211_data_to_8023(pkt, vif->addr, vif->type)) in iwl_mvm_report_wakeup_reasons()
1326 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1407 struct ieee80211_vif *vif, in iwl_mvm_d3_update_gtks() argument
1474 struct ieee80211_vif *vif, in iwl_mvm_setup_connection_keep() argument
1477 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_setup_connection_keep()
1485 if (!status || !vif->bss_conf.bssid) in iwl_mvm_setup_connection_keep()
1493 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_setup_connection_keep()
1508 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_setup_connection_keep()
1537 key = ieee80211_gtk_rekey_add(vif, &conf.conf); in iwl_mvm_setup_connection_keep()
1546 ieee80211_gtk_rekey_notify(vif, vif->bss_conf.bssid, in iwl_mvm_setup_connection_keep()
1559 iwl_mvm_get_wakeup_status(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_get_wakeup_status() argument
1584 ieee80211_report_wowlan_wakeup(vif, &wakeup, in iwl_mvm_get_wakeup_status()
1633 struct ieee80211_vif *vif) in iwl_mvm_query_wakeup_reasons() argument
1642 fw_status = iwl_mvm_get_wakeup_status(mvm, vif); in iwl_mvm_query_wakeup_reasons()
1675 iwl_mvm_report_wakeup_reasons(mvm, vif, &status); in iwl_mvm_query_wakeup_reasons()
1677 keep = iwl_mvm_setup_connection_keep(mvm, vif, fw_status); in iwl_mvm_query_wakeup_reasons()
1739 struct ieee80211_vif *vif) in iwl_mvm_query_netdetect_reasons() argument
1752 fw_status = iwl_mvm_get_wakeup_status(mvm, vif); in iwl_mvm_query_netdetect_reasons()
1821 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); in iwl_mvm_query_netdetect_reasons()
1851 struct ieee80211_vif *vif) in iwl_mvm_d3_disconnect_iter() argument
1854 if (data == vif) in iwl_mvm_d3_disconnect_iter()
1857 if (vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_d3_disconnect_iter()
1858 ieee80211_resume_disconnect(vif); in iwl_mvm_d3_disconnect_iter()
1863 struct ieee80211_vif *vif = NULL; in __iwl_mvm_resume() local
1871 vif = iwl_mvm_get_bss_vif(mvm); in __iwl_mvm_resume()
1872 if (IS_ERR_OR_NULL(vif)) in __iwl_mvm_resume()
1894 iwl_mvm_query_netdetect_reasons(mvm, vif); in __iwl_mvm_resume()
1898 keep = iwl_mvm_query_wakeup_reasons(mvm, vif); in __iwl_mvm_resume()
1901 mvm->keep_vif = vif; in __iwl_mvm_resume()
1915 iwl_mvm_d3_disconnect_iter, keep ? vif : NULL); in __iwl_mvm_resume()
2015 struct ieee80211_vif *vif) in iwl_mvm_d3_test_disconn_work_iter() argument
2018 if (_data == vif) in iwl_mvm_d3_test_disconn_work_iter()
2021 if (vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_d3_test_disconn_work_iter()
2022 ieee80211_connection_loss(vif); in iwl_mvm_d3_test_disconn_work_iter()