Lines Matching refs:wh
195 #define IEEE80211_IS_FC0_CHECK_VER(wh, v) \ argument
196 (((wh)->i_fc[0] & IEEE80211_FC0_VERSION_MASK) == (v))
199 #define IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, v, t) \ argument
200 (((((wh)->i_fc[0] & IEEE80211_FC0_VERSION_MASK) == (v))) && \
201 (((wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == (t)))
204 #define IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, v, t, st) \ argument
205 (((((wh)->i_fc[0] & IEEE80211_FC0_VERSION_MASK) == (v))) && \
206 (((wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == (t)) && \
207 (((wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == (st)))
209 #define IEEE80211_IS_MGMT(wh) \ argument
210 (IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, IEEE80211_FC0_VERSION_0, \
212 #define IEEE80211_IS_CTL(wh) \ argument
213 (IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, IEEE80211_FC0_VERSION_0, \
215 #define IEEE80211_IS_DATA(wh) \ argument
216 (IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, IEEE80211_FC0_VERSION_0, \
218 #define IEEE80211_IS_EXT(wh) \ argument
219 (IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, IEEE80211_FC0_VERSION_0, \
224 #define IEEE80211_IS_MGMT_BEACON(wh) \ argument
225 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
230 #define IEEE80211_IS_MGMT_PROBE_RESP(wh) \ argument
231 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
236 #define IEEE80211_IS_MGMT_ACTION(wh) \ argument
237 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
244 #define IEEE80211_IS_CTL_PS_POLL(wh) \ argument
245 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
250 #define IEEE80211_IS_CTL_BAR(wh) \ argument
251 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
263 #define IEEE80211_IS_QOS_ANY(wh) \ argument
264 ((IEEE80211_IS_FC0_CHECK_VER_TYPE(wh, IEEE80211_FC0_VERSION_0, \
266 ((wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS_MASK_ANY))
271 #define IEEE80211_IS_QOSDATA(wh) \ argument
272 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
280 #define IEEE80211_IS_QOS_NULL(wh) \ argument
281 (IEEE80211_IS_FC0_CHECK_VER_TYPE_SUBTYPE(wh, \
293 #define IEEE80211_IS_DSTODS(wh) \ argument
294 (((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
303 #define IEEE80211_IS_PROTECTED(wh) \ argument
304 ((wh)->i_fc[1] & IEEE80211_FC1_PROTECTED)
352 #define IEEE80211_QOS_HAS_SEQ(wh) \ argument
353 (((wh)->i_fc[0] & \