Lines Matching defs:wh

183 	const struct ieee80211_frame *wh;
185 wh = mtod(m0, const struct ieee80211_frame *);
188 if (! IEEE80211_QOS_HAS_SEQ(wh))
192 return (ieee80211_gettid(wh));
198 struct ieee80211_frame *wh;
200 wh = mtod(bf->bf_m, struct ieee80211_frame *);
203 wh->i_fc[1] |= IEEE80211_FC1_RETRY;
235 const struct ieee80211_frame *wh;
237 wh = mtod(m0, const struct ieee80211_frame *);
244 if (IEEE80211_QOS_HAS_SEQ(wh))
245 return TID_TO_WME_AC(ieee80211_gettid(wh));
719 struct ieee80211_frame *wh;
722 wh = mtod(bf_last->bf_m, struct ieee80211_frame *);
723 wh->i_fc[1] |= IEEE80211_FC1_MORE_DATA;
1046 struct ieee80211_frame *wh;
1056 wh = mtod(bf->bf_m, struct ieee80211_frame *);
1119 struct ieee80211_frame *wh;
1130 wh = mtod(bf->bf_m, struct ieee80211_frame *);
1136 if ((flags & HAL_TXDESC_NOACK) == 0 && !IEEE80211_IS_CTL(wh)) {
1142 if (wh->i_fc[1] & IEEE80211_FC1_MORE_FRAG) {
1171 *(u_int16_t *)wh->i_dur = htole16(dur);
1445 struct ieee80211_frame *wh;
1448 wh = mtod(m0, struct ieee80211_frame *);
1449 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
1450 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
1561 struct ieee80211_frame *wh;
1580 wh = mtod(m0, struct ieee80211_frame *);
1581 iswep = wh->i_fc[1] & IEEE80211_FC1_PROTECTED;
1582 ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
1584 hdrlen = ieee80211_anyhdrsize(wh);
1599 wh = mtod(m0, struct ieee80211_frame *);
1613 wh = mtod(m0, struct ieee80211_frame *);
1644 switch (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) {
1646 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
1708 wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK, __func__);
1911 const struct ieee80211_frame *wh;
1948 wh = mtod(m0, struct ieee80211_frame *);
1949 ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
1950 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
1951 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
1958 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
2038 if (is_ampdu_tx && (! IEEE80211_IS_MULTICAST(wh->i_addr1))) {
2051 if (IEEE80211_QOS_HAS_SEQ(wh) &&
2052 (! IEEE80211_IS_MULTICAST(wh->i_addr1)) &&
2053 (! IEEE80211_IS_QOS_NULL(wh))) {
2145 struct ieee80211_frame *wh;
2159 wh = mtod(m0, struct ieee80211_frame *);
2160 ismcast = IEEE80211_IS_MULTICAST(wh->i_addr1);
2161 hdrlen = ieee80211_anyhdrsize(wh);
2169 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK;
2170 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
2180 if (! IEEE80211_QOS_HAS_SEQ(wh))
2212 wh = mtod(m0, struct ieee80211_frame *);
2222 wh = mtod(m0, struct ieee80211_frame *);
2296 if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED)
2423 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *);
2457 if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
2589 struct ieee80211_frame *wh = mtod(m0, struct ieee80211_frame *);
2595 if (! IEEE80211_IS_MGMT_ACTION(wh))
2606 frm = (u_int8_t *)&wh[1];
2827 struct ieee80211_frame *wh;
2832 wh = mtod(bf->bf_m, struct ieee80211_frame *);
2839 wh->i_fc[1] |= IEEE80211_FC1_MORE_DATA;
2841 wh->i_fc[1] &= ~IEEE80211_FC1_MORE_DATA;
2851 !! (wh->i_fc[1] & IEEE80211_FC1_MORE_DATA));
2965 struct ieee80211_frame *wh;
2970 wh = mtod(m0, struct ieee80211_frame *);
2971 tid = ieee80211_gettid(wh);
2974 __func__, tid, IEEE80211_QOS_HAS_SEQ(wh));
2979 if (! IEEE80211_QOS_HAS_SEQ(wh))
2993 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK;
2994 if (IEEE80211_IS_QOS_NULL(wh)) {
2998 } else if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
3010 *(uint16_t *)&wh->i_seq[0] = htole16(seqno << IEEE80211_SEQ_SEQ_SHIFT);
3119 struct ieee80211_frame *wh;
3127 wh = mtod(m0, struct ieee80211_frame *);
3133 __func__, bf, pri, tid, IEEE80211_QOS_HAS_SEQ(wh));