Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1885 union htt_rx_pn_t *last_pn, new_pn = {0}; in ath10k_htt_rx_h_frag_pn_check() local
1903 new_pn.pn48 = ath10k_htt_rx_h_get_pn(ar, skb, offset, enctype); in ath10k_htt_rx_h_frag_pn_check()
1908 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_h_frag_pn_check()
1914 if (new_pn.pn48 != last_pn->pn48 + 1) in ath10k_htt_rx_h_frag_pn_check()
1917 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_h_frag_pn_check()
2391 static bool ath10k_htt_rx_pn_cmp48(union htt_rx_pn_t *new_pn, in ath10k_htt_rx_pn_cmp48() argument
2394 return ((new_pn->pn48 & 0xffffffffffffULL) <= in ath10k_htt_rx_pn_cmp48()
2405 union htt_rx_pn_t new_pn = {0}; in ath10k_htt_rx_pn_check_replay_hl() local
2438 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_pn_check_replay_hl()
2446 pn_invalid = ath10k_htt_rx_pn_cmp48(&new_pn, last_pn); in ath10k_htt_rx_pn_check_replay_hl()
[all …]