2010-12-17 17:20:33

by Amos Blanton

[permalink] [raw]
Subject: rtl8192 does not see N networks in my building

Greetings. I have a?rtl8192 in a Strata 13 laptop from Zareason
running Ubuntu 10.10, and I work in an environment with many Wifi
networks. With my previous laptop I was often able to see and
sometimes login to a local un-encrypted N network, the best we have
around here, but this one doesn't seem to find and display that
network via Network Manager.
I'm told my office has?cisco ap1252s running the latest 7.0 code
release. There are B/G as well as N networks here, at least 10 that
Network manager will recognize.

Sorry, I'm not sure what the relevant DMSG info is, so I'll include
the latest swath. Please let me know if I should get additional info,
and if this is the right place to report these issues.
Thanks to everyone here who helps make Linux wireless work!

-Amos

??359.748754] LPS leave: notify AP we are awaked ++++++++++ SendNullFunctionData
[ ?359.749098] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?359.805892] =====>rtl8192_set_chan()====ch:1
[ ?359.925611] =====>rtl8192_set_chan()====ch:2
[ ?360.045465] =====>rtl8192_set_chan()====ch:3
[ ?360.165430] =====>rtl8192_set_chan()====ch:4
[ ?360.285243] =====>rtl8192_set_chan()====ch:5
[ ?360.405139] =====>rtl8192_set_chan()====ch:6
[ ?360.524976] =====>rtl8192_set_chan()====ch:7
[ ?360.644919] =====>rtl8192_set_chan()====ch:8
[ ?360.764741] =====>rtl8192_set_chan()====ch:9
[ ?360.884613] =====>rtl8192_set_chan()====ch:10
[ ?361.004666] =====>rtl8192_set_chan()====ch:11
[ ?361.128624] =====>rtl8192_set_chan()====ch:12
[ ?361.244226] =====>rtl8192_set_chan()====ch:13
[ ?361.364079] =====>rtl8192_set_chan()====ch:11
[ ?361.374946] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?361.374958] rtl8192_update_cap(): WLAN_CAPABILITY_SHORT_PREAMBLE
[ ?361.380087] notify_wx_assoc_event(): Tell user space disconnected
[ ?361.380131] Linking with MIT,channel:6, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?361.380217] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?361.380357] ===>rtllib_associate_procedure_wq(), chan:6
[ ?361.380361] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?361.380366] =====>rtl8192_set_chan()====ch:6
[ ?361.417746] Linking with MIT,channel:1, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?361.417778] ===>rtllib_associate_procedure_wq(), chan:1
[ ?361.417785] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?361.417791] =====>rtl8192_set_chan()====ch:1
[ ?363.921468] Linking with MIT,channel:1, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?363.921488] ===>rtllib_associate_procedure_wq(), chan:1
[ ?363.921494] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?363.921500] =====>rtl8192_set_chan()====ch:1
[ ?364.266878] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ ?364.334040] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:0:2b
[ ?364.334044] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:1:4f
[ ?364.334047] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:2:22
[ ?364.334050] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:3:22
[ ?364.334056] Associated successfully
[ ?364.334058] normal associate
[ ?364.334071] Using G rates:108
[ ?364.334073] Successfully associated, ht enabled
[ ?364.334076] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?364.334080] =====>rtl8192_set_chan()====ch:1
[ ?364.344559] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?364.344570] rtl8192_update_cap(): WLAN_CAPABILITY_SHORT_PREAMBLE
[ ?364.356664] ====>rx ADDBAREQ from :00:23:eb:d1:cd:02
[ ?364.356684] ====>to send ADDBARSP
[ ?372.032996] intel ips 0000:00:1f.6: MCP power or thermal limit exceeded
[ ?397.106889] rtl8192_hw_wakeup(): RF Change in progress! schedule
wake up task again
[ ?405.090729] rtl8192_hw_sleep_down(): RF Change in progress!
[ ?419.074869] rtl8192_hw_sleep_down(): RF Change in progress!
[ ?465.026504] MgntActSet_RF_State(): RF Change in progress! Wait to
set..StateToSet(0).
[ ?479.622470] LPS leave: notify AP we are awaked ++++++++++
SendNullFunctionData
[ ?479.622768] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?479.681548] =====>rtl8192_set_chan()====ch:1
[ ?479.801523] =====>rtl8192_set_chan()====ch:2
[ ?479.920546] =====>rtl8192_set_chan()====ch:3
[ ?480.040420] =====>rtl8192_set_chan()====ch:4
[ ?480.160316] =====>rtl8192_set_chan()====ch:5
[ ?480.280181] =====>rtl8192_set_chan()====ch:6
[ ?480.400039] =====>rtl8192_set_chan()====ch:7
[ ?480.519937] =====>rtl8192_set_chan()====ch:8
[ ?480.639949] =====>rtl8192_set_chan()====ch:9
[ ?480.759647] =====>rtl8192_set_chan()====ch:10
[ ?480.879483] =====>rtl8192_set_chan()====ch:11
[ ?480.999424] =====>rtl8192_set_chan()====ch:12
[ ?481.119290] =====>rtl8192_set_chan()====ch:13
[ ?481.239199] =====>rtl8192_set_chan()====ch:1
[ ?481.250154] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?481.250165] rtl8192_update_cap(): WLAN_CAPABILITY_SHORT_PREAMBLE
[ ?481.255013] notify_wx_assoc_event(): Tell user space disconnected
[ ?481.255044] Linking with MIT,channel:6, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?481.255108] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?481.255350] ===>rtllib_associate_procedure_wq(), chan:6
[ ?481.255353] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?481.255357] =====>rtl8192_set_chan()====ch:6
[ ?481.292927] Linking with MIT,channel:1, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?481.293782] ===>rtllib_associate_procedure_wq(), chan:1
[ ?481.293791] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?481.293801] =====>rtl8192_set_chan()====ch:1
[ ?481.528555] rtllib: received DELBA while QOS or HT is not supported(0, 1)
[ ?483.796486] Linking with MIT,channel:1, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?483.796505] ===>rtllib_associate_procedure_wq(), chan:1
[ ?483.796511] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?483.796517] =====>rtl8192_set_chan()====ch:1
[ ?486.303883] Linking with MIT,channel:1, qos:1, myHT:1, networkHT:1,
mode:10 cur_net.flags:0x40e
[ ?486.303895] ===>rtllib_associate_procedure_wq(), chan:1
[ ?486.303899] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?486.303902] =====>rtl8192_set_chan()====ch:1
[ ?486.356465] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ ?486.409854] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:0:2b
[ ?486.409862] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:1:4f
[ ?486.409867] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:2:22
[ ?486.409873] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:3:22
[ ?486.409883] Associated successfully
[ ?486.409887] normal associate
[ ?486.409905] Using G rates:108
[ ?486.409909] Successfully associated, ht enabled
[ ?486.409914] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ ?486.409920] =====>rtl8192_set_chan()====ch:1
[ ?486.420769] ===>rtl8192se_link_change():ieee->iw_mode is 2
[ ?486.420779] rtl8192_update_cap(): WLAN_CAPABILITY_SHORT_PREAMBLE
[ ?486.432060] ====>rx ADDBAREQ from :00:23:eb:d1:cb:e2
[ ?486.432071] ====>to send ADDBARSP
[ ?512.984431] rtl8192_hw_sleep_down(): RF Change in progress!
[ ?518.981534] rtl8192_hw_wakeup(): RF Change in progress! schedule
wake up task again


