Searched refs:ptk_pn (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 2005 struct iwl_mld_ptk_pn **ptk_pn) in iwl_mld_alloc_ptk_pn() argument 2015 *ptk_pn = kzalloc(struct_size(*ptk_pn, q, num_rx_queues), in iwl_mld_alloc_ptk_pn() 2017 if (!*ptk_pn) in iwl_mld_alloc_ptk_pn() 2027 rcu_assign_pointer(mld_sta->ptk_pn[keyidx], *ptk_pn); in iwl_mld_alloc_ptk_pn() 2040 struct iwl_mld_ptk_pn *ptk_pn = NULL; in iwl_mld_set_key_add() local 2100 if (ptk_pn) { in iwl_mld_set_key_add() 2102 kfree(ptk_pn); in iwl_mld_set_key_add() 2129 struct iwl_mld_ptk_pn *ptk_pn; in iwl_mld_set_key_remove() local 2135 mld_sta->ptk_pn[keyidx]); in iwl_mld_set_key_remove() 2137 if (!WARN_ON(!ptk_pn)) in iwl_mld_set_key_remove() [all …]
|
| H A D | sta.h | 140 struct iwl_mld_ptk_pn __rcu *ptk_pn[IWL_NUM_DEFAULT_KEYS]; member
|
| H A D | rx.c | 65 struct iwl_mld_ptk_pn *ptk_pn; in iwl_mld_check_pn() local 95 ptk_pn = rcu_dereference(mld_sta->ptk_pn[keyidx]); in iwl_mld_check_pn() 96 if (!ptk_pn) in iwl_mld_check_pn() 116 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mld_check_pn() 122 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mld_check_pn()
|
| H A D | d3.c | 765 mld_sta->ptk_pn[key->keyidx]); in iwl_mld_update_ptk_rx_seq() 1424 if (WARN_ON(key->keyidx >= ARRAY_SIZE(mld_sta->ptk_pn))) in iwl_mld_suspend_set_ucast_pn() 1428 mld_sta->ptk_pn[key->keyidx]); in iwl_mld_suspend_set_ucast_pn()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | d3.c | 83 struct iwl_mvm_key_pn *ptk_pn, in iwl_mvm_find_max_pn() argument 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() 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[key->keyidx]); in iwl_mvm_wowlan_get_rsc_v5_data() 417 if (WARN_ON(!ptk_pn)) { in iwl_mvm_wowlan_get_rsc_v5_data() 1670 struct iwl_mvm_key_pn *ptk_pn; in iwl_mvm_set_aes_ptk_rx_seq() local 1680 ptk_pn = rcu_dereference(mvmsta->ptk_pn[key->keyidx]); in iwl_mvm_set_aes_ptk_rx_seq() 1681 if (WARN_ON(!ptk_pn)) { in iwl_mvm_set_aes_ptk_rx_seq() [all …]
|
| H A D | mac80211.c | 4386 struct iwl_mvm_key_pn *ptk_pn = NULL; in __iwl_mvm_mac_set_key() local 4514 ptk_pn = kzalloc(struct_size(ptk_pn, q, in __iwl_mvm_mac_set_key() 4517 if (!ptk_pn) { in __iwl_mvm_mac_set_key() 4525 memcpy(ptk_pn->q[q].pn[tid], in __iwl_mvm_mac_set_key() 4530 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key() 4553 if (ptk_pn) { in __iwl_mvm_mac_set_key() 4555 kfree(ptk_pn); in __iwl_mvm_mac_set_key() 4598 ptk_pn = rcu_dereference_protected( in __iwl_mvm_mac_set_key() 4599 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key() 4602 if (ptk_pn) in __iwl_mvm_mac_set_key() [all …]
|
| H A D | rxmq.c | 20 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 D | sta.h | 435 struct iwl_mvm_key_pn __rcu *ptk_pn[4]; member
|