Lines Matching refs:new_pn

1879 	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()
2445 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_pn_check_replay_hl()
2462 union htt_rx_pn_t new_pn = {0}; in ath10k_htt_rx_proc_rx_ind_hl() local
2526 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_proc_rx_ind_hl()
2603 __le64 pn48 = cpu_to_le64(new_pn.pn48); in ath10k_htt_rx_proc_rx_ind_hl()
2764 union htt_rx_pn_t new_pn = {0}; in ath10k_htt_rx_proc_rx_frag_ind_hl() local
2827 ath10k_htt_rx_mpdu_desc_pn_hl(rx_desc, &new_pn, peer->rx_pn[sec_index].pn_len); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2884 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_proc_rx_frag_ind_hl()
2890 if (new_pn.pn48 != last_pn->pn48 + 1) in ath10k_htt_rx_proc_rx_frag_ind_hl()
2893 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_proc_rx_frag_ind_hl()
2895 last_pn->pn48 = new_pn.pn48; in ath10k_htt_rx_proc_rx_frag_ind_hl()