Searched refs:new_pn (Results 1 – 3 of 3) sorted by relevance
39 int ol_rx_pn_cmp24(union htt_rx_pn_t *new_pn, in ol_rx_pn_cmp24() argument44 return ((new_pn->pn24 & 0xffffff) - (old_pn->pn24 & 0xffffff) in ol_rx_pn_cmp24()47 return ((new_pn->pn24 & 0xffffff) <= (old_pn->pn24 & 0xffffff)); in ol_rx_pn_cmp24()50 int ol_rx_pn_cmp48(union htt_rx_pn_t *new_pn, in ol_rx_pn_cmp48() argument55 return ((new_pn->pn48 & 0xffffffffffffULL) - in ol_rx_pn_cmp48()58 return ((new_pn->pn48 & 0xffffffffffffULL) <= in ol_rx_pn_cmp48()62 int ol_rx_pn_wapi_cmp(union htt_rx_pn_t *new_pn, in ol_rx_pn_wapi_cmp() argument70 if (new_pn->pn128[1] == old_pn->pn128[1]) in ol_rx_pn_wapi_cmp()71 pn_is_replay = (new_pn->pn128[0] <= old_pn->pn128[0]); in ol_rx_pn_wapi_cmp()73 pn_is_replay = (new_pn->pn128[1] < old_pn->pn128[1]); in ol_rx_pn_wapi_cmp()[all …]
26 int ol_rx_pn_cmp24(union htt_rx_pn_t *new_pn,30 int ol_rx_pn_cmp48(union htt_rx_pn_t *new_pn,34 int ol_rx_pn_wapi_cmp(union htt_rx_pn_t *new_pn,
3167 uint64_t new_pn; in wma_extract_ccmp_pn() local3187 new_pn = ((uint64_t) pn[5] << 40) | in wma_extract_ccmp_pn()3193 return new_pn; in wma_extract_ccmp_pn()3208 uint64_t new_pn; in wma_is_ccmp_pn_replay_attack() local3213 new_pn = wma_extract_ccmp_pn(ccmp_ptr); in wma_is_ccmp_pn_replay_attack()3228 if (new_pn > peer_priv->last_pn) { in wma_is_ccmp_pn_replay_attack()3229 peer_priv->last_pn = new_pn; in wma_is_ccmp_pn_replay_attack()3238 peer_priv->last_pn = new_pn; in wma_is_ccmp_pn_replay_attack()