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()
314 ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 0); in iwl_mvm_wowlan_program_keys()
324 ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 1); in iwl_mvm_wowlan_program_keys()
388 static void iwl_mvm_build_tcp_packet(struct ieee80211_vif *vif, in iwl_mvm_build_tcp_packet() argument
413 memcpy(pkt->eth.h_source, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
426 memcpy(pkt->eth.h_dest, vif->addr, ETH_ALEN); in iwl_mvm_build_tcp_packet()
507 struct ieee80211_vif *vif, in iwl_mvm_send_remote_wake_cfg() argument
533 vif, tcp, cfg->syn_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
540 vif, tcp, cfg->synack_rx.data, cfg->synack_rx.rx_mask, in iwl_mvm_send_remote_wake_cfg()
547 vif, tcp, cfg->keepalive_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
571 vif, tcp, cfg->keepalive_ack_rx.data, in iwl_mvm_send_remote_wake_cfg()
579 vif, tcp, cfg->wake_rx.data, cfg->wake_rx.rx_mask, in iwl_mvm_send_remote_wake_cfg()
587 vif, tcp, cfg->fin_tx.data, NULL, in iwl_mvm_send_remote_wake_cfg()
598 static int iwl_mvm_d3_reprogram(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_d3_reprogram() argument
601 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_d3_reprogram()
615 ctx = rcu_dereference(vif->chanctx_conf); in iwl_mvm_d3_reprogram()
633 if (WARN_ON(!vif->bss_conf.assoc)) in iwl_mvm_d3_reprogram()
636 ret = iwl_mvm_mac_ctxt_add(mvm, vif); in iwl_mvm_d3_reprogram()
672 ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); in iwl_mvm_d3_reprogram()
698 struct ieee80211_vif *vif) in iwl_mvm_get_last_nonqos_seq() argument
700 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_last_nonqos_seq()
734 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_set_last_nonqos_seq() argument
736 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_last_nonqos_seq()
786 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_get_wowlan_config() argument
798 ret = iwl_mvm_get_last_nonqos_seq(mvm, vif); in iwl_mvm_get_wowlan_config()
849 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_wowlan_config() argument
865 ret = iwl_mvm_d3_reprogram(mvm, vif, ap_sta); in iwl_mvm_wowlan_config()
880 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_wowlan_config()
940 ret = iwl_mvm_send_proto_offload(mvm, vif, false, 0); in iwl_mvm_wowlan_config()
944 ret = iwl_mvm_send_remote_wake_cfg(mvm, vif, wowlan->tcp); in iwl_mvm_wowlan_config()
955 struct ieee80211_vif *vif) in iwl_mvm_netdetect_config() argument
975 ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies, in iwl_mvm_netdetect_config()
1019 struct ieee80211_vif *vif = NULL; in __iwl_mvm_suspend() local
1050 vif = iwl_mvm_get_bss_vif(mvm); in __iwl_mvm_suspend()
1051 if (IS_ERR_OR_NULL(vif)) { in __iwl_mvm_suspend()
1056 mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_suspend()
1066 mvm, wowlan, wowlan->nd_config ?: mvm->nd_config, vif); in __iwl_mvm_suspend()
1083 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1087 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1204 struct ieee80211_vif *vif, in iwl_mvm_report_wakeup_reasons() argument
1304 if (ieee80211_data_to_8023(pkt, vif->addr, vif->type)) in iwl_mvm_report_wakeup_reasons()
1329 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1410 struct ieee80211_vif *vif, in iwl_mvm_d3_update_gtks() argument
1477 struct ieee80211_vif *vif, in iwl_mvm_setup_connection_keep() argument
1480 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_setup_connection_keep()
1488 if (!status || !vif->bss_conf.bssid) in iwl_mvm_setup_connection_keep()
1496 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_setup_connection_keep()
1511 ieee80211_iter_keys(mvm->hw, vif, in iwl_mvm_setup_connection_keep()
1540 key = ieee80211_gtk_rekey_add(vif, &conf.conf); in iwl_mvm_setup_connection_keep()
1549 ieee80211_gtk_rekey_notify(vif, vif->bss_conf.bssid, in iwl_mvm_setup_connection_keep()
1562 iwl_mvm_get_wakeup_status(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_get_wakeup_status() argument
1587 ieee80211_report_wowlan_wakeup(vif, &wakeup, in iwl_mvm_get_wakeup_status()
1636 struct ieee80211_vif *vif) in iwl_mvm_query_wakeup_reasons() argument
1645 fw_status = iwl_mvm_get_wakeup_status(mvm, vif); in iwl_mvm_query_wakeup_reasons()
1678 iwl_mvm_report_wakeup_reasons(mvm, vif, &status); in iwl_mvm_query_wakeup_reasons()
1680 keep = iwl_mvm_setup_connection_keep(mvm, vif, fw_status); in iwl_mvm_query_wakeup_reasons()
1742 struct ieee80211_vif *vif) in iwl_mvm_query_netdetect_reasons() argument
1755 fw_status = iwl_mvm_get_wakeup_status(mvm, vif); in iwl_mvm_query_netdetect_reasons()
1828 ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); in iwl_mvm_query_netdetect_reasons()
1858 struct ieee80211_vif *vif) in iwl_mvm_d3_disconnect_iter() argument
1861 if (data == vif) in iwl_mvm_d3_disconnect_iter()
1864 if (vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_d3_disconnect_iter()
1865 ieee80211_resume_disconnect(vif); in iwl_mvm_d3_disconnect_iter()
1870 struct ieee80211_vif *vif = NULL; in __iwl_mvm_resume() local
1878 vif = iwl_mvm_get_bss_vif(mvm); in __iwl_mvm_resume()
1879 if (IS_ERR_OR_NULL(vif)) in __iwl_mvm_resume()
1901 iwl_mvm_query_netdetect_reasons(mvm, vif); in __iwl_mvm_resume()
1905 keep = iwl_mvm_query_wakeup_reasons(mvm, vif); in __iwl_mvm_resume()
1908 mvm->keep_vif = vif; in __iwl_mvm_resume()
1922 iwl_mvm_d3_disconnect_iter, keep ? vif : NULL); in __iwl_mvm_resume()
2053 struct ieee80211_vif *vif) in iwl_mvm_d3_test_disconn_work_iter() argument
2056 if (_data == vif) in iwl_mvm_d3_test_disconn_work_iter()
2059 if (vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_d3_test_disconn_work_iter()
2060 ieee80211_connection_loss(vif); in iwl_mvm_d3_test_disconn_work_iter()