Lines Matching refs:wh
1662 struct ieee80211_frame *wh; local
1744 wh = (struct ieee80211_frame *)(head + 1);
1748 ieee80211_dump_pkt((uint8_t *)wh, len, 0, 0);
1751 in = ieee80211_find_rxnode(ic, wh);
1754 (void) memcpy(mp->b_wptr, wh, len);
2080 struct ieee80211_frame *wh; local
2136 wh = (struct ieee80211_frame *)m->b_rptr;
2138 in = ieee80211_find_txnode(ic, wh->i_addr1);
2156 if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
2162 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
2178 wh = (struct ieee80211_frame *)m->b_rptr;
2185 ieee80211_dump_pkt((uint8_t *)wh, hdrlen, 0, 0);
2189 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
2214 if (wh->i_fc[1] & IEEE80211_FC1_WEP)
2225 tx->id = IEEE80211_IS_MULTICAST(wh->i_addr1) ? WPI_ID_BROADCAST :
2228 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
2231 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2235 if (((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2237 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2890 struct ieee80211_frame *wh; local
2941 wh = (struct ieee80211_frame *)(hdr + 1);
2942 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT |
2944 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
2945 (void) memset(wh->i_addr1, 0xff, 6);
2946 IEEE80211_ADDR_COPY(wh->i_addr2, ic->ic_macaddr);
2947 (void) memset(wh->i_addr3, 0xff, 6);
2948 *(uint16_t *)&wh->i_dur[0] = 0; /* filled by h/w */
2949 *(uint16_t *)&wh->i_seq[0] = 0; /* filled by h/w */
2951 frm = (uint8_t *)(wh + 1);
2993 hdr->pbrlen = LE_16((uintptr_t)frm - (uintptr_t)wh);