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()
601 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_d3_reprogram() local
611 if (WARN_ON(!mvmvif->phy_ctxt)) in iwl_mvm_d3_reprogram()
625 ret = iwl_mvm_phy_ctxt_add(mvm, mvmvif->phy_ctxt, &chandef, in iwl_mvm_d3_reprogram()
631 mvmvif->uploaded = false; in iwl_mvm_d3_reprogram()
642 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
643 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
646 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
647 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
648 binding_cmd.macs[0] = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_d3_reprogram()
649 mvmvif->color)); in iwl_mvm_d3_reprogram()
670 rcu_assign_pointer(mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], ap_sta); in iwl_mvm_d3_reprogram()
678 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->phy_ctxt->id, in iwl_mvm_d3_reprogram()
679 mvmvif->phy_ctxt->color)); in iwl_mvm_d3_reprogram()
700 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_last_nonqos_seq() local
704 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_get_last_nonqos_seq()
705 mvmvif->color)), in iwl_mvm_get_last_nonqos_seq()
736 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_set_last_nonqos_seq() local
740 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_set_last_nonqos_seq()
741 mvmvif->color)), in iwl_mvm_set_last_nonqos_seq()
742 .value = cpu_to_le16(mvmvif->seqno), in iwl_mvm_set_last_nonqos_seq()
746 if (!mvmvif->seqno_valid) in iwl_mvm_set_last_nonqos_seq()
749 mvmvif->seqno_valid = false; in iwl_mvm_set_last_nonqos_seq()
786 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_get_wowlan_config() argument
849 struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, in iwl_mvm_wowlan_config() argument
911 if (mvmvif->rekey_data.valid) { in iwl_mvm_wowlan_config()
913 memcpy(kek_kck_cmd.kck, mvmvif->rekey_data.kck, in iwl_mvm_wowlan_config()
916 memcpy(kek_kck_cmd.kek, mvmvif->rekey_data.kek, in iwl_mvm_wowlan_config()
919 kek_kck_cmd.replay_ctr = mvmvif->rekey_data.replay_ctr; in iwl_mvm_wowlan_config()
1020 struct iwl_mvm_vif *mvmvif = NULL; in __iwl_mvm_suspend() local
1056 mvmvif = iwl_mvm_vif_from_mac80211(vif); in __iwl_mvm_suspend()
1058 if (mvmvif->ap_sta_id == IWL_MVM_STATION_COUNT) { in __iwl_mvm_suspend()
1075 mvm->fw_id_to_mac_id[mvmvif->ap_sta_id], in __iwl_mvm_suspend()
1083 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1087 vif, mvmvif, ap_sta); in __iwl_mvm_suspend()
1480 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_setup_connection_keep() local
1554 mvmvif->seqno_valid = true; in iwl_mvm_setup_connection_keep()
1556 mvmvif->seqno = le16_to_cpu(status->non_qos_seq_ctr) + 0x10; in iwl_mvm_setup_connection_keep()