Lines Matching refs:pasn
53 struct iwl_mvm_ftm_pasn_entry *pasn = kzalloc(sizeof(*pasn), in iwl_mvm_ftm_add_pasn_sta() local
59 if (!pasn) in iwl_mvm_ftm_add_pasn_sta()
64 pasn->cipher = iwl_mvm_cipher_to_location_cipher(cipher); in iwl_mvm_ftm_add_pasn_sta()
66 switch (pasn->cipher) { in iwl_mvm_ftm_add_pasn_sta()
105 (hltk_len && hltk_len != sizeof(pasn->hltk))) { in iwl_mvm_ftm_add_pasn_sta()
116 memcpy(pasn->addr, addr, sizeof(pasn->addr)); in iwl_mvm_ftm_add_pasn_sta()
119 memcpy(pasn->hltk, hltk, sizeof(pasn->hltk)); in iwl_mvm_ftm_add_pasn_sta()
120 pasn->flags |= IWL_MVM_PASN_FLAG_HAS_HLTK; in iwl_mvm_ftm_add_pasn_sta()
124 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()
126 list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list); in iwl_mvm_ftm_add_pasn_sta()
129 kfree(pasn); in iwl_mvm_ftm_add_pasn_sta()