linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Schlemmer <keinstein_junior@gmx.net>
To: linux-wireless@vger.kernel.org
Subject: Re: rtl8187b Problem with tx level
Date: Mon, 31 Aug 2009 11:59:36 +0200	[thread overview]
Message-ID: <h7g6rd$dvb$1@ger.gmane.org> (raw)
In-Reply-To: <4A9B0479.209@lwfinger.net>

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

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.

Tobias

[-- Attachment #2: iwconfig1 --]
[-- Type: text/plain, Size: 1483 bytes --]

wlan0     802.11b/g linked  ESSID:"Malter"  
          Mode:Managed  Channel=8  Access Point: 00:17:3F:7E:AB:08   
          Bit Rate=48 Mb/s   
          Retry:on   Fragment thr:off
          Link Quality=72/100  Signal level=-45 dBm  Noise level=-102 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

filename:       /lib/modules/2.6.24-19-generic/kernel/drivers/nb/r8187.ko
description:    Linux driver for Realtek RTL8187 WiFi cards
author:         Andrea Merello <andreamrl@tiscali.it>
version:        V 1.1
license:        GPL
srcversion:     CE57E03B376EA9ED408E23E
alias:          usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore
vermagic:       2.6.24-19-generic SMP mod_unload 586 
parm:           ifname:charp
parm:           devname: Net interface name, wlan%d=default
parm:           channels: Channel bitmask for specific locales. NYI (int)

filename:       /lib/modules/2.6.24-19-generic/kernel/drivers/nb/r8187msh.ko
description:    Linux extension module for Realtek RTL8187 WiFi cards
author:         Stanley Chang <changsl@cs.nctu.edu.tw>
version:        V 11sD1.0
license:        Proprietary
srcversion:     4F5B438A81B73DDF03155C5
depends:        
vermagic:       2.6.24-19-generic SMP mod_unload 586 

[-- Attachment #3: iwconfig2 --]
[-- Type: text/plain, Size: 2123 bytes --]

wlan0     IEEE 802.11bg  ESSID:"Malter"  
          Mode:Managed  Frequency:2.447 GHz  Access Point: 00:17:3F:7E:AB:08   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=69/70  Signal level=-41 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

filename:       /lib/modules/2.6.28-15-generic/updates/drivers/net/wireless/rtl818x/rtl8187.ko
license:        GPL
description:    RTL8187/RTL8187B USB wireless driver
author:         Larry Finger <Larry.Finger@lwfinger.net>
author:         Hin-Tak Leung <htl10@users.sourceforge.net>
author:         Herton Ronaldo Krzesinski <herton@mandriva.com.br>
author:         Andrea Merello <andreamrl@tiscali.it>
author:         Michael Wu <flamingice@sourmilk.net>
srcversion:     ACC7FDA7EFE2500D0DC1B50
alias:          usb:v1737p0073d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1B75p8187d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v18E8p6232d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v13D1pABE6d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v1371p9401d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v114Bp0150d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p0028d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0DF6p000Dd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v03F0pCA02d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p4260d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p6A00d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p6100d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0789p010Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0769p11F2d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8198d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v050Dp705Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0B05p171Dd*dc*dsc*dp*ic*isc*ip*
depends:        mac80211,eeprom_93cx6,cfg80211
vermagic:       2.6.28-15-generic SMP mod_unload modversions 586 

  reply	other threads:[~2009-08-31  9:58 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 [this message]
2009-08-31 15:49     ` Larry Finger
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='h7g6rd$dvb$1@ger.gmane.org' \
    --to=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).