Home | History | Annotate | Download | only in net80211

Lines Matching defs:ad

288 	uint8_t ad[32];
305 ad[0] = wh->i_fc[0] & 0x8f; /* XXX magic #s */
306 ad[1] = wh->i_fc[1] & 0xc7; /* XXX magic #s */
308 memcpy(ad + 2, wh->i_addr1, 3 * IEEE80211_ADDR_LEN);
309 ad[20] = wh->i_seq[0] & IEEE80211_SEQ_FRAG_MASK;
310 ad[21] = 0; /* all bits masked */
321 IEEE80211_ADDR_COPY(ad + 22,
327 ad[28] = qos;
328 ad[29] = 0;
339 ad[22] = qos;
340 ad[23] = 0;
350 IEEE80211_WEP_MICLEN, nonce, sizeof nonce, ad, adlen, data_len);