Bug 1529696 - unable to see/connect to 802.11ac (5GHz) networks
Summary: unable to see/connect to 802.11ac (5GHz) networks
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 27
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-29 12:04 UTC by Alex Silva
Modified: 2018-11-23 09:51 UTC (History)
23 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-23 16:12:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
lspci -vnn output (7.69 KB, text/plain)
2018-02-11 19:59 UTC, Alex Silva
no flags Details
iw phy output (7.11 KB, text/plain)
2018-02-27 15:21 UTC, Alex Silva
no flags Details
dmesg (81.84 KB, text/plain)
2018-02-27 15:21 UTC, Alex Silva
no flags Details
iw dev wlp3s0 scan (1.99 KB, text/plain)
2018-02-27 15:49 UTC, Alex Silva
no flags Details

Description Alex Silva 2017-12-29 12:04:12 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build Identifier: 

cannot see nor connect to 802.11ac (5GHz) network
using Fedora 27 with latest kernel.  

uname -a
Linux satellite 4.14.8-300.fc27.x86_64 #1 SMP Wed Dec 20 19:00:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

issue also see on other installed Kernel versions
kernel-4.14.6-300.fc27.x86_64
kernel-4.14.7-300.fc27.x86_64

laptop is https://us.hardware.info/product/222975/toshiba-satellite-p50t-b-108/specifications
and has Intel Dual Band Wireless-AC 3160 card

rpm -qi iwl3160-firmware.noarch
Name        : iwl3160-firmware
Epoch       : 1
Version     : 25.30.13.0
Release     : 81.fc27
Architecture: noarch
Install Date: Wed 20 Dec 2017 11:31:12 AM CET
Group       : Unspecified
Size        : 10428225
License     : Redistributable, no modification permitted
Signature   : RSA/SHA256, Fri 15 Dec 2017 02:59:31 PM CET, Key ID f55e7430f5282ee4
Source RPM  : linux-firmware-20171215-81.git2451bb22.fc27.src.rpm
Build Date  : Fri 15 Dec 2017 01:28:47 PM CET
Build Host  : buildhw-06.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.kernel.org/
Summary     : Firmware for Intel(R) Wireless WiFi Link 3160 Series Adapters
Description :
This package contains the firmware required by the Intel wireless drivers
for Linux.  Usage of the firmware is subject to the terms and conditions
contained inside the provided LICENSE file. Please read it carefully.

which seems the same from Intel page
https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless-networking.html

I can connect to a 802.11 b/g/n (2.4GHz) WLAN on same router without issues with the laptop.

iwconfig
wlp3s0    IEEE 802.11  ESSID "MYSSID"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-29 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:34   Missed beacon:0

I have removed my SSID and MAC from the above command output.
Router is https://www.linksys.com/fi/p/P-EA6700/

dmesg | grep -i wireless
[   18.373487] Intel(R) Wireless WiFi driver for Linux
[   18.515039] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164

I can connect to the 5GHz 802.11ac WLAN with different mobile phones (running Android) without problems.















Reproducible: Always

Steps to Reproduce:
1.Boot laptop with any of the above Kernels
2.Go to Settings > Wi-Fi.  5GHz/802.11ac WLAN is not visible under Visible Networks.  Even if you try to setup manually the profile as hidden network, it will not work/connect
3.Take Android phone, and you should be able to see the 5GHz/802.11ac WLAN available and you can connect to it.



It is a bug, because I would expect a 802.11ac card to work, even if it is a older WLAN card, which per Intel page will have support even on 4.2* kernel.

I have a working laptop, Lenovo T460S (https://www3.lenovo.com/us/en/laptops/thinkpad/thinkpad-t-series/ThinkPad-T460s/p/22TP2TT460S) which has Intel® Dual Band Wireless-AC 8260, and that works without problem.
The Lenovo is running Fedora 27 and same kernel version.

Comment 1 Alex Silva 2018-01-10 07:44:45 UTC
issue still seen after kernel update and iwl3160 update I got today

iwl3160-firmware            noarch   1:25.30.13.0-82.fc27               updates   1.7 M

uname -a
Linux satellite 4.14.11-300.fc27.x86_64 #1 SMP Wed Jan 3 13:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

rpm -qi iwl3160-firmware.noarch
Name        : iwl3160-firmware
Epoch       : 1
Version     : 25.30.13.0
Release     : 82.fc27
Architecture: noarch
Install Date: Wed 10 Jan 2018 08:34:26 AM CET
Group       : Unspecified
Size        : 10428225
License     : Redistributable, no modification permitted
Signature   : RSA/SHA256, Fri 05 Jan 2018 05:09:23 PM CET, Key ID f55e7430f5282ee4
Source RPM  : linux-firmware-20171215-82.git2451bb22.fc27.src.rpm
Build Date  : Fri 05 Jan 2018 02:03:16 PM CET
Build Host  : platform-eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.kernel.org/

dmesg | grep -i wireless
[   21.693832] Intel(R) Wireless WiFi driver for Linux
[   21.855002] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164

Lenovo T460s, same kernel, different 802.11ac card, no issues connecting/seeing 5GHz WLAN.

Comment 2 Stanislaw Gruszka 2018-02-03 09:46:34 UTC
Did you check older kernels, did 5GHz work there ?

Please provide output of "lspci -vnn" as text file. Some 3160 devices are 11n only, so let check if you do not have one of those.

Comment 3 Alex Silva 2018-02-11 19:59:44 UTC
Created attachment 1394639 [details]
lspci -vnn output

Comment 4 Alex Silva 2018-02-11 20:03:18 UTC
Hi Stanislaw
attached is the file you requested.
sorry for the late reply, as I was on PTO for a week.

still have the same issue on latest version of kernel
 uname -a
Linux satellite 4.14.16-300.fc27.x86_64 #1 SMP Wed Jan 31 19:24:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

5GHz worked well when Fedora 27 was GA and I installed on my laptop.
Also had no issue with 5GHz on Windows 10 Home edition, which was installed on the laptop.

Comment 5 Stanislaw Gruszka 2018-02-14 12:20:49 UTC
Alex, the device you have should be 11ac capable. Would be good if you could tell us the kernel version of Fedora 27 GA so we would know where regression happened.

CC Intel folks, perhaps they have fix for this problem already.

Comment 6 Alex Silva 2018-02-15 06:24:16 UTC
Hi Stanislaw

Fedora 27 GA should have been shipped with kernel 4.13

https://en.wikipedia.org/wiki/Fedora_version_history

Not sure about the specific version, but maybe  kernel-4.13.0-1.fc27?
Per https://bodhi.fedoraproject.org/updates/?packages=kernel&page=4

Comment 7 Stanislaw Gruszka 2018-02-15 07:12:38 UTC
Alex, could you download some 4.13 kernel (it can be 4.13.4 kernel from
https://koji.fedoraproject.org/koji/buildinfo?buildID=976639 )
install it via "rpm -ivh --force" and confirm 5GHz works there ?

Comment 8 Alex Silva 2018-02-15 15:53:00 UTC
Hi Stanislaw

I tried: 4.14.18-300.fc27.x86_64, same issue

then tried: 4.15.3-300.fc27.x86_64, same issue

tried the old kernel: uname -a
Linux satellite 4.13.4-300.fc27.x86_64 #1 SMP Thu Sep 28 17:02:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux - same problem

I still see this
rpm -qi iwl3160-firmware.noarch
Name        : iwl3160-firmware
Epoch       : 1
Version     : 25.30.13.0
Release     : 82.fc27
Architecture: noarch
Install Date: Wed 10 Jan 2018 08:34:26 AM CET
Group       : Unspecified
Size        : 10428225
License     : Redistributable, no modification permitted
Signature   : RSA/SHA256, Fri 05 Jan 2018 05:09:23 PM CET, Key ID f55e7430f5282ee4
Source RPM  : linux-firmware-20171215-82.git2451bb22.fc27.src.rpm
Build Date  : Fri 05 Jan 2018 02:03:16 PM CET
Build Host  : platform-eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.kernel.org/
Summary     : Firmware for Intel(R) Wireless WiFi Link 3160 Series Adapters
Description :
This package contains the firmware required by the Intel wireless drivers
for Linux.  Usage of the firmware is subject to the terms and conditions
contained inside the provided LICENSE file. Please read it carefully.

which is the iwl3160-firmware which came from 4.14.11-300.fc27.x86 , even if I installed the older kernel

dmesg | grep -i wireless
[   23.247499] Intel(R) Wireless WiFi driver for Linux
[   23.831598] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164

Comment 9 Stanislaw Gruszka 2018-02-19 15:22:54 UTC
So this seems to be firmware regression. You can downgrade to older firmware by removing firmware image file and reload driver. If /lib/firmware/iwlwifi-3160-17.ucode is the newest 3160 image do this:

mv /lib/firmware/iwlwifi-3160-17.ucode  /lib/firmware/iwlwifi-3160-17.ucode.old
modprobe -r iwlmvm
modprobe iwlmvm

Driver should load older firmware image then and you can check if 5GHz works.

Comment 10 Alex Silva 2018-02-19 20:47:23 UTC
Hi Stanislaw

no luck, now my Wi-Fi is gone, showing it Unavailable.
I cannot see even the 2.4GHz.
I have renamed the file back to iwlwifi-3160-17.ucode, rebooted the laptop, but no hope.

Comment 11 Stanislaw Gruszka 2018-02-20 08:15:49 UTC
Alex, you can use dmesg console command to see what happened, most likely you used newer kernel i.e. 4.15 which do not support older firmware. Please try use 4.13 kernel with removed -17 ucode.

Comment 12 Alex Silva 2018-02-21 08:06:27 UTC
I Stanislaw

I booted on 4.13 kernel now
uname -a
Linux satellite 4.13.4-300.fc27.x86_64 #1 SMP Thu Sep 28 17:02:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Followed your instructions regarding iwlwifi-3160-17.ucode, i.e. 
mv /lib/firmware/iwlwifi-3160-17.ucode  /lib/firmware/iwlwifi-3160-17.ucode.old
modprobe -r iwlmvm
modprobe iwlmvm

still not working.
dmesg shows:

[  281.052670] Intel(R) Wireless WiFi driver for Linux
[  281.052671] Copyright(c) 2003- 2015 Intel Corporation
[  281.053213] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-3160-17.ucode failed with error -2
[  281.053215] iwlwifi 0000:03:00.0: no suitable firmware found!
[  281.053217] iwlwifi 0000:03:00.0: iwlwifi-3160-17 is required
[  281.053218] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
[  525.689544] r8169 0000:04:00.0 enp4s0: link up


rpm -qi iwl3160-firmware.noarch
Name        : iwl3160-firmware
Epoch       : 1
Version     : 25.30.13.0
Release     : 82.fc27
Architecture: noarch
Install Date: Wed 10 Jan 2018 08:34:26 AM CET


Also, rebooted the laptop, no luck.
if you don't have the same card, anybody in Intel tried this?

Comment 13 Alex Silva 2018-02-21 08:41:42 UTC
Hi Stanislaw

good news is I got my WLAN card working again
bad news, only on 2.4 GHz.

even if I had kernel  4.13.4-300.fc27.x86_64 I could see only the 2.4GHz WLAN.

disabling iwlwifi-3160-17.ucode causes the errors I mentioned in my previous post

iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-3160-17.ucode failed with error -2
iwlwifi 0000:03:00.0: no suitable firmware found!
iwlwifi 0000:03:00.0: iwlwifi-3160-17 is required

rfkill list
0: Toshiba Bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
4: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Comment 14 Stanislaw Gruszka 2018-02-27 12:32:48 UTC
Alex, 

I just checked 3160 device in our wireless labs, it connects to 5GHz 11ac AP:

[root@wlan-r2s12 ~]# ethtool -i wlp4s0
driver: iwlwifi
version: 4.15.4-300.fc27.x86_64
firmware-version: 17.608620.0
expansion-rom-version: 
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[root@wlan-r2s12 ~]# iw dev
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr a0:88:69:0d:ae:d1
		type P2P-device
		txpower 0.00 dBm
	Interface wlp4s0
		ifindex 3
		wdev 0x1
		addr a0:88:69:0d:ae:d0
		ssid qe-wpa2-psk
		type managed
		channel 40 (5200 MHz), width: 80 MHz, center1: 5210 MHz
		txpower 15.00 dBm
[root@wlan-r2s12 ~]# lspci -vnn | grep -A1 Network
04:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless-AC 3160 [8086:0070]

Comment 15 Stanislaw Gruszka 2018-02-27 12:37:20 UTC
Perhaps this is regulatory issue. Could you check 'iw reg get' and see if 5GHz channels are listed there? Also could you check "iw phy" output, does it show the device support 5GHz channels ?

Comment 16 Stanislaw Gruszka 2018-02-27 12:42:39 UTC
Please also do 'dmesg > dmesg.txt' and attach dmesg.txt file here.

Comment 17 Alex Silva 2018-02-27 15:19:00 UTC
Hi Stanislaw

[asilva@satellite ~]$ ethtool -i wlp3s0
driver: iwlwifi
version: 4.15.4-300.fc27.x86_64
firmware-version: 17.608620.0
expansion-rom-version: 
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no


iw dev
phy#0
	Unnamed/non-netdev interface
		wdev 0x2
		addr a0:88:69:86:eb:92
		type P2P-device
		txpower 0.00 dBm
	Interface wlp3s0
		ifindex 3
		wdev 0x1
		addr a0:88:69:86:eb:92
		ssid TEST
		type managed
		channel 13 (2472 MHz), width: 40 MHz, center1: 2462 MHz
		txpower 20.00 dBm

lspci -vnn | grep -A1 Network
03:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev 83)
	Subsystem: Intel Corporation Dual Band Wireless AC 3160 [8086:8170]


iw reg get
global
country CZ: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)



