Re: Ath driver still buggy.

From: Sam Leffler <sam_at_errno.com>
Date: Thu, 21 Aug 2003 08:07:34 -0700
> Me and a couple of my friends work on small freebsd version for embedded
> systems. We all noticed that our wifi cards with atheros chip have
> problems with the ath driver. The system keeps on spitting out following
> messages before the link, that is already very slow dies:
>
> ath_rate_ctl: 54M -> 48M (0 ok, 3 err, 3 retr)
> ath_rate_ctl: 48M -> 36M (0 ok, 1 err, 1 retr)
> ath_rate_ctl: 36M -> 24M (0 ok, 1 err, 1 retr)
> ath_rate_ctl: 24M -> 36M (11 ok, 0 err, 0 retr)
> ath_rate_ctl: 36M -> 48M (23 ok, 0 err, 0 retr)
> ath_rate_ctl: 48M -> 36M (0 ok, 2 err, 2 retr)
> ath_rate_ctl: 36M -> 24M (3 ok, 7 err, 7 retr)
> ath_rate_ctl: 24M -> 18M (0 ok, 1 err, 1 retr)
>
> And ping requests end up with following message:
> ping: sendto: No buffer space available
>
> This was tested running 11a and 11g with PCMCIA and mini-PCI cards.
>
> hw.ath.hal.version: 0.9.5.2
> ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on
> cardbus1 FreeBSD 5.1-CURRENT #0: Wed Aug 20 16:59:24 CEST 2003
>
> Any solution for that Sam? I can remember you mentioned you have fix for
> that a couple of weeks ago and that you will submit it in a week time or
> so.

I have seen the problem but have been unable to resolve it.  Grab a copy of 
/usr/src/tools/tools/ath/athstats and use it to look at the statistics kept 
by the driver when this happens.  They may give a hint but unfortunately I 
think it's a problem with the anti-noise-immunity (ANI) code in the HAL and 
I have no time right now to dig into that.

	Sam
Received on Thu Aug 21 2003 - 06:07:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC