Searched refs:pasn (Results 1 – 1 of 1) sorted by relevance
42 struct iwl_mvm_ftm_pasn_entry *pasn = kzalloc(sizeof(*pasn), in iwl_mvm_ftm_add_pasn_sta() local48 if (!pasn) in iwl_mvm_ftm_add_pasn_sta()51 pasn->cipher = iwl_mvm_cipher_to_location_cipher(cipher); in iwl_mvm_ftm_add_pasn_sta()53 switch (pasn->cipher) { in iwl_mvm_ftm_add_pasn_sta()82 if (tk_len != expected_tk_len || hltk_len != sizeof(pasn->hltk)) { in iwl_mvm_ftm_add_pasn_sta()88 memcpy(pasn->addr, addr, sizeof(pasn->addr)); in iwl_mvm_ftm_add_pasn_sta()89 memcpy(pasn->hltk, hltk, sizeof(pasn->hltk)); in iwl_mvm_ftm_add_pasn_sta()92 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()94 list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list); in iwl_mvm_ftm_add_pasn_sta()97 kfree(pasn); in iwl_mvm_ftm_add_pasn_sta()