From: Larry Finger <Larry.Finger@lwfinger.net>
To: Tobias Schlemmer <keinstein_junior@gmx.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: rtl8187b Problem with tx level
Date: Mon, 31 Aug 2009 10:49:49 -0500 [thread overview]
Message-ID: <4A9BF11D.1060205@lwfinger.net> (raw)
In-Reply-To: <h7g6rd$dvb$1@ger.gmane.org>
Tobias Schlemmer wrote:
> Hi,
>
> thank you for your quick answer.
>
> Larry Finger schrieb:
>> Tobias Schlemmer wrote:
>>> Interestingly iwconfig always reports TX power of 20dBm, regardless of
>>> the actual tx power, but always a TX rate of 1M. Setting the latter to a
>>> higher value results in packet loss.
>>
>> Where are you located? Your log says you are using the EU regulatory
>> domain; however, that is no longer valid. You should add a line like
>>
>> options cfg80211 ieee80211_regdom=XX
>>
>> to /etc/modprobe.conf.local. From your name, I would guess the XX
>> should be DE.
>
> I guess, too. For some reason it is not corrected in some tutorials.
>
>> It is likely that the 20 dBm is set by mac80211 as the maximum allowed
>> by your local regulations. That value is in fact correct for most
>> locations in the EU.
>
> As far as I know, Germany has a maximum of 100mW, which should be 20dBm,
> if I'm right. This means the driver reports full power though the device
> actually seems to send with much less power. The power gets lost
> somewhere between this display and the antenna. Since there exists a
> working driver, I can hardly expect it on the hardware side.
>
> I've attached the output of iwconfig for the two drivers. The
> proprietary works, the compat-wireless one even failed to authenticate
> (auth timeout) today. I don't know which tx power the proprietary driver
> uses. If you can tell me how to find out, I'll try that.
>
> Some additional information: The automatic rate setting seems to work
> somehow. Last night it grow to 11M for a short time (reporting signal
> stregth of -3dBm).
>
> Maybe, the tx power gets only reduced, but never increased. That's what
> the AP sees.
>
>> My rtl8187b runs at a full 54 Mbs and operates at at least 15 m from
>> my AP. I don't run AP firmware that lets me see the signal strength
>> from the STA.
>
> That dosn't surprise me. The archives don't talk about similar problems.
While you are still available, please provide the dmesg output for the
r8187 (vendor) driver beginning at the point that the USB device is
recognized. With rtl8187, it looks like:
[ 346.940054] usb 1-1: new high speed USB device using ehci_hcd and
address 4
[ 347.086851] usb 1-1: configuration #1 chosen from 1 choice
[ 347.418280] cfg80211: Calling CRDA for country: EU
[ 348.348579] phy0: Selected rate control algorithm 'minstrel'
[ 348.349108] phy0: hwaddr e3c7a080, RTL8187BvE V0 + rtl8225z2
[ 348.349131] usbcore: registered new interface driver rtl8187
There may be additional info following this.
In looking at my copy of the r8187 driver code, I see some branches
that may not be in our driver, but I need to see what ID info their
driver sees.
Have a good vacation.
Larry
next prev parent reply other threads:[~2009-08-31 15:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-30 20:44 rtl8187b Problem with tx level Tobias Schlemmer
2009-08-30 23:00 ` Larry Finger
2009-08-31 9:59 ` Tobias Schlemmer
2009-08-31 15:49 ` Larry Finger [this message]
2009-08-31 16:51 ` Tobias Schlemmer
2009-08-31 17:55 ` Hin-Tak Leung
2009-08-31 18:02 ` Luis R. Rodriguez
2009-08-31 18:32 ` Hin-Tak Leung
2009-08-31 18:41 ` Luis R. Rodriguez
2009-08-31 18:57 ` Hin-Tak Leung
2009-08-31 21:10 ` Larry Finger
2009-08-31 21:18 ` Gábor Stefanik
2009-08-31 21:38 ` Larry Finger
2009-08-31 23:16 ` Hin-Tak Leung
2009-09-01 13:13 ` John W. Linville
2009-09-01 16:37 ` Larry Finger
2009-09-02 10:28 ` Hin-Tak Leung
2009-08-31 23:37 ` Luis R. Rodriguez
2009-08-31 23:46 ` Gábor Stefanik
2009-08-31 23:56 ` Luis R. Rodriguez
2009-09-01 0:21 ` Greg KH
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=4A9BF11D.1060205@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=keinstein_junior@gmx.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).