Home
last modified time | relevance | path

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

/linux-6.12.1/net/mac80211/
Dwep.c29 get_random_bytes(&local->wep_iv, IEEE80211_WEP_IV_LEN); in ieee80211_wep_init()
76 if (WARN_ON(skb_headroom(skb) < IEEE80211_WEP_IV_LEN)) in ieee80211_wep_add_iv()
80 newhdr = skb_push(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_add_iv()
81 memmove(newhdr, newhdr + IEEE80211_WEP_IV_LEN, hdrlen); in ieee80211_wep_add_iv()
101 memmove(skb->data + IEEE80211_WEP_IV_LEN, skb->data, hdrlen); in ieee80211_wep_remove_iv()
102 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ieee80211_wep_remove_iv()
147 len = skb->len - (iv + IEEE80211_WEP_IV_LEN - skb->data); in ieee80211_wep_encrypt()
159 iv + IEEE80211_WEP_IV_LEN, len); in ieee80211_wep_encrypt()
208 if (skb->len < hdrlen + IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN) in ieee80211_wep_decrypt()
211 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.c1117 skb = dev_alloc_skb(local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN + in ieee80211_send_auth()
1123 skb_reserve(skb, local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN); in ieee80211_send_auth()
Drx.c1022 if (unlikely(skb->len < hdrlen + IEEE80211_WEP_IV_LEN)) in ieee80211_get_keyid()
Dtx.c3235 build.hdr_len += IEEE80211_WEP_IV_LEN; in ieee80211_check_fast_xmit()
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c870 return IEEE80211_WEP_IV_LEN; in ath10k_htt_rx_crypto_param_len()
2618 ivp[IEEE80211_WEP_IV_LEN - 1] |= ATH10K_IEEE80211_EXTIV; in ath10k_htt_rx_proc_rx_ind_hl()
2627 ivp[IEEE80211_WEP_IV_LEN - 1] |= keyidx << 6; in ath10k_htt_rx_proc_rx_ind_hl()
2694 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_nomic()
2713 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_tkip_decap_withmic()
2732 if (!(ivp[IEEE80211_WEP_IV_LEN - 1] & ATH10K_IEEE80211_EXTIV)) in ath10k_htt_rx_frag_ccmp_decap()
2749 memmove(orig_hdr + IEEE80211_WEP_IV_LEN, in ath10k_htt_rx_frag_wep_decap()
2751 skb_pull(skb, IEEE80211_WEP_IV_LEN); in ath10k_htt_rx_frag_wep_decap()
Dwmi.c2287 if (skb->len < (hdrlen + IEEE80211_WEP_IV_LEN)) in ath10k_wmi_handle_wep_reauth()
2290 keyidx = skb->data[hdrlen + (IEEE80211_WEP_IV_LEN - 1)] >> WEP_KEYID_SHIFT; in ath10k_wmi_handle_wep_reauth()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c181 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag()
Drxmq.c425 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_rx_crypto()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c2085 len += IEEE80211_WEP_IV_LEN + IEEE80211_WEP_ICV_LEN; in iwl_txq_gen1_update_byte_cnt_tbl()
/linux-6.12.1/include/linux/
Dieee80211.h3916 #define IEEE80211_WEP_IV_LEN 4 macro