Lines Matching refs:mvmvif

81 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_set_rekey_data()  local
88 memcpy(mvmvif->rekey_data.kek, data->kek, NL80211_KEK_LEN); in iwl_mvm_set_rekey_data()
89 memcpy(mvmvif->rekey_data.kck, data->kck, NL80211_KCK_LEN); in iwl_mvm_set_rekey_data()
90 mvmvif->rekey_data.replay_ctr = in iwl_mvm_set_rekey_data()
92 mvmvif->rekey_data.valid = true; in iwl_mvm_set_rekey_data()
102 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ipv6_addr_change() local
106 memset(mvmvif->tentative_addrs, 0, sizeof(mvmvif->tentative_addrs)); in iwl_mvm_ipv6_addr_change()
110 mvmvif->target_ipv6_addrs[idx] = ifa->addr; in iwl_mvm_ipv6_addr_change()
112 __set_bit(idx, mvmvif->tentative_addrs); in iwl_mvm_ipv6_addr_change()
119 mvmvif->num_target_ipv6_addrs = idx; in iwl_mvm_ipv6_addr_change()
126 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_default_unicast_key() local
128 mvmvif->tx_key_idx = idx; in iwl_mvm_set_default_unicast_key()
175 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_wowlan_program_keys() local
194 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_wowlan_program_keys()
195 mvmvif->color)), in iwl_mvm_wowlan_program_keys()
212 if (key->keyidx == mvmvif->tx_key_idx) { in iwl_mvm_wowlan_program_keys()
432 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_d3_reprogram() local
446 if (mvmvif->phy_ctxt->channel->band == NL80211_BAND_2GHZ || in iwl_mvm_d3_reprogram()
456 if (WARN_ON(!mvmvif->phy_ctxt)) in iwl_mvm_d3_reprogram()
470 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef, in iwl_mvm_d3_reprogram()
476 mvmvif->uploaded = false; in iwl_mvm_d3_reprogram()
487 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
488 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
491 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
492 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
493 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram()
494 mvmvif->color)); in iwl_mvm_d3_reprogram()
514 rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta); in iwl_mvm_d3_reprogram()
523 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
524 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
547 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_last_nonqos_seq() local
551 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_get_last_nonqos_seq()
552 mvmvif->color)), in iwl_mvm_get_last_nonqos_seq()
583 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_last_nonqos_seq() local
587 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_set_last_nonqos_seq()
588 mvmvif->color)), in iwl_mvm_set_last_nonqos_seq()
589 .value = cpu_to_le16(mvmvif->seqno), in iwl_mvm_set_last_nonqos_seq()
593 if (!mvmvif->seqno_valid) in iwl_mvm_set_last_nonqos_seq()
596 mvmvif->seqno_valid = false; in iwl_mvm_set_last_nonqos_seq()
635 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_get_wowlan_config() argument
740 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_wowlan_config_key_params() local
797 if (mvmvif->rekey_data.valid && !d0i3) { in iwl_mvm_wowlan_config_key_params()
799 memcpy(kek_kck_cmd.kck, mvmvif->rekey_data.kck, in iwl_mvm_wowlan_config_key_params()
802 memcpy(kek_kck_cmd.kek, mvmvif->rekey_data.kek, in iwl_mvm_wowlan_config_key_params()
805 kek_kck_cmd.replay_ctr = mvmvif->rekey_data.replay_ctr; in iwl_mvm_wowlan_config_key_params()
824 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_wowlan_config() argument
950 struct iwl_mvm_vif *mvmvif = NULL; in __iwl_mvm_suspend() local
988 mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_suspend()
990 if (mvmvif->ap_sta_id == IWL_MVM_INVALID_STA) { in __iwl_mvm_suspend()
1007 mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], in __iwl_mvm_suspend()
1015 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1019 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1462 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_setup_connection_keep() local
1537 mvmvif->seqno_valid = true; in iwl_mvm_setup_connection_keep()
1539 mvmvif->seqno = le16_to_cpu(status->non_qos_seq_ctr) + 0x10; in iwl_mvm_setup_connection_keep()