Home
last modified time | relevance | path

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

/wlan-driver/qcacld-3.0/core/dp/txrx/
H A Dol_rx_pn.c39 int ol_rx_pn_cmp24(union htt_rx_pn_t *new_pn, in ol_rx_pn_cmp24() argument
44 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() argument
55 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() argument
70 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 …]
H A Dol_rx_pn.h26 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,
/wlan-driver/qcacld-3.0/core/wma/src/
H A Dwma_mgmt.c3167 uint64_t new_pn; in wma_extract_ccmp_pn() local
3187 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() local
3213 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()