Lines Matching refs:mvmvif

82 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_set_rekey_data()  local
89 memcpy(mvmvif->rekey_data.kek, data->kek, NL80211_KEK_LEN); in iwl_mvm_set_rekey_data()
90 memcpy(mvmvif->rekey_data.kck, data->kck, NL80211_KCK_LEN); in iwl_mvm_set_rekey_data()
91 mvmvif->rekey_data.replay_ctr = in iwl_mvm_set_rekey_data()
93 mvmvif->rekey_data.valid = true; in iwl_mvm_set_rekey_data()
103 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ipv6_addr_change() local
109 mvmvif->target_ipv6_addrs[idx] = ifa->addr; in iwl_mvm_ipv6_addr_change()
116 mvmvif->num_target_ipv6_addrs = idx; in iwl_mvm_ipv6_addr_change()
123 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_default_unicast_key() local
125 mvmvif->tx_key_idx = idx; in iwl_mvm_set_default_unicast_key()
150 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_wowlan_program_keys() local
171 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_wowlan_program_keys()
172 mvmvif->color)), in iwl_mvm_wowlan_program_keys()
189 if (key->keyidx == mvmvif->tx_key_idx) { in iwl_mvm_wowlan_program_keys()
607 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_d3_reprogram() local
617 if (WARN_ON(!mvmvif->phy_ctxt)) in iwl_mvm_d3_reprogram()
631 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef, in iwl_mvm_d3_reprogram()
637 mvmvif->uploaded = false; in iwl_mvm_d3_reprogram()
648 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
649 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
652 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
653 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
654 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram()
655 mvmvif->color)); in iwl_mvm_d3_reprogram()
676 rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta); in iwl_mvm_d3_reprogram()
684 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
685 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
706 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_last_nonqos_seq() local
710 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_get_last_nonqos_seq()
711 mvmvif->color)), in iwl_mvm_get_last_nonqos_seq()
742 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_last_nonqos_seq() local
746 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_set_last_nonqos_seq()
747 mvmvif->color)), in iwl_mvm_set_last_nonqos_seq()
748 .value = cpu_to_le16(mvmvif->seqno), in iwl_mvm_set_last_nonqos_seq()
752 if (!mvmvif->seqno_valid) in iwl_mvm_set_last_nonqos_seq()
755 mvmvif->seqno_valid = false; in iwl_mvm_set_last_nonqos_seq()
795 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_get_wowlan_config() argument
858 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_wowlan_config() argument
920 if (mvmvif->rekey_data.valid) { in iwl_mvm_wowlan_config()
922 memcpy(kek_kck_cmd.kck, mvmvif->rekey_data.kck, in iwl_mvm_wowlan_config()
925 memcpy(kek_kck_cmd.kek, mvmvif->rekey_data.kek, in iwl_mvm_wowlan_config()
928 kek_kck_cmd.replay_ctr = mvmvif->rekey_data.replay_ctr; in iwl_mvm_wowlan_config()
1028 struct iwl_mvm_vif *mvmvif = NULL; in __iwl_mvm_suspend() local
1064 mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_suspend()
1066 if (mvmvif->ap_sta_id == IWL_MVM_STATION_COUNT) { in __iwl_mvm_suspend()
1083 mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], in __iwl_mvm_suspend()
1091 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1095 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1477 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_setup_connection_keep() local
1551 mvmvif->seqno_valid = true; in iwl_mvm_setup_connection_keep()
1553 mvmvif->seqno = le16_to_cpu(status->non_qos_seq_ctr) + 0x10; in iwl_mvm_setup_connection_keep()