Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Wifi Speed problems with Realtek RTL8723BE #104
Comments
|
Some general points:
|
BharatKalluri
commented
Mar 22, 2016
|
Hi @lwfinger , OK, So I did a clean install of drivers, nothing in the config files and without specifying anything in the ant_sel parameters if I do sudo iw dev wlp1s0 scan | grep signal I get signal: -8.00 dBm and when I checked the ping with the router it says 0% packet loss and now, this is where things get interesting, When I do a speed test on the Computer it says download to be 0.68/1.21 and when I do a speed test on my android it says 1.2/1.2. I tried the test several times and the same result pops up(the download speed on Ubuntu will be half the original download speed of the network). That is The problem, Why are the download speeds exactly half? You were saying "Both antennas connected". Is my computer using only one antenna? if so how do I connect both antennas? Or is there any other issue? |
|
The RTL8723BE mini-PCIe card has two antenna connectors. As you get a strength of -8 dBm with no module parameters, your device either has antennae attached to both connectors, or you have only one attached, but the EEPROM is correctly encoded. The HP computers with a problem definitely have only one antenna and their EEPROM incorrectly specifies which connector is used. I do not know why the rate is 1/2 that of the Android. To get a strength of -8 dBm, you must be very close to the AP. I am about 2m from mine, and the strongest I see is -38 dBm, which is many orders of magnitude lower. (dBm is a logarithmic scale) If you can move about 1m further away, what happens? It is possible that you are saturating the input circuits. |
izbushka
commented
Mar 22, 2016
|
@lwfinger, is it possible to reattach antenna to another connector physically? In this case is card going to work properly on native kernel driver? |
|
From what I can tell, your card works OK with the in-kernel version of the driver. If that is not the case, I have misunderstood. |
izbushka
commented
Mar 22, 2016
|
No, I currently use your driver, but i wonder if it's possible to switch to the kernel driver by reattaching antenna to another card connector (HP laptop) |
|
You first need to show me that changing ant_sel makes a difference in the signal strengths. If not, then the in-kernel driver will work. |
BharatKalluri
commented
Mar 22, 2016
|
@lwfinger actually My wifi router is exactly beside my laptop, and even moving it away does not help. |
BharatKalluri
commented
Mar 22, 2016
|
@lwfinger How can I show the change ant_sel produces? and just so you know, I tried both parameters , Both parameters produced no difference in download speeds. The same 60kbps and around whereas I get 120-130kbps on every other device on the wifi. Will upgrading The kernel help? |
|
The difference is in signal strength. If you have a single antenna connected to the wrong location, the strength will be -70 dBm or lower. If you have either a single antenna connected correctly, or if you have two antennas, the signal will be your -8 dBm. Load the driver with ant_sel=0 and use the iw command to get signal strength. Then repeat with ant_sel=1 amd finally with ant_sel=2. One word. All these drivers are equally "mine". There is basically only a single driver written by Realtek and reworked by me to meet kernel requirements. Only the rock.new_btcoex branch has other than cosmetic differences, and that is in the BT coexistence code. Unfortunately, Realtek uses some techniques in that code that will never be acceptable in the kernel, thus that will remain an isolated branch. |
BharatKalluri
commented
Mar 22, 2016
|
Signal strength without any parameters: Signal level=-30 dBm Signal strength with ant_sel=1 Signal level=-20 dBm Signal strength with ant_sel=2 Signal level=-20 dBm Signal strength with ant_sel=0 Signal level=-20dBm So all produce the same result except with no parameters. |
|
Setting ant_sel=0 is exactly the same as no parameters. As I said earlier, you do not have the antenna select problem. As to why your system is slow, that will depend on the setup of your AP, and that I cannot control. Under some conditions, the driver/AP combination can be a lot faster. |
|
A completely new version of the drivers has just been pushed. It fixes a lot of things. As a result, I am closing all open issues. If you get a new one, please create a new issue. Note: The new driver fixes the problems with power save. It is recommended that you clear all ips, swlps, and fwlps options. |
BharatKalluri commentedMar 21, 2016
Hi @lwfinger ,
I have recently installed Ubuntu on my Lenovo g50 45. I have been having a weird problem since the beginning. I am a beginner in Linux so please bear with me :-)
I usually have a download speed of 120-160 kbps on any machine connected to the wifi router. After installing Ubuntu on the system The speed will hit a maximum of 60-65 kbps and continue at that speed. It does not go beyond!
I am using the "rock.new_btcoex" branch, with parameters
options rtl8723be ips=N ant_sel=2 msi=1in the file /etc/modprobe.d/50-rtl8723be.conf.
I have tried both ant_sel=1 and ant_sel=2 and both of them dont seem to make any difference.
Also Tried Both msi values(0 and 1) but no luck.
I would happily Repeat any steps you ask me to( could even give you ssh access if needed ), I just need this problem solved as this is the only laptop of my house :-(
At first I thought there was packet loss (Don't know if packet loss actually results in speed loss). I tried downloading files with different distances but it changed nothing(Even when the router is beside the laptop!).
The ping also says
So there is no packet loss.
for more info These are come commands I executed(if you need any reference)
lf I do lspci I get
if I do modinfo rtl8723be I get
If you need more info just ask and I will try to reply as soon as possibe.