Fix frequent reconnects caused by new conection monitor
Get series with b4
b4 am 1249056817.20593.1.camel@maxim-laptopVersions newest first
- v1 Latest2 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Retry probe request few timesnet/ net/ | +31 | 9 replies | |
| 2/2 | Increase timeouts for station pollingnet/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Berg | Marcel Holtmann |
|---|---|---|
| Series | T-b | |
| 1/2 | A-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 000/002] Fix frequent reconnects caused by new conection monitor
Hi, here is the updated version of these two patches that fix the $SUBJECT issue.
I attach these (in case mailer mangles them), and reply with patches.
Tested both with low quality signal, and beacon loss. Lack of TX is found, every 30 seconds now, and quite reliable. Lack of beacons, triggers probe like it did every 2 seconds.
Best regards,
Maxim Levitsky
Quoted 1 line
From
0bf5749f2878f9245b8fb1b64456386374205225Mon Sep 17 00:00:00 2001
From: Maxim Levitsky <[email protected]>
Date: Fri, 31 Jul 2009 18:54:12 +0300
Subject: [PATCH] [MAC80211] Retry probe request few times
Retry 5 times (chosen arbitary ), before assuming that station is out of range.
Fixes frequent disassociations while connected to weak, and sometimes even strong access points.
--- net/mac80211/ieee80211_i.h | 1 + net/mac80211/mlme.c | 42 ++++++++++++++++++++++++++++++------------ 2 files changed, 31 insertions(+), 12 deletions(-)
net/mac80211/ieee80211_i.h +1 -0
@@ -280,6 +280,7 @@ struct ieee80211_if_managed {struct work_struct beacon_loss_work;unsigned long probe_timeout; +int probe_send_count;struct mutex mtx;struct ieee80211_bss *associated;
net/mac80211/mlme.c +30 -12
82 lines not on this page · raw message
Signature · 1 line
1.6.0.4
Quoted 1 line
From
04976d22d45f26aa4b4dece5dd520e3347ac32d7Mon Sep 17 00:00:00 2001
From: Maxim Levitsky <[email protected]>
Date: Fri, 31 Jul 2009 18:54:23 +0300
Subject: [PATCH] [MAC80211] Increase timeouts for station polling
Do a probe request every 30 seconds, and wait for probe response, half a second This should lower the traffic that card sends, thus save power Wainting longer for response makes probe more robust against 'slow' access points
--- net/mac80211/mlme.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
net/mac80211/mlme.c +2 -2
@@ -42,13 +42,13 @@* Time the connection can be idle before we probe * it to see if we can still talk to the AP. */ -#define IEEE80211_CONNECTION_IDLE_TIME (2 * HZ) +#define IEEE80211_CONNECTION_IDLE_TIME (30 * HZ)/* * Time we wait for a probe response after sending * a probe request because of beacon loss or for * checking the connection still works. */ -#define IEEE80211_PROBE_WAIT (HZ / 5) +#define IEEE80211_PROBE_WAIT (HZ / 2)#define TMR_RUNNING_TIMER 0#define TMR_RUNNING_CHANSW 1
Signature · 1 line
1.6.0.4