Lines Matching defs:hdr
94 static int ccmp_init_iv_and_aad(const struct ieee80211_hdr *hdr,
101 a4_included = ieee80211_has_a4(hdr->frame_control);
102 qc_included = ieee80211_is_data_qos(hdr->frame_control);
108 pos = (u8 *) & hdr->addr4;
126 memcpy(iv + 2, hdr->addr2, ETH_ALEN);
136 pos = (u8 *) hdr;
139 memcpy(aad + 2, hdr->addr1, 3 * ETH_ALEN);
140 pos = (u8 *) & hdr->seq_ctrl;
145 memcpy(aad + 22, hdr->addr4, ETH_ALEN);
193 struct ieee80211_hdr *hdr;
213 hdr = (struct ieee80211_hdr *)skb->data;
214 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad);
258 struct ieee80211_hdr *hdr;
272 hdr = (struct ieee80211_hdr *)skb->data;
277 hdr->addr2);
289 hdr->addr2, keyidx);
304 hdr->addr2,
317 aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad);
332 hdr->addr2, ret);
339 /* Remove hdr and MIC */