All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 1/2] mac80211: add private driver flags and ampdu length to tx info
@ 2009-11-14  0:48 Felix Fietkau
  2009-11-14  0:51 ` [RFC 2/2] ath9k: get rid of tx_info_priv Felix Fietkau
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Felix Fietkau @ 2009-11-14  0:48 UTC (permalink / raw)
  To: linux-wireless; +Cc: Luis R. Rodriguez, Johannes Berg

Some drivers may want to store a few flags of their own in the tx 
info. Also it is useful for 11n rate control to know the total number
of aggregated frames in an AMPDU, not just the ones that were acked.
Use two previously unused padding bytes to store those two values

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---

--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -386,6 +386,7 @@ struct ieee80211_tx_rate {
  * @flags: transmit info flags, defined above
  * @band: the band to transmit on (use for checking for races)
  * @antenna_sel_tx: antenna to use, 0 for automatic diversity
+ * @driver_flags: flags for internal driver use
  * @pad: padding, ignore
  * @control: union for control data
  * @status: union for status data
@@ -404,7 +405,8 @@ struct ieee80211_tx_info {
 	u8 antenna_sel_tx;
 
 	/* 2 byte hole */
-	u8 pad[2];
+	u8 driver_flags;
+	u8 ampdu_len;
 
 	union {
 		struct {


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-14 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14  0:48 [RFC 1/2] mac80211: add private driver flags and ampdu length to tx info Felix Fietkau
2009-11-14  0:51 ` [RFC 2/2] ath9k: get rid of tx_info_priv Felix Fietkau
2009-11-14  2:06   ` Luis R. Rodriguez
2009-11-14  2:08     ` Luis R. Rodriguez
2009-11-14  9:31 ` [RFC 1/2] mac80211: add private driver flags and ampdu length to tx info Johannes Berg
2009-11-14 10:40 ` Ivo Van Doorn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.