Re: ath9k becon loss messages

From: Michael Buesch
Date: Mon Apr 06 2009 - 06:18:35 EST


On Monday 06 April 2009 09:14:31 Helmut Schaa wrote:
> Am Sonntag, 5. April 2009 schrieb Kalle Valo:
> > Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> writes:
> >
> > >> And besides that, I think one can easily remotely trigger this
> > >> message and flood the logs. So it should probably _also_ be
> > >> ratelimited.
> > >
> > > normally it prints after 120 seconds:
> > >
> > > [ 1078.848434] wlan0: beacon loss from AP 00:11:95:9e:df:f6 - sending probe request
> > > [ 1198.822913] wlan0: beacon loss from AP 00:11:95:9e:df:f6 - sending probe request
> > > [ 1318.824931] wlan0: beacon loss from AP 00:11:95:9e:df:f6 - sending probe request
>
> > Then there is something happening in ath9k or your AP which prevents
> > ath9k from receiving beacons. Try pinging your AP with 100 ms
> > interval. Do you see anything happening in 120 s intervals?
>
> NetworkManager typically scans every 120 seconds and I can also trigger
> the messages by a manual scan with iwlist. I did not dig any further but
> the messages seem to appear right at the end of the scan. Tried with iwlagn
> and both sw_scan and hw_scan.

Yeah OK. While scanning it's expected to lose some frames.

However, the driver should probably protect against this by using the scan notification
callbacks. It could disable beacon-loss reporting while scanning.

--
Greetings, Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/