Home
last modified time | relevance | path

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

/openbmc/linux/net/mac80211/
H A 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 …]
H A Dkey.c621 key->conf.iv_len = IEEE80211_WEP_IV_LEN; in ieee80211_key_alloc()
H A Dutil.c1853 skb = dev_alloc_skb(local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN + in ieee80211_send_auth()
1859 skb_reserve(skb, local->hw.extra_tx_headroom + IEEE80211_WEP_IV_LEN); in ieee80211_send_auth()
H A Drx.c1012 if (unlikely(skb->len < hdrlen + IEEE80211_WEP_IV_LEN)) in ieee80211_get_keyid()
H A Dtx.c3220 build.hdr_len += IEEE80211_WEP_IV_LEN; in ieee80211_check_fast_xmit()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c181 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag()
H A Drxmq.c420 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_rx_crypto()
/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/include/linux/
H A Dieee80211.h3720 #define IEEE80211_WEP_IV_LEN 4 macro