Wifi randomly disconnects for a few seconds then reconnects

I have a mesh wi-fi network (Nighthawk AX1800) and the PC is connected to one of the routers via ethernet. I’ve tried bringing one of the other routers closer, flushing DNS, restarting wpa_supplicant, and doing what this person did to solve it: Wifi disconnects and reconnects frequently - #7 by ricklinux

None of my other devices have this happen, notably my phone while I have it in the same room as the PC, so I think this is a problem with the PC specifically.

Not sure i understand. If you PC is connected via ethernet what is running on WiFi that you are having the problem with?

The PC randomly disconnects and then reconnects after a few moments, and does this about a dozen times per hour.

This wasn’t a problem until a week ago, though I built this PC at the start of last month.

Okay but you said it’s connected to ethernet? I see that those mesh pods have ethernet ports so is the pc connected via WiFi? I don’t know how they work as i am unfamiliar with this product. So does the PC have a WiFi card and connects to one of the mesh pods via WiFi? If so what is the hardware on the pc?

inxi -Na

Yes, when I said the PC is connected to a router I should have said it’s connected to one of the mesh pods. I went ahead and tried disconnecting the mesh pod and placed it on the other end of the room, so it’ll be just a bit closer to the next pod, but am still getting the same problem.

Network:
Device-1: Qualcomm WCN785x Wi-Fi 7 320MHz 2x2 [FastConnect 7800]
vendor: Foxconn driver: ath12k_pci v: N/A modules: ath12k pcie: gen: 3
speed: 8 GT/s lanes: 1 link-max: lanes: 2 bus-ID: 0e:00.0
chip-ID: 17cb:1107 class-ID: 0280
Device-2: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0f:00.0
chip-ID: 8086:15f3 class-ID: 0200

Okay now i understand. These are just extenders providing WiFi. It’s connecting using Qualcomm WCN785x WiFi 7.

Are you connecting using 5 Ghz?

Edit: Are you also using WPA3 Enhanced Open for connection? Or WPA2?

Edit: Just asking because the nighthawk 1800X is WiFi 6

The network settings just says the supported frequencies are 2.4 GHz/5 GHz / 6 GHz, and the security is WPA2.

1 Like

The WiFi card is using ath12k module. Fairly new. I’m not sure if it’s a power save setting? Or something else?

Edit: Maybe you can check when WiFi disconnects rfkill
Also maybe check modinfo ath12k

Edit: You could also check sudo dmesg to see if it shows anything when disconnecting.

This seems interesting:

[31216.697699] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 9a: cd :d6:22:49:70
[31228.426067] ath12k_warn: 4 callbacks suppressed
[31228.426075] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[31962.034983] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[32322.025925] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[32727.382028] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[33236.592253] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[33701.543298] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[34301.499969] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[35485.986469] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[36026.438852] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[36086.226304] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[37737.025855] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28

1 Like

I think you’re right that it’s a power save setting, the archwiki also says it could be aggressive power saving but I’m not sure how to turn off that feature. Here’s a more verbose copy/paste from dmesg:

