Public bug reported:

Connection to a an access point drops every 15 seconds or so on fresh
installs of Ubuntu 24.04.02 on several machines in the Thinkpad P14s
series. This problem did not occur on fresh installs of Ubuntu 20.04
with exact same hardware.

Steps to reproduce:
1. Install Ubuntu 24.04 on a Thinkad P14s series laptop (tested with 21J5, 21K5 
and 21K3)
2. Start an access point such as the hotspot from a phone
3. Connect to the access point with `nmcli d wifi connect "<SSID>" password 
"<password>"
4. Start pinging the gateway, shortly after, the connection drops. This looks 
like so:

64 bytes from 192.168.12.1: icmp_seq=15 ttl=64 time=5.81 ms
64 bytes from 192.168.12.1: icmp_seq=16 ttl=64 time=7.48 ms
64 bytes from 192.168.12.1: icmp_seq=17 ttl=64 time=7.96 ms
From 192.168.12.202 icmp_seq=18 Destination Host Unreachable
From 192.168.12.202 icmp_seq=19 Destination Host Unreachable
From 192.168.12.202 icmp_seq=20 Destination Host Unreachable

5. The connection is restored and the ping continues


Logs from NetworkManager upon connection drop:
NetworkManager[8231]: <info>  [1740475864.3322] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202
NetworkManager[8231]: <info>  [1740475890.6352] device (wlp2s0): supplicant 
interface state: completed -> disconnected
NetworkManager[8231]: <info>  [1740475890.7039] device (wlp2s0): supplicant 
interface state: disconnected -> scanning
NetworkManager[8231]: <info>  [1740475893.4299] device (wlp2s0): supplicant 
interface state: scanning -> authenticating
NetworkManager[8231]: <info>  [1740475893.4382] device (wlp2s0): supplicant 
interface state: authenticating -> associating
NetworkManager[8231]: <info>  [1740475893.4581] device (wlp2s0): supplicant 
interface state: associating -> 4way_handshake
NetworkManager[8231]: <info>  [1740475893.5065] device (wlp2s0): supplicant 
interface state: 4way_handshake -> group_handshake
NetworkManager[8231]: <info>  [1740475894.5378] device (wlp2s0): supplicant 
interface state: group_handshake -> completed
NetworkManager[8231]: <info>  [1740475894.5381] device (wlp2s0): ip:dhcp4: 
restarting
NetworkManager[8231]: <info>  [1740475894.5381] dhcp4 (wlp2s0): canceled DHCP 
transaction
NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): activation: 
beginning transaction (timeout in 45 seconds)
NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): state changed 
no lease
NetworkManager[8231]: <info>  [1740475894.5382] dhcp4 (wlp2s0): activation: 
beginning transaction (timeout in 45 seconds)
NetworkManager[8231]: <info>  [1740475894.5479] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202, acd pending
NetworkManager[8231]: <info>  [1740475894.5481] dhcp4 (wlp2s0): state changed 
new lease, address=192.168.12.202

Logs from wpa_supplicant upon drop:
Feb 25 10:33:25 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-CONNECTED - Connection to e4:5f:01:39:2f:af completed [id=0 id_str=]
Feb 25 10:33:48 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-BEACON-LOSS
Feb 25 10:33:51 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-DISCONNECTED bssid=e4:5f:01:39:2f:af reason=4 locally_generated=1
Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: SME: Trying to 
authenticate with e4:5f:01:39:2f:af (SSID='testap' freq=5200 MHz)
Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: Trying to 
associate with e4:5f:01:39:2f:af (SSID='testap' freq=5200 MHz)
Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: Associated with 
e4:5f:01:39:2f:af
Feb 25 10:33:54 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Feb 25 10:33:55 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: WPA: Key 
negotiation completed with e4:5f:01:39:2f:af [PTK=CCMP GTK=TKIP]
Feb 25 10:33:55 ajpo-tt-thinkpad wpa_supplicant[1883]: wlp2s0: 
CTRL-EVENT-CONNECTED - Connection to e4:5f:01:39:2f:af completed [id=0 id_str=]

Relevant logs from ring buffer
[    5.281727] ath11k_pci 0000:02:00.0: BAR 0: assigned [mem 
0x80000000-0x801fffff 64bit]
[    5.281748] ath11k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 3596.675247] wlp2s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 
e4:5f:01:39:2f:af
[ 3613.740436] wlp2s0: Connection to AP e4:5f:01:39:2f:af lost
[ 3616.712013] wlp2s0: authenticate with e4:5f:01:39:2f:af
[ 3616.745001] wlp2s0: send auth to e4:5f:01:39:2f:af (try 1/3)
[ 3616.751405] wlp2s0: authenticated
[ 3616.760743] wlp2s0: associate with e4:5f:01:39:2f:af (try 1/3)
[ 3616.766666] wlp2s0: RX AssocResp from e4:5f:01:39:2f:af (capab=0x11 status=0 
aid=1)
[ 3616.780208] wlp2s0: associated


Any other device connecting to this hotspot (including the same computers on 
Ubuntu 20) do not face this issue. The affected computers all have a Qualcomm 
QCNFA765 Wi-Fi chip and use the ath11k drivers.

I attempted the following to the fix the problem:
* Disabling powersave in NetworkManager
* Trying various kernel versions including 6.8.0, 6.11.0 and mainline 6.14.0-rc4
* Change band and channel of hotspot
* Disabling IPv6 in the NetworkManager connection

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2099980

Title:
  Wi-Fi connection drops periodically on Ubuntu 24.04.02

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2099980/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to