Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c140 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn() argument
152 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn()
325 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_program_keys() local
329 ptk_pn = rcu_dereference_protected( in iwl_mvm_wowlan_program_keys()
330 mvmsta->ptk_pn[key->keyidx], in iwl_mvm_wowlan_program_keys()
332 if (WARN_ON(!ptk_pn)) in iwl_mvm_wowlan_program_keys()
336 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_program_keys()
1285 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_rx_seq() local
1289 ptk_pn = rcu_dereference_protected(mvmsta->ptk_pn[key->keyidx], in iwl_mvm_set_aes_rx_seq()
1291 if (WARN_ON(!ptk_pn)) in iwl_mvm_set_aes_rx_seq()
[all …]
Drxmq.c101 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_check_pn() local
138 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn()
139 if (!ptk_pn) in iwl_mvm_check_pn()
159 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
165 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
Dmac80211.c3323 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local
3435 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3436 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key()
3439 if (!ptk_pn) { in __iwl_mvm_mac_set_key()
3447 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key()
3452 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3503 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key()
3504 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
3506 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key()
3507 if (ptk_pn) in __iwl_mvm_mac_set_key()
[all …]
Dsta.h436 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member