Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1879 union htt_rx_pn_t *last_pn, new_pn = {0}; in ath10k_htt_rx_h_frag_pn_check() local
1897 new_pn.pn48 = ath10k_htt_rx_h_get_pn(ar, skb, offset, enctype); in ath10k_htt_rx_h_frag_pn_check()
1902 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_h_frag_pn_check()
1908 if (new_pn.pn48 != last_pn->pn48 + 1) in ath10k_htt_rx_h_frag_pn_check()
1911 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_h_frag_pn_check()
2385 static bool ath10k_htt_rx_pn_cmp48(union htt_rx_pn_t *new_pn, in ath10k_htt_rx_pn_cmp48() argument
2388 return ((new_pn->pn48 & 0xffffffffffffULL) <= in ath10k_htt_rx_pn_cmp48()
2399 union htt_rx_pn_t new_pn = {0}; in ath10k_htt_rx_pn_check_replay_hl() local
2432 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()
2440 pn_invalid = ath10k_htt_rx_pn_cmp48(&new_pn, last_pn); in ath10k_htt_rx_pn_check_replay_hl()
[all …]