/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 1436 } ptk; member 1626 iwl_mvm_set_key_rx_seq_tids(key, status->ptk.aes.seq); in iwl_mvm_set_aes_ptk_rx_seq() 1644 status->ptk.aes.seq[tid].ccmp.pn, in iwl_mvm_set_aes_ptk_rx_seq() 1669 status->ptk.tkip.tx_pn = (u64)le16_to_cpu(sc->tkip.tsc.iv16) | in iwl_mvm_convert_key_counters() 1671 status->ptk.aes.tx_pn = le64_to_cpu(sc->aes.tsc.pn); in iwl_mvm_convert_key_counters() 1676 &status->ptk.tkip.seq[i]); in iwl_mvm_convert_key_counters() 1678 &status->ptk.aes.seq[i]); in iwl_mvm_convert_key_counters() 1724 &status->ptk.tkip.seq[tid]); in iwl_mvm_convert_key_counters_v5() 1726 &status->ptk.aes.seq[tid]); in iwl_mvm_convert_key_counters_v5() 1871 atomic64_set(&key->tx_pn, status->ptk in iwl_mvm_d3_update_keys() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.h | 160 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
|
H A D | hif.c | 1130 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, in wilc_add_ptk() argument 1153 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk() 1180 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
|
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.h | 154 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
|
H A D | hif.c | 1103 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, in wilc_add_ptk() argument 1126 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk() 1153 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | key.c | 474 rcu_assign_pointer(sta->ptk[idx], new); in ieee80211_key_replace() 819 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link() 820 alt_key = key_mtx_dereference(sdata->local, sta->ptk[idx ^ 1]); in ieee80211_key_link() 1091 key = key_mtx_dereference(local, sta->ptk[i]); in ieee80211_free_sta_keys()
|
H A D | sta_info.h | 489 * @ptk: peer keys negotiated with this station, if any 574 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS]; member
|
H A D | cfg.c | 394 key = key_mtx_dereference(local, sta->ptk[key_idx]); in ieee80211_set_tx() 542 key = key_mtx_dereference(local, sta->ptk[key_idx]); in ieee80211_del_key() 590 key = rcu_dereference(sta->ptk[key_idx]); in ieee80211_get_key()
|
H A D | rx.c | 1945 sta_ptk = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt() 1955 ptk_idx = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt() 4277 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_rx()
|
H A D | tx.c | 604 (key = rcu_dereference(tx->sta->ptk[tx->sta->ptk_idx]))) in ieee80211_tx_h_select_key() 3063 build.key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_xmit() 4335 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_subif_start_xmit_8023()
|
H A D | sta_info.c | 386 BUILD_BUG_ON(ARRAY_SIZE(sta->ptk) <= INVALID_PTK_KEYIDX); in sta_info_alloc()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | key.c | 529 rcu_assign_pointer(sta->ptk[idx], new); in ieee80211_key_replace() 867 old_key = key_mtx_dereference(sdata->local, sta->ptk[idx]); in ieee80211_key_link() 868 alt_key = key_mtx_dereference(sdata->local, sta->ptk[idx ^ 1]); in ieee80211_key_link() 1192 key = key_mtx_dereference(local, sta->ptk[i]); in ieee80211_free_sta_keys()
|
H A D | sta_info.h | 584 * @ptk: peer keys negotiated with this station, if any 659 struct ieee80211_key __rcu *ptk[NUM_DEFAULT_KEYS]; member
|
H A D | mesh_pathtbl.c | 510 key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in mesh_fast_tx_cache()
|
H A D | rx.c | 1929 sta_ptk = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt() 1938 ptk_idx = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt() 4600 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_rx()
|
H A D | cfg.c | 456 key = key_mtx_dereference(local, sta->ptk[key_idx]); in ieee80211_set_tx() 613 sta->ptk[key_idx]); in ieee80211_lookup_key()
|
H A D | tx.c | 622 (key = rcu_dereference(tx->sta->ptk[tx->sta->ptk_idx]))) in ieee80211_tx_h_select_key() 3167 build.key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_xmit() 4687 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_subif_start_xmit_8023()
|
H A D | sta_info.c | 593 BUILD_BUG_ON(ARRAY_SIZE(sta->ptk) <= INVALID_PTK_KEYIDX); in __sta_info_alloc()
|