[ 565.035064] ath12k_warn: 214 callbacks suppressed
[ 565.035067] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[ 577.388912] wlan0: authenticate with 9a:cd:d6:22:49:8f (local address=fc:b0:de:8e:15:99)
[ 577.388918] wlan0: send auth to 9a:cd:d6:22:49:8f (try 1/3)
[ 577.405363] wlan0: authenticated
[ 577.405979] wlan0: associate with 9a:cd:d6:22:49:8f (try 1/3)
[ 577.408898] wlan0: RX AssocResp from 9a:cd:d6:22:49:8f (capab=0x1011 status=0 aid=32)
[ 577.410120] ath12k_pci 0000:0e:00.0: failed to enqueue rx buf: -28
[ 577.425273] wlan0: associated
[ 577.510637] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 9a:cd:d6:22:49:8f
[ 583.718179] wlan0: disconnect from AP 9a:cd:d6:22:49:8f for new auth to 6c:cd:d6:22:49:8f
[ 583.785328] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785331] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785333] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785335] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785336] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785338] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 10 (-105)
[ 583.785343] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 12 (-105)
[ 583.785345] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 12 (-105)
[ 583.785346] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 12 (-105)
[ 583.785348] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE, tid 12 (-105)
[ 583.785349] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 12 (-105)
[ 583.785356] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 13 (-105)
[ 583.785361] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 14 (-105)
[ 583.785366] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 15 (-105)
[ 583.785368] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)
[ 583.830655] wlan0: authenticate with 6c:cd:d6:22:49:8f (local address=fc:b0:de:8e:15:99)
[ 583.830658] wlan0: send auth to 6c:cd:d6:22:49:8f (try 1/3)
[ 583.850463] wlan0: send auth to 6c:cd:d6:22:49:8f (try 2/3)
[ 583.874357] wlan0: send auth to 6c:cd:d6:22:49:8f (try 3/3)
[ 583.880752] wlan0: authentication with 6c:cd:d6:22:49:8f timed out
[ 584.327603] wlan0: authenticate with 9a:cd:d6:22:49:8f (local address=fc:b0:de:8e:15:99)
[ 584.327607] wlan0: send auth to 9a:cd:d6:22:49:8f (try 1/3)
[ 584.344568] wlan0: 9a:cd:d6:22:49:8f denied authentication (status 33)
[ 585.091322] wlan0: authenticate with 9a:cd:d6:22:49:70 (local address=fc:b0:de:8e:15:99)
[ 585.091324] wlan0: send auth to 9a:cd:d6:22:49:70 (try 1/3)
[ 585.106850] wlan0: 9a:cd:d6:22:49:70 denied authentication (status 33)
[ 585.163459] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 9 (-105)
[ 585.163472] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 10 (-105)
[ 585.163481] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 11 (-105)
[ 585.163490] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 12 (-105)
[ 585.163498] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 13 (-105)
[ 585.163508] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 14 (-105)
[ 585.163517] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 15 (-105)
[ 585.163532] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 1 (-105)
[ 585.163540] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 2 (-105)
[ 585.163549] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 3 (-105)
[ 585.163556] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 4 (-105)
[ 585.163567] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 6 (-105)
[ 585.163575] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 7 (-105)
[ 585.163586] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 9 (-105)
[ 585.163594] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 10 (-105)
[ 585.163601] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 11 (-105)
[ 585.163612] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 13 (-105)
[ 585.163620] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 14 (-105)
[ 585.163628] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 15 (-105)
[ 586.361491] wlan0: authenticate with 6c:cd:d6:22:49:80 (local address=fc:b0:de:8e:15:99)
[ 586.361495] wlan0: send auth to 6c:cd:d6:22:49:80 (try 1/3)
[ 586.365347] wlan0: 6c:cd:d6:22:49:80 denied authentication (status 33)
[ 586.399681] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 9 (-105)
[ 586.399692] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 10 (-105)
[ 586.399699] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 11 (-105)
[ 586.399706] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 12 (-105)
[ 586.399712] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 13 (-105)
[ 586.399718] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 14 (-105)
[ 586.399724] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 15 (-105)
[ 586.399728] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)
[ 586.399734] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 0 (-105)
[ 586.399740] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 1 (-105)
[ 586.399746] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 2 (-105)
[ 586.399752] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 3 (-105)
[ 586.399759] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 4 (-105)
[ 586.399765] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 5 (-105)
[ 586.399771] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 6 (-105)
[ 586.399777] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 7 (-105)
[ 586.399783] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 8 (-105)
[ 586.399789] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 9 (-105)
[ 586.399795] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 10 (-105)
[ 586.399801] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 11 (-105)
[ 586.399807] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 12 (-105)
[ 586.399813] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 13 (-105)
[ 586.399819] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 14 (-105)
[ 586.399826] ath12k_pci 0000:0e:00.0: failed to send HAL_REO_CMD_FLUSH_CACHE cmd, tid 16 (-105)

@wifirandodisc
Are you dual booting with Windows?

No, I’m not.

Could you show the contents of file
/etc/NetworkManager/NetworkManager.conf

Edit: I see the wifi authentication is failing in your log. Are you sure the password is OK?

The .conf file just says this:

"# Configuration file for NetworkManager.
“# See “man 5 NetworkManager.conf” for details”

And I’m certain the password is right.

You could try using iwd for the wifi connection. Add the following lines to file
/etc/NetworkManager/NetworkManager.conf:

[device]
wifi.backend=iwd

and reboot.
If that doesn’t help, remove the added lines and reboot.

1 Like

It’s connected, though I had to bring the mesh node back to my desk so I could use the ethernet cable, as the wireless connection wouldn’t work. I’ll just play Deep Rock Galactic for a bit and see if it happens again, and get back to you. Thanks!

1 Like

I’m preeeetty sure this worked, though it might also be that I just turned off the wireless connection.

This is outside the scope of what I asked, but now THIS is happening, which I believe is a coincidence:

[ 141.448167] warning: `wine_sechost_se’ uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211

That looks like a warning only.

But if you start using wifi 7, this may need some kernel parameters, but that may also depend on your hardware and router.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.