iw phy output and dmesg files attached

Comment 18 Alex Silva 2018-02-27 15:21:24 UTC
Created attachment 1401399 [details]
iw phy output

Comment 19 Alex Silva 2018-02-27 15:21:59 UTC
Created attachment 1401400 [details]
dmesg

Comment 20 Stanislaw Gruszka 2018-02-27 15:36:45 UTC
Both "iw phy" and "iw reg" said that 5GHz is supported. It's hard to tell why your router 11ac network is not visible. Could you check if 5GHz channel configured on the AP is within range of 5GHz channels from above commands ?

Please also attach output of "iw dev wlp3s0 scan" .

Comment 21 Alex Silva 2018-02-27 15:49:32 UTC
Created attachment 1401415 [details]
iw dev wlp3s0 scan

Comment 22 Alex Silva 2018-02-27 15:50:13 UTC
Hi 
I can connect to the 5GHz WLAN on same router with 3 different Android phones (Sony and Samsung)
Maybe I have a faulty WLAN card, but it works on 2.4GHz...
attached the required output.

Comment 23 Justin M. Forbes 2018-07-23 15:27:13 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 27 kernel bugs.

Fedora 27 has now been rebased to 4.17.7-100.fc27.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 28, and are still experiencing this issue, please change the version to Fedora 28.

