From: Edgar Toernig <froese@gmx.de>
To: Michael Wu <flamingice@sourmilk.net>
Cc: linux-wireless@vger.kernel.org, Andrea Merello <andreamrl@tiscali.it>
Subject: Re: [rtl8185] driver working but some probs
Date: Sun, 18 Nov 2007 20:00:58 +0100 [thread overview]
Message-ID: <20071118200058.61e698cb.froese@gmx.de> (raw)
In-Reply-To: <200711172257.15418.flamingice@sourmilk.net>
Michael Wu wrote:
>
> > and the symbols from rtl8180_rtl8225.c clash
> > with those from rtl8187_rtl8225.c. One has to choose
> > either the rtl8187 driver or the rtl8180 driver.
> >
> Are you compiling as modules or into the kernel? I have no
> problems building both as modules.
Directly into the kernel. I.e.: rtl8225_rf_set_channel
is defined in both files and produce link errors.
> > First thing I noticed: the reported "Link Signal Level"
> > from iwconfig was way off. It showed values around
> > -170 dBm when it was sitting directly beside the AP.
> > It was easy to fix:
> >
> > - rx_status.ssi = (flags2 >> 8) & 0x7F;
> > + rx_status.ssi = (flags2 >> 8) & 0xFF;
> >
> > According to the 8180 datasheet, this field is 8 bit.
> >
> Ugh. The diagram (in the 8185 datasheet) shows that the rssi field is 7 bits
> long while the table after it says 8 bits, and the two figures disagree on a
> few other fields too. I'll fix that up..
I only have the 8180 datasheet and there's no antenna flag.
At the moment the driver takes the MSB of the RSSI as the
antenna flag. It seems, something has changed from 8180
to 8185.
> > First, bit rate almost immediately drops to 1 Mb/s
> > even if the card sits right beside the AP. Only
> > if I force both, card and AP, to a fixed bitrate do
> > I get reasonable performance (up to about 22 Mb/s,
> > giving ~1MByte/s payload rate - it seems the laptop
> > isn't faster; even on wired 100Mb/s ethernet I get
> > max 2 MByte/s throughput.).
> >
> The rate control algorithm starts at 1 mbit and goes up with successful TXes.
> Try ping flooding (-f) your AP or doing a large file transfer and see if that
> gives the rate control enough information to push the speed up. It generally
> makes things settle around 18/24 mbit. (yes, mac80211 rate control needs to
> be improved)
Does not work. Once it's at 1 Mbps it won't go up again
(without force *g*).
> > Then, suspend doesn't work. The driver seems to
> > work but it won't see its AP any more. It *can*
> > see other APs, but not the one he is associated
> > with. rmmod/insmod is necessary.
> >
> Reassociation won't work?
Exactly. Nothing except rmmod/insmod works. Neither
ifdown/ifup nor manual reassoc via wpa_cli is enough.
As I said, after suspend an "iwlist scan" won't see
the AP any more and wpa_cli neither.
> > [AP with hidden SSID doesn't work]
> >
> This problem is related to mac80211 and wpa_supplicant. There have been some
> patches posted to address these.. I think wireless-2.6 has them. Try
> wireless-2.6 out.
I'll give it a try.
Thanks, ET.
prev parent reply other threads:[~2007-11-18 19:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 22:20 [rtl8185] driver working but some probs Edgar Toernig
2007-11-18 3:57 ` Michael Wu
2007-11-18 16:10 ` Andrea Merello
2007-11-18 19:20 ` Edgar Toernig
2007-11-18 19:00 ` Edgar Toernig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071118200058.61e698cb.froese@gmx.de \
--to=froese@gmx.de \
--cc=andreamrl@tiscali.it \
--cc=flamingice@sourmilk.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).