svn commit: r185190 - stable/7/sys/net80211

Sam Leffler sam at FreeBSD.org
Sat Nov 22 15:48:34 PST 2008


Author: sam
Date: Sat Nov 22 23:48:33 2008
New Revision: 185190
URL: http://svn.freebsd.org/changeset/base/185190

Log:
  change private mbuf flags to use M_PROTO* so they don't conflict with public
  definitions; note this constitutes an ABI change so drivers that use M_TXCB
  or M_FF must be recompiled
  
  Approved by:	re (kib)

Modified:
  stable/7/sys/net80211/ieee80211_freebsd.h

Modified: stable/7/sys/net80211/ieee80211_freebsd.h
==============================================================================
--- stable/7/sys/net80211/ieee80211_freebsd.h	Sat Nov 22 22:15:34 2008	(r185189)
+++ stable/7/sys/net80211/ieee80211_freebsd.h	Sat Nov 22 23:48:33 2008	(r185190)
@@ -197,9 +197,10 @@ struct mbuf *ieee80211_getmgtframe(uint8
 #define	M_LINK0		M_PROTO1		/* WEP requested */
 #define	M_PWR_SAV	M_PROTO4		/* bypass PS handling */
 #define	M_MORE_DATA	M_PROTO5		/* more data frames to follow */
-#define	M_FF		0x20000			/* fast frame */
-#define	M_TXCB		0x40000			/* do tx complete callback */
-#define	M_80211_TX	(0x60000|M_PROTO1|M_WME_AC_MASK|M_PROTO4|M_PROTO5)
+#define	M_FF		M_PROTO6		/* fast frame */
+#define	M_TXCB		M_PROTO7		/* do tx complete callback */
+#define	M_80211_TX \
+	(M_LINK0|M_WME_AC_MASK|M_PWR_SAV|M_MORE_DATA|M_FF|M_TXCB)
 
 /* rx path usage */
 #define	M_AMPDU		M_PROTO1		/* A-MPDU processing done */


More information about the svn-src-all mailing list