rpms/kernel/F-10 linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch, NONE, 1.1 kernel.spec, 1.1340, 1.1341
John W. Linville
linville at fedoraproject.org
Wed Apr 22 14:45:40 UTC 2009
- Previous message (by thread): rpms/k3b/devel .cvsignore, 1.20, 1.21 k3b.spec, 1.68, 1.69 sources, 1.21, 1.22 k3b-1.0.3-umount.patch, 1.2, NONE k3b-1.0.4-kde#151816.patch, 1.1, NONE k3b-1.0.4-manualbufsize.patch, 1.1, NONE k3b-1.0.5-hidden.patch, 1.3, NONE k3b-1.0.5-kde#156684.patch, 1.1, NONE k3brc, 1.2, NONE
- Next message (by thread): rpms/kernel/F-11 linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch, NONE, 1.1 kernel.spec, 1.1567, 1.1568
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: linville
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28520
Modified Files:
kernel.spec
Added Files:
linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch
Log Message:
back-port mac80211: fix beacon loss detection after scan
linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch:
--- NEW FILE linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch ---
Back-port of the following upstream commit...
commit ad935687dbe7307f5abd9e3f610a965a287324a9
Author: Kalle Valo <kalle.valo at iki.fi>
Date: Sun Apr 19 08:47:19 2009 +0300
mac80211: fix beacon loss detection after scan
Currently beacon loss detection triggers after a scan. A probe request
is sent and a message like this is printed to the log:
wlan0: beacon loss from AP 00:12:17:e7:98:de - sending probe request
But in fact there is no beacon loss, the beacons are just not received
because of the ongoing scan. Fix it by updating last_beacon after
the scan has finished.
Reported-by: Jaswinder Singh Rajput <jaswinder at kernel.org>
Signed-off-by: Kalle Valo <kalle.valo at iki.fi>
Acked-by: Johannes Berg <johannes at sipsolutions.net>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
diff -up linux-2.6.29.noarch/net/mac80211/mlme.c.orig linux-2.6.29.noarch/net/mac80211/mlme.c
--- linux-2.6.29.noarch/net/mac80211/mlme.c.orig 2009-04-22 10:28:59.000000000 -0400
+++ linux-2.6.29.noarch/net/mac80211/mlme.c 2009-04-22 10:36:24.000000000 -0400
@@ -2364,9 +2364,30 @@ static void ieee80211_sta_work(struct wo
static void ieee80211_restart_sta_timer(struct ieee80211_sub_if_data *sdata)
{
- if (sdata->vif.type == NL80211_IFTYPE_STATION)
+ struct ieee80211_local *local = sdata->local;
+ struct sta_info *sta;
+
+ rcu_read_lock();
+
+ sta = sta_info_get(local, sdata->u.sta.bssid);
+ if (!sta) {
+ rcu_read_unlock();
+ return;
+ }
+
+ if (sdata->vif.type == NL80211_IFTYPE_STATION) {
+ /*
+ * Need to update last_rx to avoid beacon loss
+ * test to trigger.
+ */
+ sta->last_rx = jiffies;
+
+
queue_work(sdata->local->hw.workqueue,
&sdata->u.sta.work);
+ }
+
+ rcu_read_unlock();
}
/* interface setup */
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1340
retrieving revision 1.1341
diff -u -r1.1340 -r1.1341
--- kernel.spec 22 Apr 2009 14:16:30 -0000 1.1340
+++ kernel.spec 22 Apr 2009 14:45:39 -0000 1.1341
@@ -649,6 +649,7 @@
Patch682: linux-2.6-ipw2x00-age-scan-results-on-resume.patch
Patch683: linux-2.6-iwl3945-report-killswitch-changes-even-if-the-interface-is-down.patch
Patch684: linux-2.6-iwlagn-fix-hw-rfkill-while-the-interface-is-down.patch
+Patch685: linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch
Patch1515: linux-2.6.29-lirc.patch
Patch1520: linux-2.6-hdpvr.patch
@@ -1279,6 +1280,9 @@
ApplyPatch linux-2.6-iwl3945-report-killswitch-changes-even-if-the-interface-is-down.patch
ApplyPatch linux-2.6-iwlagn-fix-hw-rfkill-while-the-interface-is-down.patch
+# back-port mac80211: fix beacon loss detection after scan
+ApplyPatch linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch
+
# http://www.lirc.org/
ApplyPatch linux-2.6.29-lirc.patch
# http://hg.jannau.net/hdpvr/
@@ -1907,6 +1911,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Wed Apr 22 2009 John W. Linville <linville at redhat.com> 2.6.29.1-41
+- back-port mac80211: fix beacon loss detection after scan
+
* Tue Apr 22 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29.1-40
- Add 2.6.29.2 patch queue (as git-linus.diff)
- Drop queued patches:
- Previous message (by thread): rpms/k3b/devel .cvsignore, 1.20, 1.21 k3b.spec, 1.68, 1.69 sources, 1.21, 1.22 k3b-1.0.3-umount.patch, 1.2, NONE k3b-1.0.4-kde#151816.patch, 1.1, NONE k3b-1.0.4-manualbufsize.patch, 1.1, NONE k3b-1.0.5-hidden.patch, 1.3, NONE k3b-1.0.5-kde#156684.patch, 1.1, NONE k3brc, 1.2, NONE
- Next message (by thread): rpms/kernel/F-11 linux-2.6-mac80211-fix-beacon-loss-detection-after-scan.patch, NONE, 1.1 kernel.spec, 1.1567, 1.1568
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list