Lines Matching refs:wh
95 struct ieee80211_frame *wh;
100 wh = (struct ieee80211_frame *)mp->b_rptr;
101 hdrspace = ieee80211_hdrspace(ic, wh);
128 (void) memcpy(m0->b_wptr, (uint8_t *)wh, hdrspace);
378 struct ieee80211_qosframe *wh;
387 wh = (struct ieee80211_qosframe *)m->b_rptr;
388 ASSERT(wh->i_fc[0] == IEEE80211_FC0_QOSDATA);
390 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
391 tid = ((struct ieee80211_qosframe_addr4 *)wh)->i_qos[0];
393 tid = wh->i_qos[0];
402 rxseq = LE_16(*(uint16_t *)wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
535 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : "");
553 struct ieee80211_frame_bar *wh;
558 wh = (struct ieee80211_frame_bar *)m0->b_rptr;
560 tid = MS(LE_16(wh->i_ctl), IEEE80211_BAR_TID);
570 rxseq = LE_16(wh->i_seq) >> IEEE80211_SEQ_SEQ_SHIFT;
605 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : "");
1417 struct ieee80211_frame_min *wh;
1428 wh = (struct ieee80211_frame_min *)m->b_rptr;
1429 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 |
1431 wh->i_fc[1] = 0;
1432 IEEE80211_ADDR_COPY(wh->i_addr1, in->in_macaddr);
1433 IEEE80211_ADDR_COPY(wh->i_addr2, ic->ic_macaddr);