Home
last modified time | relevance | path

Searched refs:ptk_pn (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c139 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn()
151 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn()
343 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_program_keys() local
348 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_program_keys()
349 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_program_keys()
355 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_program_keys()
1372 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_rx_seq() local
1377 ptk_pn = rcu_dereference(mvmsta->ptk_pn[ke in iwl_mvm_set_aes_rx_seq()
138 iwl_mvm_find_max_pn(struct ieee80211_key_conf *key, struct iwl_mvm_key_pn *ptk_pn, struct ieee80211_key_seq *seq, int tid, int queues) iwl_mvm_find_max_pn() argument
[all...]
H A Dsta.h406 * @ptk_pn: per-queue PTK PN data structures
436 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member
H A 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()
H A Dmac80211.c3443 struct iwl_mvm_key_pn *ptk_pn; in __iwl_mvm_mac_set_key() local
3553 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3554 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key()
3557 if (!ptk_pn) { in __iwl_mvm_mac_set_key()
3565 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key()
3570 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3621 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key()
3622 mvmsta->ptk_pn[keyid in __iwl_mvm_mac_set_key()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c83 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn()
95 const u8 *tmp = ptk_pn->q[i].pn[tid]; in iwl_mvm_find_max_pn()
290 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_get_rsc_tsc_data() local
295 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_wowlan_get_rsc_tsc_data()
296 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_get_rsc_tsc_data()
302 pn = iwl_mvm_find_max_pn(key, ptk_pn, &seq, i, in iwl_mvm_wowlan_get_rsc_tsc_data()
411 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_wowlan_get_rsc_v5_data() local
416 ptk_pn = rcu_dereference(mvmsta->ptk_pn[ke in iwl_mvm_wowlan_get_rsc_v5_data()
82 iwl_mvm_find_max_pn(struct ieee80211_key_conf *key, struct iwl_mvm_key_pn *ptk_pn, struct ieee80211_key_seq *seq, int tid, int queues) iwl_mvm_find_max_pn() argument
1623 struct iwl_mvm_key_pn *ptk_pn; iwl_mvm_set_aes_ptk_rx_seq() local
[all...]
H A Dmac80211.c4103 struct iwl_mvm_key_pn *ptk_pn = NULL; in __iwl_mvm_mac_set_key() local
4221 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
4222 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key()
4225 if (!ptk_pn) { in __iwl_mvm_mac_set_key()
4233 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key()
4238 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
4261 if (ptk_pn) { in __iwl_mvm_mac_set_key()
4262 RCU_INIT_POINTER(mvmsta->ptk_pn[keyid in __iwl_mvm_mac_set_key()
[all...]
H A Drxmq.c20 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_check_pn() local
57 ptk_pn = rcu_dereference(mvmsta->ptk_pn[keyidx]); in iwl_mvm_check_pn()
58 if (!ptk_pn) in iwl_mvm_check_pn()
78 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
84 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
H A Dsta.h390 * @ptk_pn: per-queue PTK PN data structures
422 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member

Completed in 23 milliseconds