Rework monitor mode SKB handling, touching shared and cloned SKB handling in the...
[madwifi/.git] / net80211 / ieee80211.h
index b7d323e25fb9f78cade2a1431cccd61b46518fa6..a83b66db6022c6f6cdc2bf9f1b937fb21bc4eaf2 100644 (file)
@@ -186,6 +186,10 @@ struct ieee80211_ctlframe_addr2 {
 #define        IEEE80211_QOS_EOSP_S                    4
 #define        IEEE80211_QOS_TID                       0x0f
 
+#define IEEE80211_FRM_HAS_BODY(_wh)                    \
+       (((_wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) !=  \
+                       IEEE80211_FC0_TYPE_CTL)
+
 /*
  * Country/Region Codes from MS WINNLS.H
  * Numbering from ISO 3166