Lines Matching refs:hdr
90 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_add_iv() local
94 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_wep_add_iv()
100 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_add_iv()
112 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_remove_iv() local
115 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_remove_iv()
225 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_decrypt() local
230 if (!ieee80211_has_protected(hdr->frame_control)) in ieee80211_wep_decrypt()
233 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_decrypt()
276 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; in ieee80211_wep_is_weak_iv() local
281 if (!ieee80211_has_protected(hdr->frame_control)) in ieee80211_wep_is_weak_iv()
284 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_is_weak_iv()
294 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data; in ieee80211_crypto_wep_decrypt() local
296 if (!ieee80211_is_data(hdr->frame_control) && in ieee80211_crypto_wep_decrypt()
297 !ieee80211_is_auth(hdr->frame_control)) in ieee80211_crypto_wep_decrypt()