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@xxxxxxxxx> --- 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 - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html