public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: Michael Wu <flamingice@sourmilk.net>
Cc: linux-kernel@vger.kernel.org,
	"Luis R. Rodriguez" <mcgrof@winlab.rutgers.edu>
Subject: rtl8187 rate control doesn't work
Date: Sat, 05 Jan 2008 15:47:44 +0100	[thread overview]
Message-ID: <477F9890.5050107@hauke-m.de> (raw)

Hi

Now the compat-wireless-2.6 package is working and I get an Internet
connection with my rtl8187 based card. (It's on an ASUS P5B Deluxe)

I used the compat-wireless-2.6 package for this log, but I have the same
problem with the version integrated in kernel 2.6.24-rc6

The Access Point is some rooms away so the signal is not the best at my
location. When starting the device with no fixed rate it wants to
connect with 54MBit/s and as iwconfig says it was successful but I can't
ping any device in the wireless LAN. (it's the first part of the log)
The rate will not be slowed down it stays fixed at 54MBit/s.

After starting the device with rate fixed to 11M I get a connection to
the Access Point and iwconfig's output looks the same as without fixed
rate, but I'm able to ping the all devices in the network. (second part
of the log)
Now it slows down the rate to 1MBit/s

iwconfig looks like this (fixed rate to 11M):
wlan0 IEEE 802.11g  ESSID:"mehrtenswlan"
      Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1A:XX:XX:XX:XX
      Bit Rate=1 Mb/s   Tx-Power=27 dBm
      Retry min limit:7   RTS thr:off   Fragment thr=2352 B
      Link Quality=50/64  Signal level=16/65
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

With no fixed rate there is an Bit Rate=54 Mb/s instead of 1Mb/s.


With rate fixed to 18MBit/s I have the same problem as with no fixed rate.

dmesg log:

phy0: Selected rate control algorithm 'pid'
phy0: hwaddr 00:15:af:03:ab:79, rtl8187 V1 + rtl8225z2
usbcore: registered new interface driver rtl8187

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1a:92:ea:73:12
wlan0: authenticate with AP 00:1a:92:ea:73:12
wlan0: authenticate with AP 00:1a:92:ea:73:12
wlan0: authentication with AP 00:1a:92:ea:73:12 timed out

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1a:92:ea:73:12
wlan0: RX authentication from 00:1a:92:ea:73:12 (alg=0 transaction=2
status=0)
wlan0: authenticated
wlan0: associate with AP 00:1a:92:ea:73:12
wlan0: RX AssocResp from 00:1a:92:ea:73:12 (capab=0x411 status=0 aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:1a:92:ea:73:12)
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

>>restarting connection with fixed rate 11M

wlan0: deauthenticate(reason=3)
ADDRCONF(NETDEV_UP): wlan0: link is not ready

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1a:92:ea:73:12
wlan0: RX authentication from 00:1a:92:ea:73:12 (alg=0 transaction=2
status=0)
wlan0: authenticated
wlan0: associate with AP 00:1a:92:ea:73:12
wlan0: RX AssocResp from 00:1a:92:ea:73:12 (capab=0x411 status=0 aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:1a:92:ea:73:12)
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present

-- 

Hauke Mehrtens

             reply	other threads:[~2008-01-05 15:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 14:47 Hauke Mehrtens [this message]
2008-01-05 21:54 ` rtl8187 rate control doesn't work Luis R. Rodriguez
2008-01-07 16:02   ` Hauke Mehrtens
2008-01-07 17:42     ` Luis R. Rodriguez
2008-01-11 22:39       ` Hauke Mehrtens
2008-01-12 14:44         ` Hauke Mehrtens
2008-01-12 15:21           ` Stefano Brivio
2008-01-12 18:23             ` Hauke Mehrtens
2008-01-12 19:28               ` Stefano Brivio
2008-01-14 19:26         ` Luis R. Rodriguez

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=477F9890.5050107@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=flamingice@sourmilk.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@winlab.rutgers.edu \
    /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