Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dlocation.h855 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
856 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
925 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
926 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
1006 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
1007 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
1082 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
1083 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
1670 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
1671 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
/linux-6.15/net/mac80211/
H A Dwpa.c399 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks()
523 u8 pn[IEEE80211_CCMP_PN_LEN]; in ieee80211_crypto_ccmp_decrypt()
558 IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt()
580 memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt()
582 memcpy(rx->ccm_gcm.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt()
779 memcpy(rx->ccm_gcm.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_gcmp_decrypt()
H A Dkey.h90 u8 rx_pn[IEEE80211_NUM_TIDS + 1][IEEE80211_CCMP_PN_LEN];
H A Dkey.c638 for (j = 0; j < IEEE80211_CCMP_PN_LEN; j++) in ieee80211_key_alloc()
640 seq[IEEE80211_CCMP_PN_LEN - j - 1]; in ieee80211_key_alloc()
1270 memcpy(seq->ccmp.pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_get_key_rx_seq()
1323 memcpy(pn, seq->ccmp.pn, IEEE80211_CCMP_PN_LEN); in ieee80211_set_key_rx_seq()
H A Drx.c2311 IEEE80211_CCMP_PN_LEN); in ieee80211_rx_h_defragment()
2318 BUILD_BUG_ON(IEEE80211_CCMP_PN_LEN != in ieee80211_rx_h_defragment()
2346 u8 pn[IEEE80211_CCMP_PN_LEN], *rpn; in ieee80211_rx_h_defragment()
2355 memcpy(pn, entry->last_pn, IEEE80211_CCMP_PN_LEN); in ieee80211_rx_h_defragment()
2356 for (i = IEEE80211_CCMP_PN_LEN - 1; i >= 0; i--) { in ieee80211_rx_h_defragment()
2363 if (memcmp(pn, rpn, IEEE80211_CCMP_PN_LEN)) in ieee80211_rx_h_defragment()
2365 memcpy(entry->last_pn, pn, IEEE80211_CCMP_PN_LEN); in ieee80211_rx_h_defragment()
H A Dieee80211_i.h248 u8 pn[IEEE80211_CCMP_PN_LEN];
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsta.h68 u8 pn[IWL_MAX_TID_COUNT][IEEE80211_CCMP_PN_LEN];
H A Drx.c68 u8 pn[IEEE80211_CCMP_PN_LEN]; in iwl_mld_check_pn()
116 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mld_check_pn()
122 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mld_check_pn()
1683 BUILD_BUG_ON(IEEE80211_CCMP_PN_LEN != IEEE80211_GCMP_PN_LEN); in iwl_mld_rx_crypto()
H A Dd3.c780 IEEE80211_CCMP_PN_LEN); in iwl_mld_update_ptk_rx_seq()
1443 if (memcmp(max_pn, cur_pn, IEEE80211_CCMP_PN_LEN) < 0) in iwl_mld_suspend_set_ucast_pn()
H A Dmac80211.c2024 IEEE80211_CCMP_PN_LEN); in iwl_mld_alloc_ptk_pn()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.h280 u8 pn[IWL_MAX_TID_COUNT][IEEE80211_CCMP_PN_LEN];
H A Drxmq.c23 u8 pn[IEEE80211_CCMP_PN_LEN]; in iwl_mvm_check_pn()
78 res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
84 memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); in iwl_mvm_check_pn()
394 BUILD_BUG_ON(IEEE80211_CCMP_PN_LEN != IEEE80211_GCMP_PN_LEN); in iwl_mvm_rx_crypto()
H A Dftm-initiator.c38 u8 tx_pn[IEEE80211_CCMP_PN_LEN];
39 u8 rx_pn[IEEE80211_CCMP_PN_LEN];
H A Dd3.c97 if (memcmp(ret, tmp, IEEE80211_CCMP_PN_LEN) <= 0) in iwl_mvm_find_max_pn()
1692 IEEE80211_CCMP_PN_LEN); in iwl_mvm_set_aes_ptk_rx_seq()
H A Dmac80211.c4527 IEEE80211_CCMP_PN_LEN); in __iwl_mvm_mac_set_key()
/linux-6.15/include/linux/
H A Dieee80211.h3954 #define IEEE80211_CCMP_PN_LEN 6 macro