Home | History | Annotate | Download | only in net80211

Lines Matching refs:wh

184 #define IEEE80211_IS_DSTODS(wh) \
185 (((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
220 #define IEEE80211_QOS_HAS_SEQ(wh) \
221 (((wh)->i_fc[0] & \
386 ieee80211_has_seq(const struct ieee80211_frame *wh)
388 return (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) !=
393 ieee80211_has_addr4(const struct ieee80211_frame *wh)
395 return (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) ==
400 ieee80211_has_qos(const struct ieee80211_frame *wh)
402 return (wh->i_fc[0] &
408 ieee80211_has_htc(const struct ieee80211_frame *wh)
410 return (wh->i_fc[1] & IEEE80211_FC1_ORDER) &&
411 (ieee80211_has_qos(wh) ||
412 (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
417 ieee80211_get_qos(const struct ieee80211_frame *wh)
421 if (ieee80211_has_addr4(wh))
422 frm = ((const struct ieee80211_qosframe_addr4 *)wh)->i_qos;
424 frm = ((const struct ieee80211_qosframe *)wh)->i_qos;