Search Linux Wireless

Re: rtl8723e droping the AP continuously for low signals; is there a threshold parameter?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for responding, Larry.

On Fri, Nov 30, 2012 at 3:52 PM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote:
> On 11/30/2012 04:19 PM, Cengiz Günay wrote:
>> I did have to comment out IEEE80211_HW_BEACON_FILTER (line 320 in base.c)
>> to be able to compile your kernel driver for my 3.4 kernel, following the
>> description here:
>>
>> http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-bt-is-not-recognized
>>
>
> That is a matter of the vendor driver. I deal with that driver only in that
> I use it as a starting point for the version built into the Linux kernel.
> Any build problems were fixed several months ago.

Oh, great! I didn't even know there was a newer driver. I should've
checked linux-wireless again.

> The first thing I request is that you try the version that will be added to
> kernel version 3.8 as it is the one I specifically support. It is currently
> available in the 3.7-rc7 versions of the linux-next, wireless-next, and
> wireless-testing git trees.

Ok, I will try this.


> The second thing is to report the signal strength at which the device fails.

Here's an example of the signal strength:
# iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:**SD-HOTEL-AP**  [snip]
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:[snip]
          Bit Rate=18 Mb/s   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:7   Missed beacon:0

This is particularly strong, but I have seen the link quality at 22/70
and signal at -88 dBm mostly.

> On my system, the driver runs without disconnection for days at a time;
> however, the signals are quite strong from my APs. Once I know where the
> difficulty happens, I can attenuate the signal.

Yes, I agree the driver works fine with high signal power as I use
this laptop at home without any problems. But it has consistently
failed in public places. There is a similar complaint in the Ubuntu
discussion page as well.

> Have you tried changing the power settings using the module parameters. I do
> not know what those are in the vendor driver, but in the kernel version, the
> pertiment ones are:
>
> parm:   ips:Set to 0 to not use link power save (default 1)
> parm:   swlps:Set to 1 to use SW control power save (default 0)
> parm:   fwlps:Set to 1 to use FW control power save (default 1)
>
> My suggestion is to disable link power saving with the "ips=0" option, or
> whatever the vendor driver uses.

Here's the vendor's parameters:
# modinfo rtl8723e
parm:  swlps:bool
parm:  swenc:using hardware crypto (default 0 [hardware]) (bool)
parm:  ips:using no link power save (default 1 is open) (bool)
parm:  fwlps:using linked fw control power save (default 1 is open) (bool)

I tried setting ips=0
# modprobe -v rtl8723e ips=0
insmod /lib/modules/3.4-trunk-amd64/kernel/drivers/net/wireless/rtlwifi/rtl8723e/rtl8723e.ko
ips=0

I still see drops, but I feel the connections is much more stable (I
was able to see a youtube video without interruption somehow):
# dmesg | grep lost | tail -5
[ 2945.567620] wlan0: Connection to AP [snip] lost.
[ 2949.565782] wlan0: Connection to AP [snip] lost.
[ 2954.555432] wlan0: Connection to AP [snip] lost.
[ 2972.499182] wlan0: Connection to AP [snip] lost.
[ 3156.474054] wlan0: Connection to AP [snip] lost.

Thanks,
-Cengiz
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux