From bd8e2a1324585c7fa524bca75b466b11209a7b5e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Nov 2009 21:21:47 +0000 Subject: mac80211: sync with changes to patches submitted upstream git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18427 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/520-driver_flags.patch | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'package/mac80211/patches/520-driver_flags.patch') diff --git a/package/mac80211/patches/520-driver_flags.patch b/package/mac80211/patches/520-driver_flags.patch index 2dc2092b1a..d27c502ec2 100644 --- a/package/mac80211/patches/520-driver_flags.patch +++ b/package/mac80211/patches/520-driver_flags.patch @@ -1,6 +1,6 @@ --- a/include/net/mac80211.h +++ b/include/net/mac80211.h -@@ -386,11 +386,12 @@ struct ieee80211_tx_rate { +@@ -386,14 +386,17 @@ 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 @@ -10,18 +10,34 @@ * @status: union for status data * @driver_data: array of driver_data pointers - * @ampdu_ack_len: number of aggregated frames. +- * relevant only if IEEE80211_TX_STATUS_AMPDU was set. + * @ampdu_ack_len: number of acked aggregated frames. - * relevant only if IEEE80211_TX_STATUS_AMPDU was set. ++ * relevant only if ieee80211_tx_status_ampdu was set. * @ampdu_ack_map: block ack bit map for the aggregation. * relevant only if IEEE80211_TX_STATUS_AMPDU was set. -@@ -403,8 +404,8 @@ struct ieee80211_tx_info { ++ * @ampdu_len: number of aggregated frames. ++ * relevant only if ieee80211_tx_status_ampdu was set. + * @ack_signal: signal strength of the ACK frame + */ + struct ieee80211_tx_info { +@@ -403,8 +406,8 @@ struct ieee80211_tx_info { u8 antenna_sel_tx; - /* 2 byte hole */ - u8 pad[2]; + u8 driver_flags; -+ u8 ampdu_len; ++ u8 pad; union { struct { +@@ -428,7 +431,8 @@ struct ieee80211_tx_info { + u8 ampdu_ack_len; + u64 ampdu_ack_map; + int ack_signal; +- /* 8 bytes free */ ++ u8 ampdu_len; ++ /* 7 bytes free */ + } status; + struct { + struct ieee80211_tx_rate driver_rates[ -- cgit v1.2.3