Home
last modified time | relevance | path

Searched refs:IEEE80211_WEP_ICV_LEN (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/mac80211/
H A Dwep.c117 arc4_crypt(ctx, data, data, data_len + IEEE80211_WEP_ICV_LEN); in ieee80211_wep_encrypt_data()
139 if (WARN_ON(skb_tailroom(skb) < IEEE80211_WEP_ICV_LEN)) in ieee80211_wep_encrypt()
155 skb_put(skb, IEEE80211_WEP_ICV_LEN); in ieee80211_wep_encrypt()
171 arc4_crypt(ctx, data, data, data_len + IEEE80211_WEP_ICV_LEN); in ieee80211_wep_decrypt_data()
175 if (memcmp(&crc, data + data_len, IEEE80211_WEP_ICV_LEN) != 0) in ieee80211_wep_decrypt_data()
207 if (skb->len < hdrlen + IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN) in ieee80211_wep_decrypt()
210 len = skb->len - hdrlen - IEEE80211_WEP_IV_LEN - IEEE80211_WEP_ICV_LEN; in ieee80211_wep_decrypt()
231 skb_trim(skb, skb->len - IEEE80211_WEP_ICV_LEN); in ieee80211_wep_decrypt()
263 pskb_trim(rx->skb, rx->skb->len - IEEE80211_WEP_ICV_LEN)) in ieee80211_crypto_wep_decrypt()
H A Dkey.c622 key->conf.icv_len = IEEE80211_WEP_ICV_LEN; in ieee80211_key_alloc()
H A Dutil.c1854 24 + 6 + extra_len + IEEE80211_WEP_ICV_LEN + in ieee80211_send_auth()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/queue/
H A Dtx.c1463 len += IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN; in iwl_txq_gen1_update_byte_cnt_tbl()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c930 return IEEE80211_WEP_ICV_LEN; in ath10k_htt_rx_crypto_icv_len()
2752 skb_trim(skb, skb->len - IEEE80211_WEP_ICV_LEN); in ath10k_htt_rx_frag_wep_decap()
/openbmc/linux/include/linux/
H A Dieee80211.h3721 #define IEEE80211_WEP_ICV_LEN 4 macro