linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] mac80211: add rate to ieee80211_tx_status
@ 2008-02-03 20:15 Tomas Winkler
  2008-02-04  8:46 ` Johannes Berg
  0 siblings, 1 reply; 22+ messages in thread
From: Tomas Winkler @ 2008-02-03 20:15 UTC (permalink / raw)
  To: linville, johannes; +Cc: linux-wireless, Tomas Winkler

This patch adds rate to ieee80211_tx_status.
Downscaling in iwl4965 is done in FW. Rate scaling algorithm
needs to know at which rate the packet was actually transmitted
Patch 'cfg80211 API for channels/bitrates' removed the placeholder
for this information that was present in ieee80211_tx_control.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---

This fix or something similar is required for bringing iwlwifi back to life.
Please comments, suggestions 
Thanks

 include/net/mac80211.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 460da54..a700ea6 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -342,6 +342,7 @@ enum ieee80211_tx_status_flags {
  *
  * @control: a copy of the &struct ieee80211_tx_control passed to the driver
  *	in the tx() callback.
+ * @rate: rate at which the packet was actually transmitted
  * @flags: transmit status flags, defined above
  * @retry_count: number of retries
  * @excessive_retries: set to 1 if the frame was retried many times
@@ -356,6 +357,7 @@ enum ieee80211_tx_status_flags {
  */
 struct ieee80211_tx_status {
 	struct ieee80211_tx_control control;
+	struct ieee80211_rate rate;
 	u8 flags;
 	u8 retry_count;
 	bool excessive_retries;
-- 
1.5.2.2


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

end of thread, other threads:[~2008-02-06 14:13 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 20:15 [RFC] mac80211: add rate to ieee80211_tx_status Tomas Winkler
2008-02-04  8:46 ` Johannes Berg
2008-02-04  9:53   ` Tomas Winkler
     [not found]     ` <6231174111099834440@unknownmsgid>
2008-02-04 10:27       ` Tomas Winkler
     [not found]         ` <-6799378017406559341@unknownmsgid>
2008-02-04 11:05           ` Tomas Winkler
     [not found]             ` <-4694429725714512287@unknownmsgid>
2008-02-04 11:21               ` Tomas Winkler
     [not found]                 ` <-2417195033053015320@unknownmsgid>
2008-02-04 11:26                   ` Tomas Winkler
2008-02-04 11:30                     ` Tomas Winkler
     [not found]                       ` <5358276387473684738@unknownmsgid>
2008-02-04 11:57                         ` Tomas Winkler
     [not found]                           ` <5605009721259660313@unknownmsgid>
2008-02-04 13:35                             ` Tomas Winkler
     [not found]                           ` <49711.::ffff:91.5.56.63.1202126931.squirrel@secure.sipsolutions.net>
2008-02-04 13:53                             ` Felix Fietkau
     [not found]                               ` <-5971017268625562167@unknownmsgid>
2008-02-04 14:21                                 ` Tomas Winkler
     [not found]                                   ` <-7767648866191425885@unknownmsgid>
2008-02-04 15:13                                     ` Tomas Winkler
2008-02-04 15:24                                       ` Felix Fietkau
2008-02-04 18:36                                         ` Tomas Winkler
2008-02-04 18:39                                           ` Felix Fietkau
2008-02-04 19:03                                             ` Tomas Winkler
2008-02-04 19:05                                               ` Tomas Winkler
2008-02-05 21:23                                                 ` Stefano Brivio
2008-02-05 23:15                                                   ` Tomas Winkler
2008-02-06 14:13                                                     ` Johannes Berg
2008-02-04 19:07                                               ` Felix Fietkau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).