Lines Matching defs:wh
1323 struct ieee80211_frame *wh;
1410 wh = mtod(m, struct ieee80211_frame *);
1412 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1414 wh->i_fc[1] &= ~IEEE80211_FC1_PROTECTED;
1420 u_int hdrlen = ieee80211_hdrsize(wh);
1421 memmove((char *)wh + 2, wh, hdrlen);
1423 wh = mtod(m, struct ieee80211_frame *);
1429 ieee80211_notify_michael_failure(ic, wh, 0/* XXX */);
1480 (struct ieee80211_frame_min *)wh);
1632 struct ieee80211_frame *wh;
1643 wh = mtod(m, struct ieee80211_frame *);
1645 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
1654 wh = mtod(m, struct ieee80211_frame *);
1658 hdrlen = ieee80211_anyhdrsize(wh);
1659 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
1661 if ((hasqos = ieee80211_has_qos(wh))) {
1662 qos = ieee80211_get_qos(wh);
1675 if (IEEE80211_IS_MULTICAST(wh->i_addr1) ||
1718 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1726 if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
1735 *(uint16_t *)wh->i_dur = htole16(dur);
1739 if ((wh->i_fc[0] &
1761 memcpy(txwi + 1, wh, hdrlen);