Home
last modified time | relevance | path

Searched refs:ptk_idx (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/mac80211/
H A Dsta_info.h490 * @ptk_idx: last installed peer key index
575 u8 ptk_idx; member
H A Dkey.c274 sta->ptk_idx = key->conf.keyidx; in _ieee80211_set_tx_key()
300 if (sta->ptk_idx != INVALID_PTK_KEYIDX && in ieee80211_pairwise_rekey()
H A Drx.c1903 struct ieee80211_key *ptk_idx = NULL; in ieee80211_rx_h_decrypt() local
1944 int keyid = rx->sta->ptk_idx; in ieee80211_rx_h_decrypt()
1955 ptk_idx = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt()
1963 rx->key = ptk_idx ? ptk_idx : sta_ptk; in ieee80211_rx_h_decrypt()
4277 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_rx()
H A Dtx.c604 (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 Dsta_info.c381 * The Tx path starts to use a key as soon as the key slot ptk_idx in sta_info_alloc()
383 * prematurely for Tx initialize ptk_idx to an impossible PTK keyid in sta_info_alloc()
387 sta->ptk_idx = INVALID_PTK_KEYIDX; in sta_info_alloc()
H A Dcfg.c390 if (sta->ptk_idx == key_idx) in ieee80211_set_tx()
/kernel/linux/linux-6.6/net/mac80211/
H A Dsta_info.h585 * @ptk_idx: last installed peer key index
660 u8 ptk_idx; member
H A Dkey.c282 sta->ptk_idx = key->conf.keyidx; in _ieee80211_set_tx_key()
308 if (sta->ptk_idx != INVALID_PTK_KEYIDX && in ieee80211_pairwise_rekey()
H A Drx.c1888 struct ieee80211_key *ptk_idx = NULL; in ieee80211_rx_h_decrypt() local
1928 int keyid = rx->sta->ptk_idx; in ieee80211_rx_h_decrypt()
1938 ptk_idx = rcu_dereference(rx->sta->ptk[keyid]); in ieee80211_rx_h_decrypt()
1946 rx->key = ptk_idx ? ptk_idx : sta_ptk; in ieee80211_rx_h_decrypt()
4600 key = rcu_dereference(sta->ptk[sta->ptk_idx]); in ieee80211_check_fast_rx()
H A Dmesh_pathtbl.c510 key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in mesh_fast_tx_cache()
H A Dtx.c622 (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 Dsta_info.c588 * The Tx path starts to use a key as soon as the key slot ptk_idx in __sta_info_alloc()
590 * prematurely for Tx initialize ptk_idx to an impossible PTK keyid in __sta_info_alloc()
594 sta->ptk_idx = INVALID_PTK_KEYIDX; in __sta_info_alloc()
H A Dcfg.c452 if (sta->ptk_idx == key_idx) in ieee80211_set_tx()

Completed in 49 milliseconds