I've just got myself an IBM Thinkpad T40p and it has an Atheros 5211 wifi card
built in. Had no luck with the driver that came with SUSE 9 and thought I'd
give the CVS version a try.
Managed mode is working quite fine, however there's a small problem with
Ad-Hoc: while it's overall working quite well, it has a problem with the
automatic rate control: It switches to the highest bitrate after some time,
regardless of how poor the RF link is, and consequently the link breaks if
the signal is weak.
Had a look at the source and found that it's based on retry and error count
statistics, however, this will of course not work in Ad-Hoc mode. AFAIK,
retry is not available for Ad-Hoc mode and also errors cannot be detected,
because that's something the AP is supposed to do, right?
So I wonder what else could be done to make rate control work for Ad-Hoc mode?
Just give me some hints and I'll happily start hacking ;)
The obvious idea would be to guess a viable data rate from the S/N ratio. Is
this data available to the driver? At least I can see that iwconfig displays
link quality and Signal and Noise levels, however, are these readings at
least somewhat accurate?
Fachschaft Informatik FH Darmstadt
"all software sucks equally, but some software is more equal"