Skip to contentSkip to conversation

MK7921K de-auths from AP every 5 minutes

DISCUSSION Riccardo Paolo Bestetti 3 participants 6 messages Mar 6, 2022 – Mar 15, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I have recently installed an AMD RZ608 Wi-Fi card in my laptop. The card uses the MT7921K chipset from MediaTek. I'm running Arch Linux, using kernel 5.16.12-arch1-1. I'm using iwd 1.25-1 as my wireless daemon.

I'm experiencing de-auths every 5 minutes from my AP, which is a MikroTik RB962UiGS-5HacT2HnT running the latest firmware. This has a AR9888 wireless chip. It is indeed configured to update group keys every 5 minutes.

All the de-auths happen with excellent signal and SNR (consistently 50dB or better as reported by the router, which is only a few meters apart form the laptop). My router is set up on a fixed channel, with fixed channel width 20MHz. The almost perfect periodicity also suggests that bad signal is not an issue at play.

The kernel log does not report any messages from the driver. Only:

Mar 06 12:19:21 enhorning kernel: wlan0: deauthenticated from 08:55:31:cc:23:c3 (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
Mar 06 12:19:23 enhorning kernel: wlan0: authenticate with 08:55:31:cc:23:c3
Mar 06 12:19:23 enhorning kernel: wlan0: send auth to 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:19:23 enhorning kernel: wlan0: authenticated
Mar 06 12:19:23 enhorning kernel: wlan0: associate with 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:19:23 enhorning kernel: wlan0: RX AssocResp from 08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:19:24 enhorning kernel: wlan0: associated
Mar 06 12:24:21 enhorning kernel: wlan0: deauthenticated from 08:55:31:cc:23:c3 (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
Mar 06 12:24:23 enhorning kernel: wlan0: authenticate with 08:55:31:cc:23:c3
Mar 06 12:24:23 enhorning kernel: wlan0: send auth to 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:24:23 enhorning kernel: wlan0: authenticated
Mar 06 12:24:23 enhorning kernel: wlan0: associate with 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:24:23 enhorning kernel: wlan0: RX AssocResp from 08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:24:24 enhorning kernel: wlan0: associated
Mar 06 12:29:21 enhorning kernel: wlan0: deauthenticated from 08:55:31:cc:23:c3 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
Mar 06 12:29:28 enhorning kernel: wlan0: authenticate with 08:55:31:cc:23:c3
Mar 06 12:29:28 enhorning kernel: wlan0: send auth to 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:29:28 enhorning kernel: wlan0: authenticated
Mar 06 12:29:28 enhorning kernel: wlan0: associate with 08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:29:28 enhorning kernel: wlan0: RX AssocResp from 08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:29:28 enhorning kernel: wlan0: associated

Pretty much the same from the router:

12:19:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

12:24:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

12:29:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

I have other devices connected to the same access point without issue, and I can connect to other access points without issue. So I'm figuring this is an issue specific to the combination of this chip and the particular access point.

I am not able to say whether the issue is in this driver, or with the access point. How might I go about finding out?

Best regards,
Riccardo P. Bestetti

#1 lore raw

You could try a different channel?
Is it 2.4 or 5GHz?

#2 lore raw
Quoted 1 line · James

You could try a different channel?

I tried letting the AP pick channels, and I also tried manually picking some of the most spectrally-uneventful (as measured by both the AP and my smartphone) channels in my area. No difference.

Quoted 1 line

Is it 2.4 or 5GHz?

5 GHz. I have no 2.4GHz network.

Riccardo

#5 lore raw
In reply to Riccardo Paolo Bestetti

Hi,

Quoted 6 lines · Riccardo Paolo Bestetti

Hi,

I have recently installed an AMD RZ608 Wi-Fi card in my laptop. The card
uses the MT7921K chipset from MediaTek. I'm running Arch Linux, using kernel 5.16.12-arch1-1. I'm using iwd 1.25-1 as my wireless daemon.

Could you also post the IWD debug logs (running with -d).

Quoted 82 lines

I'm experiencing de-auths every 5 minutes from my AP, which is a MikroTik
RB962UiGS-5HacT2HnT running the latest firmware. This has a AR9888 wireless
chip. It is indeed configured to update group keys every 5 minutes.

All the de-auths happen with excellent signal and SNR (consistently 50dB
or better as reported by the router, which is only a few meters apart form the laptop). My router is set up on a fixed channel, with fixed channel width 20MHz. The almost perfect periodicity also suggests that
bad signal is not an issue at play.

The kernel log does not report any messages from the driver. Only:

Mar 06 12:19:21 enhorning kernel: wlan0: deauthenticated from
08:55:31:cc:23:c3 (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
Mar 06 12:19:23 enhorning kernel: wlan0: authenticate with
08:55:31:cc:23:c3
Mar 06 12:19:23 enhorning kernel: wlan0: send auth to
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:19:23 enhorning kernel: wlan0: authenticated
Mar 06 12:19:23 enhorning kernel: wlan0: associate with
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:19:23 enhorning kernel: wlan0: RX AssocResp from
08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:19:24 enhorning kernel: wlan0: associated
Mar 06 12:24:21 enhorning kernel: wlan0: deauthenticated from
08:55:31:cc:23:c3 (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
Mar 06 12:24:23 enhorning kernel: wlan0: authenticate with
08:55:31:cc:23:c3
Mar 06 12:24:23 enhorning kernel: wlan0: send auth to
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:24:23 enhorning kernel: wlan0: authenticated
Mar 06 12:24:23 enhorning kernel: wlan0: associate with
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:24:23 enhorning kernel: wlan0: RX AssocResp from
08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:24:24 enhorning kernel: wlan0: associated
Mar 06 12:29:21 enhorning kernel: wlan0: deauthenticated from
08:55:31:cc:23:c3 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)
Mar 06 12:29:28 enhorning kernel: wlan0: authenticate with
08:55:31:cc:23:c3
Mar 06 12:29:28 enhorning kernel: wlan0: send auth to
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:29:28 enhorning kernel: wlan0: authenticated
Mar 06 12:29:28 enhorning kernel: wlan0: associate with
08:55:31:cc:23:c3 (try 1/3)
Mar 06 12:29:28 enhorning kernel: wlan0: RX AssocResp from
08:55:31:cc:23:c3 (capab=0x431 status=0 aid=2)
Mar 06 12:29:28 enhorning kernel: wlan0: associated

Pretty much the same from the router:

12:19:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

12:24:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

12:29:21:
BE:1A:C2:58:95:F0@wlan2: disconnected, group key exchange timeout, signal strength -42

I have other devices connected to the same access point without issue,
and I can connect to other access points without issue. So I'm figuring
this is an issue specific to the combination of this chip and the particular access point.

I am not able to say whether the issue is in this driver, or with the access point. How might I go about finding out?

Best regards,
Riccardo P. Bestetti