2010-12-18 03:32:13

by Amos Blanton

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

On Fri, Dec 17, 2010 at 2:57 PM, Larry Finger <[email protected]> wrote:

> The report I have from Realtek is that a mac80211 driver for that device is
> nearing completion. I originally thought that you were using a staging driver,
> but you must be using a driver from Realtek's site. Do you have the latest? I
> show it to be rtl8192se_linux_2.6.0018.1025.2010. As I recall, that one does not
> work on a 64-bit system.

AFAIK it's whatever ships with Ubuntu 10.10, unless the people at
Zareason installed a different driver before shipping this laptop.
I've searched the package manager but can't find anything related.
Let's see, google says modinfo should tell me. Here's the output:

lightnin@Buford:~$ modinfo r8192se_pci
filename:
/lib/modules/2.6.35-23-generic/kernel/ubuntu/rtl8192se/r8192se_pci.ko
license: GPL
version: 0017.0507.2010
author: Copyright(c) 2008 - 2010 Realsil Semiconductor
Corporation <[email protected]>
description: Linux driver for Realtek RTL819x WiFi cards
srcversion: 64C041B4E539FCBBF8BEA08
alias: pci:v000010ECd00008174sv*sd*bc*sc*i*
alias: pci:v000010ECd00008173sv*sd*bc*sc*i*
alias: pci:v000010ECd00008172sv*sd*bc*sc*i*
alias: pci:v000010ECd00008171sv*sd*bc*sc*i*
alias: pci:v000010ECd00008192sv*sd*bc*sc*i*
depends:
vermagic: 2.6.35-23-generic SMP mod_unload modversions
parm: ifname: Net interface name, wlan%d=default (charp)
parm: hwwep: Try to use hardware WEP support(default use hw.
set 0 to use software security) (int)
parm: channels: Channel bitmask for specific locales. NYI (int)


> You need to run iwlist as root to get an active scan. That is why I specified
> the "sudo iwlist scan". Your prompt above looks like the regular user one. If
> I'm wrong there, then something is blocking transmission. Is the module rfkill
> loaded?

Ah, my apologies! I did forget the sudo - sorry about that. I've left
work now but will do a scan on Monday.

Should I try installing an updated version of the driver that is
compatible with 64 bit systems? Where might that be?

Amos

>
> Larry
>

2010-12-21 03:07:09

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

On 12/20/2010 09:49 AM, Amos Blanton wrote:
> Ok, I did the lwist scan properly this time. And wow, we have a lot of
> wifi here - 96 cells in fact.
> The list has most of the visible networks that others can see in the
> area with the exception of MIT N, which is the one that works decently
> well. There's also MIT Secure N, which it doesn't see either. So I
> guess the device is not finding any N networks?
>
> Would this be something I should report to RealTek?
> Thanks very much for your help with this.

You probably should report it to Reaktek. I'm not sure what response you might get.

If you find another Linux system that has connected to one of these routers
using an 802.11 b/g card, I would be interested in seeing the output of iwconfig
for that computer.

Larry


2010-12-18 04:09:03

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

On 12/17/2010 09:32 PM, Amos Blanton wrote:
>
> Ah, my apologies! I did forget the sudo - sorry about that. I've left
> work now but will do a scan on Monday.
>
> Should I try installing an updated version of the driver that is

As yours works, then it is likely OK. You would get the latest from the Reaktek
web site. I have no idea where Ubuntu got their version. You would have to
contact them.

Larry

2010-12-17 19:40:06

by Amos Blanton

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

Here's lspci output:

$ lspci -nn | grep Realtek
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
RTL8191SEvB Wireless LAN Controller [10ec:8172] (rev 10)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
03)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
06)
lightnin@Buford:~$

iwlist:
lightnin@Buford:~$ iwlist scan
lo Interface doesn't support scanning.

eth1 Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 No scan results

Here's iwconfig output, in case that is helpful:
wlan0 802.11bgn Nickname:"rtl8191SEVA2"
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Bit Rate:300 Mb/s
Retry:on RTS thr:off Fragment thr:off
Power Management:off
Link Quality=10/100 Signal level=0 dBm Noise level=-100 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



On Fri, Dec 17, 2010 at 1:36 PM, Larry Finger <[email protected]> wrote:
> On 12/17/2010 11:20 AM, Amos Blanton wrote:
>> Greetings. I have a rtl8192 in a Strata 13 laptop from Zareason
>> running Ubuntu 10.10, and I work in an environment with many Wifi
>> networks. With my previous laptop I was often able to see and
>> sometimes login to a local un-encrypted N network, the best we have
>> around here, but this one doesn't seem to find and display that
>> network via Network Manager.
>> I'm told my office has cisco ap1252s running the latest 7.0 code
>> release. There are B/G as well as N networks here, at least 10 that
>> Network manager will recognize.
>>
>> Sorry, I'm not sure what the relevant DMSG info is, so I'll include
>> the latest swath. Please let me know if I should get additional info,
>> and if this is the right place to report these issues.
>> Thanks to everyone here who helps make Linux wireless work!
>
> This is the right place to ask. The driver you are using is from staging, and I
> don't know much about it, but let's see what we can do.
>
> Please provide the output of the command '/sbin/lspci -nn | grep Realtek'.
>
> In addition, please post the output of the command 'sudo /usr/sbin/iwlist scan'.
> I'm guessing at the location of iwlist on your distro. If the command is not
> found, then the patch is wrong - change it to match your system.
>
> Larry
>

2010-12-20 15:49:45

by Amos Blanton

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

Ok, I did the lwist scan properly this time. And wow, we have a lot of
wifi here - 96 cells in fact.
The list has most of the visible networks that others can see in the
area with the exception of MIT N, which is the one that works decently
well. There's also MIT Secure N, which it doesn't see either. So I
guess the device is not finding any N networks?

Would this be something I should report to RealTek?
Thanks very much for your help with this.
-Amos

p.s. Also, I heard a rumor that the people responsible for installing
the Wifi here overdid it a tad, with too many transmitters. Seems like
it might be true?

Here's a page or two of lwlist results:

wlan0 Scan completed :
Cell 01 - Address: 00:23:EB:D1:C0:B3
ESSID:"MIT"
Protocol:IEEE802.11N-24G
Mode:Master
Channel:1
Encryption key:off
Bit Rates:300 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=76/100 Signal level=-67 dBm Noise level=-108 dBm
Extra: Last beacon: 122ms ago
Cell 02 - Address: 00:23:EB:D1:C0:B4
ESSID:"MIT SECURE"
Protocol:IEEE802.11N-24G
Mode:Master
Channel:1
Encryption key:on
Bit Rates:300 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=79/100 Signal level=-67 dBm Noise level=-109 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
Extra: Last beacon: 128ms ago
Cell 03 - Address: 00:23:EB:D1:C0:B6
ESSID:"<hidden>\x00"
Protocol:IEEE802.11N-24G
Mode:Master
Channel:1
Encryption key:on
Bit Rates:300 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=81/100 Signal level=-65 dBm Noise level=-110 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Extra: Last beacon: 1ms ago
Cell 04 - Address: 00:23:EB:D2:26:90
ESSID:"MIT GUEST"
Protocol:IEEE802.11N-24G
Mode:Master
Channel:1
Encryption key:off
Bit Rates:300 Mb/s




On Fri, Dec 17, 2010 at 10:32 PM, Amos Blanton <[email protected]> wrote:
> On Fri, Dec 17, 2010 at 2:57 PM, Larry Finger <[email protected]> wrote:
>
>> The report I have from Realtek is that a mac80211 driver for that device is
>> nearing completion. I originally thought that you were using a staging driver,
>> but you must be using a driver from Realtek's site. Do you have the latest? I
>> show it to be rtl8192se_linux_2.6.0018.1025.2010. As I recall, that one does not
>> work on a 64-bit system.
>
> AFAIK it's whatever ships with Ubuntu 10.10, unless the people at
> Zareason installed a different driver before shipping this laptop.
> I've searched the package manager but can't find anything related.
> Let's see, google says modinfo should tell me. Here's the output:
>
> lightnin@Buford:~$ modinfo r8192se_pci
> filename:
> /lib/modules/2.6.35-23-generic/kernel/ubuntu/rtl8192se/r8192se_pci.ko
> license: ? ? ? ?GPL
> version: ? ? ? ?0017.0507.2010
> author: ? ? ? ? Copyright(c) 2008 - 2010 Realsil Semiconductor
> Corporation <[email protected]>
> description: ? ?Linux driver for Realtek RTL819x WiFi cards
> srcversion: ? ? 64C041B4E539FCBBF8BEA08
> alias: ? ? ? ? ?pci:v000010ECd00008174sv*sd*bc*sc*i*
> alias: ? ? ? ? ?pci:v000010ECd00008173sv*sd*bc*sc*i*
> alias: ? ? ? ? ?pci:v000010ECd00008172sv*sd*bc*sc*i*
> alias: ? ? ? ? ?pci:v000010ECd00008171sv*sd*bc*sc*i*
> alias: ? ? ? ? ?pci:v000010ECd00008192sv*sd*bc*sc*i*
> depends:
> vermagic: ? ? ? 2.6.35-23-generic SMP mod_unload modversions
> parm: ? ? ? ? ? ifname: Net interface name, wlan%d=default (charp)
> parm: ? ? ? ? ? hwwep: Try to use hardware WEP support(default use hw.
> set 0 to use software security) (int)
> parm: ? ? ? ? ? channels: Channel bitmask for specific locales. NYI (int)
>
>
>> You need to run iwlist as root to get an active scan. That is why I specified
>> the "sudo iwlist scan". Your prompt above looks like the regular user one. If
>> I'm wrong there, then something is blocking transmission. Is the module rfkill
>> loaded?
>
> Ah, my apologies! I did forget the sudo - sorry about that. I've left
> work now but will do a scan on Monday.
>
> Should I try installing an updated version of the driver that is
> compatible with 64 bit systems? Where might that be?
>
> Amos
>
>>
>> Larry
>>
>

2010-12-17 19:58:03

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

On 12/17/2010 01:40 PM, Amos Blanton wrote:
> Here's lspci output:
>
> $ lspci -nn | grep Realtek
> 01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd.
> RTL8191SEvB Wireless LAN Controller [10ec:8172] (rev 10)
> 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
> 03)
> 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
> RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev
> 06)
> lightnin@Buford:~$

The report I have from Realtek is that a mac80211 driver for that device is
nearing completion. I originally thought that you were using a staging driver,
but you must be using a driver from Realtek's site. Do you have the latest? I
show it to be rtl8192se_linux_2.6.0018.1025.2010. As I recall, that one does not
work on a 64-bit system.

> iwlist:
> lightnin@Buford:~$ iwlist scan
> lo Interface doesn't support scanning.
>
> eth1 Interface doesn't support scanning.
>
> eth0 Interface doesn't support scanning.
>
> wlan0 No scan results

You need to run iwlist as root to get an active scan. That is why I specified
the "sudo iwlist scan". Your prompt above looks like the regular user one. If
I'm wrong there, then something is blocking transmission. Is the module rfkill
loaded?

Larry

2010-12-17 18:37:25

by Larry Finger

[permalink] [raw]
Subject: Re: rtl8192 does not see N networks in my building

On 12/17/2010 11:20 AM, Amos Blanton wrote:
> Greetings. I have a rtl8192 in a Strata 13 laptop from Zareason
> running Ubuntu 10.10, and I work in an environment with many Wifi
> networks. With my previous laptop I was often able to see and
> sometimes login to a local un-encrypted N network, the best we have
> around here, but this one doesn't seem to find and display that
> network via Network Manager.
> I'm told my office has cisco ap1252s running the latest 7.0 code
> release. There are B/G as well as N networks here, at least 10 that
> Network manager will recognize.
>
> Sorry, I'm not sure what the relevant DMSG info is, so I'll include
> the latest swath. Please let me know if I should get additional info,
> and if this is the right place to report these issues.
> Thanks to everyone here who helps make Linux wireless work!

This is the right place to ask. The driver you are using is from staging, and I
don't know much about it, but let's see what we can do.

Please provide the output of the command '/sbin/lspci -nn | grep Realtek'.

In addition, please post the output of the command 'sudo /usr/sbin/iwlist scan'.
I'm guessing at the location of iwlist on your distro. If the command is not
found, then the patch is wrong - change it to match your system.

Larry