Bug 111101 - RTL8723BE cannot connect to a wireless network
Summary: RTL8723BE cannot connect to a wireless network
Status: RESOLVED CODE_FIX
Alias: None
Product: Networking
Classification: Unclassified
Component: Wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-21 16:13 UTC by Eugene A. Shatokhin
Modified: 2016-01-28 12:26 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.1.15, 4.3.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
journalctl -ab (234.05 KB, text/plain)
2016-01-21 16:13 UTC, Eugene A. Shatokhin
Details
lspci (35.83 KB, text/plain)
2016-01-21 16:14 UTC, Eugene A. Shatokhin
Details
iw list (3.55 KB, text/plain)
2016-01-21 16:14 UTC, Eugene A. Shatokhin
Details
iw dev wlan0 scan (3.27 KB, text/plain)
2016-01-21 16:16 UTC, Eugene A. Shatokhin
Details

Description Eugene A. Shatokhin 2016-01-21 16:13:51 UTC
Created attachment 200671 [details]
journalctl -ab

One of our users has a problem with RTL8723BE PCIe Wireless Network Adapter ("ngff" variant, pci:10ec-b723-103c-804c) in ROSA Linux x64 with kernel 4.1.15. 

The scan shows only one wireless network, although there are actually more available. When trying to connect to that network using NetworkManager, it waits a while with "Setting up interface" status and then reports that the network has been disconnected.

The problem shows up both with rtl8723be driver from the 4.1.x kernel and with the driver from https://github.com/lwfinger/rtlwifi_new. We also tried kernel 4.3.3 with the same results.

In Windows 10 installed on that laptop too, the device works fine: sees all available networks and connects to the user's network without problems.

I will attach the logs below.

More info about the hardware and more logs are available here: http://hw.rosalinux.ru/index.php?probe=17e2133475
Comment 1 Eugene A. Shatokhin 2016-01-21 16:14:32 UTC
Created attachment 200681 [details]
lspci
Comment 2 Eugene A. Shatokhin 2016-01-21 16:14:54 UTC
Created attachment 200691 [details]
iw list
Comment 3 Eugene A. Shatokhin 2016-01-21 16:16:18 UTC
Created attachment 200701 [details]
iw dev wlan0 scan
Comment 4 Larry Finger 2016-01-21 19:27:24 UTC
Is this an HP laptop? They have produced systems with but a single antenna. That is OK, but they failed to program the EEPROM to match the antenna that they actually are using. Perhaps other vendors have made the same error.

In the rtlwifi_new repo, switch to the rock.new_btcoexist branch, build and install it. Then load rtl8723be with the "ant_sel=2" option. That should fix the problem.

I am working on finding a fix for the mainline kernel, but that is not easy as that branch and mainline have very different versions of btcoexist.
Comment 5 Eugene A. Shatokhin 2016-01-21 20:33:33 UTC
(In reply to Larry Finger from comment #4)
> Is this an HP laptop? They have produced systems with but a single antenna.
> That is OK, but they failed to program the EEPROM to match the antenna that
> they actually are using. Perhaps other vendors have made the same error.
> 
> In the rtlwifi_new repo, switch to the rock.new_btcoexist branch, build and
> install it. Then load rtl8723be with the "ant_sel=2" option. That should fix
> the problem.
> 
> I am working on finding a fix for the mainline kernel, but that is not easy
> as that branch and mainline have very different versions of btcoexist.

Yes, this is an HP laptop. 

Thanks for the hint, we will try it.
Comment 6 Eugene A. Shatokhin 2016-01-28 12:26:03 UTC
Yes, it works now with the driver built from rock.new_btcoex and "ant_sel=2" option set for rtl8723be.

Our users are really happy again :-) 

Thanks a lot!

Note You need to log in before you can comment on or make changes to this bug.