If you experience different issues, please open a new bug report for those.

Comment 24 Alex Silva 2018-07-23 15:35:00 UTC
I have F28 and still same issue, even with latest Kernels.
Go ahead and close this , as I believe I have a faulty WLAN card, as Stanislaw tested this on a laptop with same card and 5GHz band worked there.
thanks
Alex

Comment 25 Justin M. Forbes 2018-07-23 16:12:00 UTC
Sorry to hear about the faulty hardware, but thanks for the update.

Comment 26 Bogumił 2018-11-12 15:44:23 UTC
Hi guys,

Fedora 29 + Thinkpad T430 , the same issue as above.
Both networks are visible ( 2,4GHz and 5GHz) but I can connect only to 2.4.

Ubuntu 18.04 and 18.10 works properly.

Comment 27 Ferry 2018-11-21 11:06:28 UTC
Hi,

seriously doubt it's Alex's hardware. We have a customer with a lot of Lenovo G50 and Z50 laptops with the card and the exact same issue.

The fact that they work and connect fine on Ubuntu 18.04.1 LTS seems definite proof it's not the hardware to me. Our customer has confirmed that, even as the previous poster Bogumił.

Please reopen. I'm awaiting kernel logs from our customer and will attach them once received.

Comment 28 Hans de Goede 2018-11-21 11:12:22 UTC
(In reply to Ferry from comment #27)
> Hi,
> 
> seriously doubt it's Alex's hardware. We have a customer with a lot of
> Lenovo G50 and Z50 laptops with the card and the exact same issue.
> 
> The fact that they work and connect fine on Ubuntu 18.04.1 LTS seems
> definite proof it's not the hardware to me. Our customer has confirmed that,
> even as the previous poster Bogumił.
> 
> Please reopen. I'm awaiting kernel logs from our customer and will attach
> them once received.

Fedora uses unmodified upstream drivers and firmware.

It would be useful to compare kernel and frimware versions with Ubuntu and to try to downgrade the kernel/firmware packages to match what Fedora has.

Also your chances of getting some help with this are better if you file a bug with the upstream iwlwifi developers, see:

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging

Comment 29 Ferry 2018-11-21 11:24:07 UTC
I reopened in bug: https://bugzilla.redhat.com/show_bug.cgi?id=1651989

Hans: Do you want to pick this up in the new bug, or remain in this one (still has status closed / cantfix and from what I just read it might not be possible to reopen if errata was supplied)?

Alex: if you still have the hardware (and the issue), would it be possible for you to test with Ubuntu 18.04.1? Live version from DVD/USB should suffice (no need to install). 

In any case I can fairly easy determine if the firmware differs. Will do that shortly, kernel itself might be another story however. Not a low-level programmer and not well versed with all the stuff that might be related to it.

Comment 30 Alex Silva 2018-11-21 11:34:35 UTC
Hi all
Yes, I still have the issue.
Have Fedora 29 with latest kernel: 4.19.2-300.fc29.x86_64
I thought it was a hardware issue, because I did had an issue with charging cable on the laptop, and had to open it and replace it myself.  But I had the Wi-Fi card working on Fedora for sure.
I will try the Unbuntu 18.04.1 when I will have a chance and let you guys know.
Probably during the weekend...

Comment 31 Hans de Goede 2018-11-21 11:57:00 UTC
(In reply to Ferry from comment #29)
> I reopened in bug: https://bugzilla.redhat.com/show_bug.cgi?id=1651989

Ok, since this bug is quite old, it is probably best to continue this in
that bug. I'll comment further there.

Comment 32 Alex Silva 2018-11-23 09:51:29 UTC
All
looks like my old laptop doesn't like Unbuntu. :(

I downloaded the image, burned the ISO with different programs, tried different USB flash disks, but couldn't get that thing to work.  
I can choose the image, no errors on the disk, I get the Unbuntu logo, but the installation just hangs after a while.

Sorry, but I am not going to install it on my personal laptop,replace Fedora 29,  just to test this...

I am running Fedora 29 on it, with all updates installed, and see just 2.4GHz WLANs with the Intel Dual Band Wireless-AC 3160 card installed on it.


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