Bug 207031 - Intel WIFI is broken in Linux 5.6.
Summary: Intel WIFI is broken in Linux 5.6.
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 19:34 UTC by oyvinds
Modified: 2020-05-07 08:25 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description oyvinds 2020-03-30 19:34:56 UTC
1) Have Intel WIFI, either Intel(R) Dual Band Wireless AC 7265 or Intel(R) Dual Band Wireless AC 3160
2) Have Linux 5.6
3) Try to connect to WIFI
You can't because it's broken due to commit ce2e1ca703071723ca2dd94d492a5ab6d15050da

One solution is to revert ce2e1ca703071723ca2dd94d492a5ab6d15050da

5.6-rc7 works perfectly since ce2e1ca703071723ca2dd94d492a5ab6d15050da was commited after rc7.

I have a laptop and a notebook with Intel WIFI. Both fail with 5.6, both work using 5.6-git with ce2e1ca703071723ca2dd94d492a5ab6d15050da reverted.

It is very unfortunate that I ended up wasting hours re-compiling the kernel bisecting this.
Comment 1 Christoph Loehr 2020-03-31 15:43:58 UTC
Same problem here. I have a Lenovo L570 laptop. 

Wifi is an Intel Corporation Wireless 8265 / 8275 (rev 78).

Reverting the mentioned commit solved the problem.

Please let me know if I could help by testing etc.

CHL
Comment 2 oyvinds 2020-04-01 13:06:02 UTC
There is a comment on the LKMO who commited https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce2e1ca703071723ca2dd94d492a5ab6d15050da

where he explains that "sorry, my bad" is why WIFI is broken in kernel 5.6. He points out that this patch resolves the issue:

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=be8c827f50a0bcd56361b31ada11dc0a3c2fd240

I have not tested that myself but I am guessing that the wifi broken in 5.6 and 5.6.1 issue can be resolved by applying be8c827f50a0bcd56361b31ada11dc0a3c2fd240

I'm running 5.6 with ce2e1ca703071723ca2dd94d492a5ab6d15050da reverted on two machines so I can say with certainty that WIFI works just fine with that solution.

Note that 5.6.1 does not have any fix.
Comment 3 slack3r 2020-04-02 06:20:58 UTC
Hello,

same here.

Device:	02:00.0
Class:	Network controller
Vendor:	Intel Corporation
Device:	Wireless-AC 9260
SVendor:	Intel Corporation
SDevice:	Wireless-AC 9260
Rev:	29
Driver:	iwlwifi
Module:	iwlwifi

As described above, reverting `ce2e1ca703071723ca2dd94d492a5ab6d15050da` solves the problem.
Comment 4 slack3r 2020-04-02 06:36:29 UTC
...or apply commit 7908d2658f92b5164d715959d51ebb88f4ad891b

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.6.y&id=7908d2658f92b5164d715959d51ebb88f4ad891b
Comment 5 oyvinds 2020-04-02 09:54:05 UTC
From https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.2

commit 7908d2658f92b5164d715959d51ebb88f4ad891b
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Sun Mar 29 22:50:06 2020 +0200

    mac80211: fix authentication with iwlwifi/mvm
    
    commit be8c827f50a0bcd56361b31ada11dc0a3c2fd240 upstream.
    
    The original patch didn't copy the ieee80211_is_data() condition
    because on most drivers the management frames don't go through
    this path. However, they do on iwlwifi/mvm, so we do need to keep

Changing the status of this bug to RESOLVED - PATCH_ALREADY_AVAILABLE as the release of 5.6.2 has the above cited patch.

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