Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dmacsec.c1719 int pn_len; in macsec_add_rxsa() local
1752 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_add_rxsa()
1753 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_rxsa()
1755 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_add_rxsa()
1961 int pn_len; in macsec_add_txsa() local
1994 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_add_txsa()
1995 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_txsa()
1997 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_add_txsa()
2337 int pn_len; in macsec_upd_txsa() local
2339 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_upd_txsa()
[all …]
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c782 u8 pn_len; in mt76x02_mac_process_rx() local
804 pn_len = FIELD_GET(MT_RXINFO_PN_LEN, rxinfo); in mt76x02_mac_process_rx()
805 if (pn_len) { in mt76x02_mac_process_rx()
823 pad_len += pn_len << 2; in mt76x02_mac_process_rx()
824 len -= pn_len << 2; in mt76x02_mac_process_rx()
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dioctl.h261 u8 pn_len; member
Dsta_cmd.c605 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
624 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
795 enc_key->pn, enc_key->pn_len); in mwifiex_cmd_802_11_key_material_v2()
Dsta_ioctl.c1131 encrypt_key.pn_len = kp->seq_len; in mwifiex_set_encode()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dfile.h567 u8 pn_len; member
/Linux-v5.10/net/mac80211/
Dwpa.c878 if (ieee80211_crypto_cs_pn_compare(skb_pn, rx_pn, cs->pn_len) <= 0) in ieee80211_crypto_cs_decrypt()
881 memcpy(rx_pn, skb_pn, cs->pn_len); in ieee80211_crypto_cs_decrypt()
Dkey.c680 if (seq_len && seq_len != cs->pn_len) { in ieee80211_key_alloc()
Dmain.c880 if (WARN_ON(cs[r].pn_len > IEEE80211_MAX_PN_LEN)) { in ieee80211_init_cipher_suites()
Dutil.c3990 cs->hdr_len < cs->pn_len + cs->pn_off || in ieee80211_cs_valid()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dcore.h435 int pn_len; member
Dhtt_rx.c2147 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()
2236 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()
2532 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()
3753 peer->rx_pn[sec_index].pn_len = ath10k_htt_rx_pn_len(sec_type); in ath10k_htt_rx_sec_ind_handler()
/Linux-v5.10/include/net/
Dmac80211.h1928 u8 pn_len; member
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac80211.c511 cs->pn_len = fwcs->pn_len; in iwl_mvm_mac_setup_register()