Bug 204791 - iwlwifi: 3168: Linux 5.2.11 "No beacon heard and the time event is over already"
Summary: iwlwifi: 3168: Linux 5.2.11 "No beacon heard and the time event is over already"
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-08 07:14 UTC by Elliot
Modified: 2022-04-01 12:18 UTC (History)
9 users (show)

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


Attachments
dmesg (67.10 KB, text/plain)
2019-09-08 07:14 UTC, Elliot
Details

Description Elliot 2019-09-08 07:14:18 UTC
Created attachment 284881 [details]
dmesg

5.2.11-arch1-1-ARCH
Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
firmware-version: 29.1654887522.0

Intel AC 3168 unable to connect to any wifi.

After bringing wireless interface up i get "BIOS contains WGDS but no WRDS" message.

Trying to connect to any wifi and getting endless loop "send auth..." -> "No beacon heard..." -> "Connection... lost"

Part of dmesg output:

[    2.664460] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[    2.672192] iwlwifi 0000:03:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[    2.782760] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 3168, REV=0x220
[    2.800807] iwlwifi 0000:03:00.0: base HW address: 68:ec:c5:60:72:82
[    2.833767] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    2.835148] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0

========== ip link set wlp3s0 up ==========

[   81.738980] iwlwifi 0000:03:00.0: BIOS contains WGDS but no WRDS

========== wpa_supplicant -B -c /my_profile.conf -i wlp3s0 ==========

[  107.443494] wlp3s0: authenticate with 60:e3:27:99:c8:2c
[  107.447637] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 1/3)
[  108.061827] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  108.061881] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  108.477484] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 2/3)
[  109.091729] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  109.091784] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  109.517571] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 3/3)
[  110.131736] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  110.131792] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  110.530559] wlp3s0: authentication with 60:e3:27:99:c8:2c timed out
[  126.224742] wlp3s0: authenticate with 60:e3:27:99:c8:2c
[  126.228356] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 1/3)
[  126.842493] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  126.842549] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  127.490938] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 2/3)
[  128.111597] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  128.111651] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  128.530917] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 3/3)
[  129.145066] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  129.145120] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  129.517230] wlp3s0: authentication with 60:e3:27:99:c8:2c timed out
[  136.628240] wlp3s0: authenticate with 60:e3:27:99:c8:2c
[  136.631866] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 1/3)
[  137.246001] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  137.246058] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  137.490933] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 2/3)
[  138.105088] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  138.105142] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  138.504245] wlp3s0: send auth to 60:e3:27:99:c8:2c (try 3/3)
[  139.118435] iwlwifi 0000:03:00.0: No beacon heard and the time event is over already...
[  139.118490] wlp3s0: Connection to AP 60:e3:27:99:c8:2c lost
[  139.490538] wlp3s0: authentication with 60:e3:27:99:c8:2c timed out

Very similar to another bug 203709
Comment 1 Ortwin Glück 2020-03-06 16:05:07 UTC
I am seeing the same problem on my HP laptop even with 5.5.y kernels.

I think this comes from mac80211.c where it is setting up the wait for a beacon:
                mvmvif->csa_bcn_pending = true;

                if (!fw_has_capa(&mvm->fw->ucode_capa,
                                 IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD)) {
                        u32 duration = 3 * vif->bss_conf.beacon_int;

                        /* Protect the session to make sure we hear the first
                         * beacon on the new channel.
                         */
                        iwl_mvm_protect_session(mvm, vif, duration, duration,
                                                vif->bss_conf.beacon_int / 2,
                                                true);
                }


To me it looks like a race somewhere in the session protection code. If there is already a TE running and it is cancelled etc.
Comment 2 Mohamed Hazem 2020-03-12 23:26:37 UTC
Same problem here happening intermittently on a Dell Latitude 5401 with 5.3.0 kernel.
Comment 3 Naruto windy 2020-05-17 03:26:06 UTC
Same problem exist in Ax200 intel Wifi card. Using Arch 5.6.13 latest Firmware git...
Comment 4 Naruto windy 2020-05-17 03:53:16 UTC
How does a kernel will notify the iwd or networkmanager that "i just disconnected wifi", may be if i able to catch the event or notification, i cloud write my own program to restart the iwd.service, so it will reconnects to the 5gz wifi. thanks.
Comment 5 OmidA 2021-04-10 12:25:58 UTC
The same problem exists with the Intel AX200 wifi card. 
Ubuntu 20.04
kernel 5.4.0
Comment 6 Damir 2022-02-17 07:33:25 UTC
The same problem Fujitsu S935 LifeBook

Ubuntu 20.04.3 LTS
kernel 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 61)
Subsystem: Intel Corporation Wireless-N 7265 [8086:5002]
Kernel driver in use: iwlwifi

[1192986.271785] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[1197239.548488] wlp2s0: Connection to AP 18:48:59:21:b9:2b lost
[1197240.461886] wlp2s0: authenticate with 18:48:59:21:b9:2b
[1197240.466101] wlp2s0: send auth to 18:48:59:21:b9:2b (try 1/3)
[1197240.468798] wlp2s0: authenticated
[1197240.470690] wlp2s0: associate with 18:48:59:21:b9:2b (try 1/3)
[1197240.474550] wlp2s0: RX AssocResp from 18:48:59:21:b9:2b (capab=0x1411 status=0 aid=3)
[1197240.475624] wlp2s0: associated
[1197241.080322] iwlwifi 0000:02:00.0: No beacon heard and the time event is over already...
[1197241.080405] wlp2s0: Connection to AP 18:48:59:21:b9:2b lost
[1197241.979257] wlp2s0: authenticate with 18:48:59:21:b9:2b
[1197241.984667] wlp2s0: send auth to 18:48:59:21:b9:2b (try 1/3)

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