Lines Matching refs:wh

1912 	struct ieee80211_frame *wh;
1992 wh = mtod(m, struct ieee80211_frame *);
1994 if ((wh->i_fc[1] & IEEE80211_FC1_PROTECTED) &&
2006 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
2603 struct ieee80211_frame *wh;
2626 wh = mtod(buf->m, struct ieee80211_frame *);
2627 hdrlen = ieee80211_anyhdrsize(wh);
2657 memcpy((uint8_t *)(cmd->data + buf->size), wh, hdrlen);
2767 struct ieee80211_frame *wh;
2776 wh = mtod(m, struct ieee80211_frame *);
2777 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
2778 ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
2782 if (IEEE80211_QOS_HAS_SEQ(wh)) {
2783 qos = ((const struct ieee80211_qosframe *)wh)->i_qos[0];
2811 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) {
2820 wh = mtod(m, struct ieee80211_frame *);
2831 if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG)
2845 if (!IEEE80211_QOS_HAS_SEQ(wh))
2847 if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG)
2869 uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
2906 if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG) {
2940 struct ieee80211_frame *wh;
2947 wh = mtod(m, struct ieee80211_frame *);
2948 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
2957 if (!IEEE80211_QOS_HAS_SEQ(wh))
2978 wh = mtod(m, struct ieee80211_frame *);
2995 uint8_t subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
4078 struct ieee80211_frame *wh;
4169 wh = (struct ieee80211_frame *)(essids + WPI_SCAN_MAX_ESSIDS);
4170 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT |
4172 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
4173 IEEE80211_ADDR_COPY(wh->i_addr1, ieee80211broadcastaddr);
4174 IEEE80211_ADDR_COPY(wh->i_addr2, vap->iv_myaddr);
4175 IEEE80211_ADDR_COPY(wh->i_addr3, ieee80211broadcastaddr);
4177 frm = (uint8_t *)(wh + 1);
4184 tx->len = htole16(frm - (uint8_t *)wh);