summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-19 14:07:31 +0000
committerandre <andre@FreeBSD.org>2013-08-19 14:07:31 +0000
commit653dac5a00be3e8361b31b7788da6fd981bf10a8 (patch)
treeef9f1b31bbefc09930312726fe1014df1a6f373c /sys/net80211
parent6c5aaea9634aaf583cd7e62836a10c4a9403557a (diff)
downloadFreeBSD-src-653dac5a00be3e8361b31b7788da6fd981bf10a8.zip
FreeBSD-src-653dac5a00be3e8361b31b7788da6fd981bf10a8.tar.gz
Migrate the net80211 protocol specific use of M_FRAG, M_FIRSTFRAG and
M_LASTFRAG flags to protocol specific flags. Remove the now unused M_FRAG, M_FIRSTFRAG and M_LASTFRAG mbuf flags. Discussed with: trociny, glebius, adrian
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_freebsd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_freebsd.h b/sys/net80211/ieee80211_freebsd.h
index ec3cbca..0fb4dd0 100644
--- a/sys/net80211/ieee80211_freebsd.h
+++ b/sys/net80211/ieee80211_freebsd.h
@@ -234,9 +234,12 @@ struct mbuf *ieee80211_getmgtframe(uint8_t **frm, int headroom, int pktlen);
#define M_FF M_PROTO6 /* fast frame */
#define M_TXCB M_PROTO7 /* do tx complete callback */
#define M_AMPDU_MPDU M_PROTO8 /* ok for A-MPDU aggregation */
+#define M_FRAG M_PROTO9 /* frame fragmentation */
+#define M_FIRSTFRAG M_PROTO10 /* first frame fragment */
+#define M_LASTFRAG M_PROTO11 /* last frame fragment */
#define M_80211_TX \
- (M_FRAG|M_FIRSTFRAG|M_LASTFRAG|M_ENCAP|M_EAPOL|M_PWR_SAV|\
- M_MORE_DATA|M_FF|M_TXCB|M_AMPDU_MPDU)
+ (M_ENCAP|M_EAPOL|M_PWR_SAV|M_MORE_DATA|M_FF|M_TXCB| \
+ M_AMPDU_MPDU|M_FRAG|M_FIRSTFRAG|M_LASTFRAG)
/* rx path usage */
#define M_AMPDU M_PROTO1 /* A-MPDU subframe */
OpenPOWER on IntegriCloud