Home
last modified time | relevance | path

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

/Linux-v6.1/net/mac80211/
Dwep.c28 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN); in ieee80211_wep_init()
75 if (WARN_ON(skb_headroom(skb) < IEEE80211_WEP_IV_LEN)) in ieee80211_wep_add_iv()
79 newhdr = skb_push(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_add_iv()
80 memmove(newhdr, newhdr + IEEE80211_WEP_IV_LEN, hdrlen); in ieee80211_wep_add_iv()
100 memmove(skb->data + IEEE80211_WEP_IV_LEN, skb->data, hdrlen); in ieee80211_wep_remove_iv()
101 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_remove_iv()
146 len = skb->len - (iv + IEEE80211_WEP_IV_LEN - skb->data); in ieee80211_wep_encrypt()
158 iv + IEEE80211_WEP_IV_LEN, len); in ieee80211_wep_encrypt()
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()
[all …]
Dkey.c617 key->conf.iv_len = IEEE80211_WEP_IV_LEN; in ieee80211_key_alloc()
Dutil.c1746 skb = dev_alloc_skb(local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN + in ieee80211_send_auth()
1752 skb_reserve(skb, local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN); in ieee80211_send_auth()
Drx.c1031 if (unlikely(skb->len < hdrlen + IEEE80211_WEP_IV_LEN)) in ieee80211_get_keyid()
Dtx.c3214 build.hdr_len += IEEE80211_WEP_IV_LEN; in ieee80211_check_fast_xmit()
/Linux-v6.1/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c869 return IEEE80211_WEP_IV_LEN; in ath10k_htt_rx_crypto_param_len()
2622 ivp[IEEE80211_WEP_IV_LEN - 1] |= ATH10K_IEEE80211_EXTIV; in ath10k_htt_rx_proc_rx_ind_hl()
2631 ivp[IEEE80211_WEP_IV_LEN - 1] |= keyidx << 6; in ath10k_htt_rx_proc_rx_ind_hl()
2698 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_nomic()
2717 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_withmic()
2736 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_ccmp_decap()
2753 memmove(orig_hdr + IEEE80211_WEP_IV_LEN, in ath10k_htt_rx_frag_wep_decap()
2755 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ath10k_htt_rx_frag_wep_decap()
Dwmi.c2266 if (skb->len < (hdrlen + IEEE80211_WEP_IV_LEN)) in ath10k_wmi_handle_wep_reauth()
2269 keyidx = skb->data[hdrlen + (IEEE80211_WEP_IV_LEN - 1)] >> WEP_KEYID_SHIFT; in ath10k_wmi_handle_wep_reauth()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c181 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag()
Drxmq.c441 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_rx_crypto()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1444 len += IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN; in iwl_txq_gen1_update_byte_cnt_tbl()
/Linux-v6.1/include/linux/
Dieee80211.h3583 #define IEEE80211_WEP_IV_LEN 4 macro