aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/520-driver_flags.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-14 02:35:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-14 02:35:04 +0000
commit77c792c58f76b5d75e738256db2b115dfae3fe40 (patch)
treebfc8eb55dc18acee7d50845d9872baa8be2d3061 /package/mac80211/patches/520-driver_flags.patch
parent7f9778ab3ce95e81bdb8855edbda05a6c2c796e3 (diff)
downloadupstream-77c792c58f76b5d75e738256db2b115dfae3fe40.tar.gz
upstream-77c792c58f76b5d75e738256db2b115dfae3fe40.tar.bz2
upstream-77c792c58f76b5d75e738256db2b115dfae3fe40.zip
mac80211: update to 2009-11-13 and add some of my new performance improvement patches. fixes excessive cpu usage of hostapd in ap mode, should also fix the ath9k memleak
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18415 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/520-driver_flags.patch')
-rw-r--r--package/mac80211/patches/520-driver_flags.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mac80211/patches/520-driver_flags.patch b/package/mac80211/patches/520-driver_flags.patch
new file mode 100644
index 0000000000..2dc2092b1a
--- /dev/null
+++ b/package/mac80211/patches/520-driver_flags.patch
@@ -0,0 +1,27 @@
+--- a/include/net/mac80211.h
++++ b/include/net/mac80211.h
+@@ -386,11 +386,12 @@ 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
+ * @driver_data: array of driver_data pointers
+- * @ampdu_ack_len: number of aggregated frames.
++ * @ampdu_ack_len: number of acked aggregated frames.
+ * 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 {
+
+ u8 antenna_sel_tx;
+
+- /* 2 byte hole */
+- u8 pad[2];
++ u8 driver_flags;
++ u8 ampdu_len;
+
+ union {
+ struct {