Thread (1 message) 1 message, 1 author, 2007-08-13

Re: [PATCH 2/4] Net: mac80211, remove bitfields from struct ieee80211_txrx_data

From: Johannes Berg <hidden>
Date: 2007-08-13 12:44:38
Also in: linux-wireless

On Sun, 2007-08-12 at 15:08 +0200, Jiri Slaby wrote:
-	unsigned int fragmented:1; /* whether the MSDU was fragmented */
+	/* whether the MSDU was fragmented */
+#define IEEE80211_TXRXD_FRAGMENTED		BIT(0)
+#define IEEE80211_TXRXD_TXUNICAST		BIT(1)
+#define IEEE80211_TXRXD_TXPS_BUFFERED		BIT(2)
+#define IEEE80211_TXRXD_TXPROBE_LAST_FRAG	BIT(3)
+#define IEEE80211_TXRXD_RXIN_SCAN		BIT(4)
I know this isn't the style currently used, but could you put these
definitions before the struct declaration? That way, kerneldoc doesn't
totally screw up.

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help