Home
last modified time | relevance | path

Searched refs:IEEE80211_WEP_IV_LEN (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/net/mac80211/
Dwep.c28 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN); in ieee80211_wep_init()
77 if (WARN_ON(skb_headroom(skb) < IEEE80211_WEP_IV_LEN)) in ieee80211_wep_add_iv()
81 newhdr = skb_push(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_add_iv()
82 memmove(newhdr, newhdr + IEEE80211_WEP_IV_LEN, hdrlen); in ieee80211_wep_add_iv()
102 memmove(skb->data + IEEE80211_WEP_IV_LEN, skb->data, hdrlen); in ieee80211_wep_remove_iv()
103 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_remove_iv()
148 len = skb->len - (iv + IEEE80211_WEP_IV_LEN - skb->data); in ieee80211_wep_encrypt()
160 iv + IEEE80211_WEP_IV_LEN, len); in ieee80211_wep_encrypt()
209 if (skb->len < hdrlen + IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN) in ieee80211_wep_decrypt()
212 len = skb->len - hdrlen - IEEE80211_WEP_IV_LEN - IEEE80211_WEP_ICV_LEN; in ieee80211_wep_decrypt()
[all …]
Dkey.c523 key->conf.iv_len = IEEE80211_WEP_IV_LEN; in ieee80211_key_alloc()
Dutil.c1558 skb = dev_alloc_skb(local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN + in ieee80211_send_auth()
1563 skb_reserve(skb, local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN); in ieee80211_send_auth()
Drx.c1025 minlen = hdrlen + IEEE80211_WEP_IV_LEN; in ieee80211_get_keyid()
Dtx.c3040 build.hdr_len += IEEE80211_WEP_IV_LEN; in ieee80211_check_fast_xmit()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c832 return IEEE80211_WEP_IV_LEN; in ath10k_htt_rx_crypto_param_len()
2303 ivp[IEEE80211_WEP_IV_LEN - 1] |= ATH10K_IEEE80211_EXTIV; in ath10k_htt_rx_proc_rx_ind_hl()
2312 ivp[IEEE80211_WEP_IV_LEN - 1] |= keyidx << 6; in ath10k_htt_rx_proc_rx_ind_hl()
2376 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_nomic()
2395 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_withmic()
2414 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_ccmp_decap()
2431 memmove(orig_hdr + IEEE80211_WEP_IV_LEN, in ath10k_htt_rx_frag_wep_decap()
2433 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ath10k_htt_rx_frag_wep_decap()
Dwmi.c2211 if (skb->len < (hdrlen + IEEE80211_WEP_IV_LEN)) in ath10k_wmi_handle_wep_reauth()
2214 keyidx = skb->data[hdrlen + (IEEE80211_WEP_IV_LEN - 1)] >> WEP_KEYID_SHIFT; in ath10k_wmi_handle_wep_reauth()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c237 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag()
Drxmq.c365 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_rx_crypto()
/Linux-v5.4/include/linux/
Dieee80211.h2647 #define IEEE80211_WEP_IV_LEN 4 macro
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c232 len += IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN; in iwl_pcie_txq_update_byte_cnt_tbl()