* Automatic reassociate with AP
@ 2009-05-15 11:10 Jan Engelhardt
2009-05-15 13:33 ` John W. Linville
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2009-05-15 11:10 UTC (permalink / raw)
To: linux-wireless
Hi,
when the AP flakes out, or I just appen to be out of range, the kernel
drops the AP association, as dmesg shows:
wlan0: No ProbeResp from current AP 00:0b:0e:4f:cf:80 - assume out of
range
Manually rerunning `iwconfig wlan0 essid FooNet channel 11`
reassociates, but I wonder whether the kernel could not do that itself,
given that it knows the previous settings like ESSID.
System is a 'Linux OpenWrt [8.09] 2.6.25.17 #3 Wed Feb 18 04:48:29 CST
2009 mips unknown', with b43.
Jan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automatic reassociate with AP
2009-05-15 11:10 Automatic reassociate with AP Jan Engelhardt
@ 2009-05-15 13:33 ` John W. Linville
2009-05-15 17:02 ` Dan Williams
0 siblings, 1 reply; 3+ messages in thread
From: John W. Linville @ 2009-05-15 13:33 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: linux-wireless
On Fri, May 15, 2009 at 01:10:28PM +0200, Jan Engelhardt wrote:
> when the AP flakes out, or I just appen to be out of range, the kernel
> drops the AP association, as dmesg shows:
>
> wlan0: No ProbeResp from current AP 00:0b:0e:4f:cf:80 - assume out of
> range
>
> Manually rerunning `iwconfig wlan0 essid FooNet channel 11`
> reassociates, but I wonder whether the kernel could not do that itself,
> given that it knows the previous settings like ESSID.
Patches welcome... :-)
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automatic reassociate with AP
2009-05-15 13:33 ` John W. Linville
@ 2009-05-15 17:02 ` Dan Williams
0 siblings, 0 replies; 3+ messages in thread
From: Dan Williams @ 2009-05-15 17:02 UTC (permalink / raw)
To: John W. Linville; +Cc: Jan Engelhardt, linux-wireless
On Fri, 2009-05-15 at 09:33 -0400, John W. Linville wrote:
> On Fri, May 15, 2009 at 01:10:28PM +0200, Jan Engelhardt wrote:
>
> > when the AP flakes out, or I just appen to be out of range, the kernel
> > drops the AP association, as dmesg shows:
> >
> > wlan0: No ProbeResp from current AP 00:0b:0e:4f:cf:80 - assume out of
> > range
> >
> > Manually rerunning `iwconfig wlan0 essid FooNet channel 11`
> > reassociates, but I wonder whether the kernel could not do that itself,
> > given that it knows the previous settings like ESSID.
>
> Patches welcome... :-)
This does cause problems in some cases, at least for WEXT. iwl does
attempt to continually reassociate, and that results in some cases where
streams of disassoc events overwhelm userspace. The supplicant should
obviously get fixed here, but before doing something like this, we
should make sure that all the nl80211 calls are implemented to tell the
driver "Stop whatever you're doing and idle yourself". I've talked
about this with Johannes before so he may have already stuffed that into
nl80211 somewhere.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-15 17:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 11:10 Automatic reassociate with AP Jan Engelhardt
2009-05-15 13:33 ` John W. Linville
2009-05-15 17:02 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).