summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-16 02:30:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-16 02:30:30 +0000
commitcbe6c66638efddd36b0bb71f46dd5f5689a3e045 (patch)
tree7fc287bd3cfab8f40a0baaf8e6d80aa0a530401d /package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch
parentfdb67f01dfbe2d6c79f7433f55baef1786d74d0c (diff)
mac80211: update to wireless-testing 2010-10-15, add a few ath9k fixes and performance enhancements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23470 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch')
-rw-r--r--package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch b/package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch
new file mode 100644
index 000000000..6fc4bc721
--- /dev/null
+++ b/package/mac80211/patches/555-ath9k_hw_gettsf32_static.patch
@@ -0,0 +1,25 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -2324,11 +2324,10 @@ static u32 rightmost_index(struct ath_ge
+ return timer_table->gen_timer_index[b];
+ }
+
+-u32 ath9k_hw_gettsf32(struct ath_hw *ah)
++static u32 ath9k_hw_gettsf32(struct ath_hw *ah)
+ {
+ return REG_READ(ah, AR_TSF_L32);
+ }
+-EXPORT_SYMBOL(ath9k_hw_gettsf32);
+
+ struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah,
+ void (*trigger)(void *),
+--- a/drivers/net/wireless/ath/ath9k/hw.h
++++ b/drivers/net/wireless/ath/ath9k/hw.h
+@@ -892,7 +892,6 @@ void ath9k_hw_gen_timer_stop(struct ath_
+
+ void ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer);
+ void ath_gen_timer_isr(struct ath_hw *hw);
+-u32 ath9k_hw_gettsf32(struct ath_hw *ah);
+
+ void ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len);
+