summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-01 15:13:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-01 15:13:30 +0000
commit98a4f492477d36ab2d4ddd6b0ff859060c74ff13 (patch)
treead5998bb78e0878ee024705a3d26a151a875dc56 /package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch
parentba66a4b9614b5c4e84cc266beb5fdfed0d1783a5 (diff)
mac80211: optimize mac address comparisons to improve performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch')
-rw-r--r--package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch b/package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch
index 778a1d0b4..a47db4e90 100644
--- a/package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch
+++ b/package/mac80211/patches/551-ath9k_per_chain_signal_strength.patch
@@ -23,7 +23,7 @@
int antenna;
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
-@@ -312,6 +312,11 @@ struct sta_info {
+@@ -313,6 +313,11 @@ struct sta_info {
unsigned long rx_dropped;
int last_signal;
struct ewma avg_signal;
@@ -67,7 +67,7 @@
* exchange sequence.
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
-@@ -255,6 +255,8 @@ struct sta_info *sta_info_alloc(struct i
+@@ -256,6 +256,8 @@ struct sta_info *sta_info_alloc(struct i
do_posix_clock_monotonic_gettime(&uptime);
sta->last_connected = uptime.tv_sec;
ewma_init(&sta->avg_signal, 1024, 8);