Home
last modified time | relevance | path

Searched refs:pasn (Results 1 – 1 of 1) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c100 struct iwl_mvm_ftm_pasn_entry *pasn = kzalloc(sizeof(*pasn), in iwl_mvm_ftm_add_pasn_sta() local
106 if (!pasn) in iwl_mvm_ftm_add_pasn_sta()
109 pasn->cipher = iwl_mvm_cipher_to_location_cipher(cipher); in iwl_mvm_ftm_add_pasn_sta()
111 switch (pasn->cipher) { in iwl_mvm_ftm_add_pasn_sta()
140 if (tk_len != expected_tk_len || hltk_len != sizeof(pasn->hltk)) { in iwl_mvm_ftm_add_pasn_sta()
146 memcpy(pasn->addr, addr, sizeof(pasn->addr)); in iwl_mvm_ftm_add_pasn_sta()
147 memcpy(pasn->hltk, hltk, sizeof(pasn->hltk)); in iwl_mvm_ftm_add_pasn_sta()
150 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()
152 list_add_tail(&pasn->list, &mvm->ftm_initiator.pasn_list); in iwl_mvm_ftm_add_pasn_sta()
155 kfree(pasn); in iwl_mvm_ftm_add_pasn_sta()