[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a32f33a40802261230o1743773dle38684609d702959@mail.gmail.com>
Date: Tue, 26 Feb 2008 21:30:38 +0100
From: "Ivo Van Doorn" <ivdoorn@...il.com>
To: "John W. Linville" <linville@...driver.com>
Cc: "Chris Clayton" <chris2553@...glemail.com>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
stefano.brivio@...imi.it, johannes@...solutions.net
Subject: Re: 2.6.25-rc2 regression in rt61pci wireless driver
> > Sorry, but that's not the case. I find the same results as without the
> > patches. With the parameter set to 'pid', the network connection fails very
> > quickly, but with it set to 'simple' I can ping and ftp files to and from my
> > laptop as much as I like and the connection stays up. In fact, if anything
> > the patches seem to have made the network even more fragile, in that it fails
> > almost instantly once I start some network activity ( < 10 pings).
> >
> > I'm sure this is not the hardware - it works perfectly with Windows XP, with
> > 2.6.23.14 plus the out-of-tree rt61 driver from serialmonkey, with the
> > in-tree driver from 2.6.24.x and with 2.6.25-rc3 with the mac82011's
> > ieee80211_default_rc_algo parameter set to 'simple'.
>
> At last! Vindication for insisting that we keep 'simple' around!
> Bwahahaha! :-)
>
> So, am I to understand that 'pid' works find for you with rtl8180?
> If so, then I wonder if Stefano and Ivo can help us figure-out
> what kind of problem is sensitive to both driver _and_ rate control
> algorithm?
rt2x00 is known to be less sensitive then the legacy drivers, scanning
produces less and more inconsistent results (Not all AP's are reported,
even when that AP has a high rssi), and the reported RSSI is often
much lower then expected with the distance to the AP.
I have compared many register dumps, but have never managed to
find a real register setting that might cause this. So what might be
the problem is that rt2x00 is not reporting the RSSI correctly to mac80211.
With the big difference between how mac80211 handles TX rates and
how the legacy drivers handle them, it is hard to make a comparison
where exactly things are going wrong. But in the end, I think it all
comes down to rt2x00 reporting invalid RSSI values to mac80211,
and/or the rate control mechanism being too dependent on some
statistics which are not provided by the driver.
I have to admit that I haven't looked into the 'pid' algorithm closely,
but could it be that some fields in the tx status report upon txdone
are being treated as "very important" while the driver doesn't report it
(For example ack signal strength)?
Other then that I have to say that rt2x00 never has reached a particular
state where link quality issues can be traced back to mac80211 or
the rate control mechanism. It usually was caused by a bug in the driver
itself. (rt2x00 cannot be considered stable yet for a very good reason. ;) )
Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists