2008-10-06 03:01:40

by Piter PUNK

[permalink] [raw]
Subject: RTL8187B transmit problems


Hi,

I have two rtl8187b cards. One built in my notebook and one external
USB wireless dongle from Encore. Both works with the rtl8187 driver
(thanks Herton! thanks Hin-Tak!) but i still have some problems.

I'm using 2.6.27-rc7 kernel and three problems are very common, but
intermittent:

1) I found my network when scan (iwlist wlan0 scan) but i can't
associate in the found network.

2) I associate in my network but i can't transmit anything.

3) I associate, can transmit but only "small" transmissions. Ping,
HTTP GET, POP commands... when i try to upload a file, send a
mail, etc... the connection stuck.

The three problems happens in both rtl8187b cards. I try with two
different access points to make sure the problem isn't AP related and
now i am using an rt73usb without problems.

Without encryption, the problem 2 isn't noticeable. I don't do
a lot of tests without encryption enabled, but i can do if you want.
That's one small example of problem 2:

---
wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"MyLab"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:FB:B4:52
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:XXXX-XXXX-XX Security mode:open
Power Management:off
Link Quality=98/100 Signal level:-22 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@cameron:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.7 icmp_seq=41 Destination Host Unreachable
From 192.168.0.7 icmp_seq=44 Destination Host Unreachable
From 192.168.0.7 icmp_seq=47 Destination Host Unreachable
^C
--- 192.168.0.1 ping statistics ---
47 packets transmitted, 0 received, +3 errors, 100% packet loss, time
46041ms
---

If you have any specific tests or patches to apply I'll be
very happy to try and test them. If you need more information
to "see" the problem, only need to ask what information you
need.

Thanks!

Piter PUNK
--
| E-Mail: [email protected] (personal)
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^
#105432


2008-10-09 13:09:50

by Piter PUNK

[permalink] [raw]
Subject: Re: RTL8187B transmit problems

Matthew Garrett wrote:
> Try reducing the bit rate - iwconfig wlan0 11M fixed, for example.
>

Hi,

I try that. This time i got my problem #3:

---from first mail---
3) I associate, can transmit but only "small" transmissions. Ping,
HTTP GET, POP commands... when i try to upload a file, send a
mail, etc... the connection stuck.
---------------------

I associate:

---
wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"MyLab"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:FB:B4:52
Bit Rate=11 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:XXXX-XXXX-XX Security mode:open
Power Management:off
Link Quality=100/100 Signal level:-5 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
---

I can ping

---
root@cameron:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=32.9 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=136 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=1.69 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=2.25 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=55.0 ms
^C
--- 192.168.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4016ms
rtt min/avg/max/mdev = 1.692/45.795/136.994/49.817 ms
---

But i can't transmit anything bigger. Trying to send an mail
or an 448K tarball through scp didn't work (but ssh session
works). Using rt73 USB dongle works fine (i sent the tarball
and i will send this mail).

Hope this test can help.

Thanks!

Piter PUNK
--
| E-Mail: [email protected] (personal)
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^
#105432

2008-10-08 19:57:43

by Matthew Garrett

[permalink] [raw]
Subject: Re: RTL8187B transmit problems

Try reducing the bit rate - iwconfig wlan0 11M fixed, for example.

--
Matthew Garrett | [email protected]