Bug ID 1217495
Summary WiFi fails to re-connect on return from suspend, occasionally.
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee screening-team-bugs@suse.de
Reporter carlos.e.r@opensuse.org
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 870981 [details]
journal showing the event

Some times, when thawing my laptop, it fails to connect to the WiFi. Looking at
the log, this might look a router issue, but the thing is, it has happened to
me on two routers, one in Ottawa, another in Madrid. And hibernating the
machine makes the WiFi connect again (power cycles the chipset). Thus I believe
the problem is in the laptop/linux side, not the router.

Laptop is less that a year old, a Lenovo L14 Gen3 AMD.

I will attach journal showing one such incident. Some lines removed for
privacy.

You have to look on the journal at the timestamps marked with an arrow below:

2023-11-25T15:30:44,422546660+01:00 - Booting the system now 
================================================================================
 Linux Laicolasse 5.14.21-150500.55.36-default #1 SMP PREEMPT_DYNAMIC Tue Oct
31 08:37:43 UTC 2023 (e7a2e23) x86_64 x86_64 x86_64 GNU/Linux
2023-11-25 16:02:59+01:00 - Suspending the system now...
2023-11-25 18:33:09+01:00 - Thawing from suspend the system now)...   <--
worked
2023-11-25 18:37:19+01:00 - Suspending the system now...
2023-11-25 18:37:32+01:00 - Thawing from suspend the system now)... 
<========== failed
2023-11-25 18:38:09+01:00 - Hibernating the system now...
2023-11-25 18:43:14+01:00 - Thawing the system now...               
<========== worked


Laicolasse:~ # inxi -n -N
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eth0 state: down mac: f4:a8:0d:7a:49:01
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlan0 state: up mac: 60:e9:aa:a0:1a:49
Laicolasse:~ # 

hwinfo

25: PCI 600.0: 0282 WLAN controller
  [Created at pci.386]
  Unique ID: y9sn.gA5E5AhV_LC
  Parent ID: AXjq.nSObxEWmqk3
  SysFS ID: /devices/pci0000:00/0000:00:02.6/0000:06:00.0
  SysFS BusID: 0000:06:00.0
  Hardware Class: network
  Model: "MEDIATEK WLAN controller"
  Vendor: pci 0x14c3 "MEDIATEK Corp."
  Device: pci 0x0616 
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0xe0c6 
  Driver: "mt7921e"
  Driver Modules: "mt7921e"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xe0200000-0xe02fffff (ro,non-prefetchable)
  Memory Range: 0xfd400000-0xfd407fff (rw,non-prefetchable)
  IRQ: 80 (157547 events)
  HW Address: 60:e9:aa:a0:1a:49
  Permanent HW Address: 60:e9:aa:a0:1a:49
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104
108 112 116 120 124 128 132 136 140
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457
2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58
5.6 5.62 5.64 5.66 5.68 5.7
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v000014C3d00000616sv000017AAsd0000E0C6bc02sc80i00"
  Driver Info #0:
    Driver Status: mt7921e is active
    Driver Activation Cmd: "modprobe mt7921e"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #26 (PCI bridge)


54: None 00.0: 1070a WLAN
  [Created at net.126]
  Unique ID: AYEt.QXn1l67RSa1
  Parent ID: y9sn.gA5E5AhV_LC
  SysFS ID: /class/net/wlan0
  SysFS Device Link: /devices/pci0000:00/0000:00:02.6/0000:06:00.0
  Hardware Class: network interface
  Model: "WLAN network interface"
  Driver: "mt7921e"
  Driver Modules: "mt7921e"
  Device File: wlan0
  HW Address: 60:e9:aa:a0:1a:49
  Permanent HW Address: 60:e9:aa:a0:1a:49
  Link detected: yes
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #25 (WLAN controller)


Please ask for any other information needed.


You are receiving this mail because: