Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1258831pxp; Sun, 6 Mar 2022 09:52:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyj+2WsE4HBNdqDGkiXjcObTxFxXQk7ClK31Gfp9HYvo+Wkp7tR/N5P9JtCgk5ng7iELby7 X-Received: by 2002:a05:6402:1435:b0:410:d2e1:e6dc with SMTP id c21-20020a056402143500b00410d2e1e6dcmr7520474edx.138.1646589126510; Sun, 06 Mar 2022 09:52:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646589126; cv=none; d=google.com; s=arc-20160816; b=AMLUuNblR0SmdvUIeXFsnV3NVOPZmp9cP1FCqE4qsh9CxZuWOnPCD2pRe8gDmbUMcS ahHyUZjK0PI48yADBjMQehVDJJh3bo+PhM6YCvoJBAtf978nE4GDv/u5jmZ3MLj4aTAN bYACaup7EDfGyUpYqKtuGcMvr06acl99Ssblwuh7WeWvvryUwct7trL8A5uhrucY3G3k /PMya7atlc63F27E1TC4hurq6NiUUykOoTRlnPM3PAUUilTkdJYyNzH+N56w9tzKMkyh JmqT9qJcyTKn5rQefFP1107Opy6/ggi2an8e0R2MpQ9DA2U96EYf3ZuUWJRaj8iOy75X GEkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version; bh=13krVSxrvzZyrKvMcMypwmyM+DX35tkOsOokT7q3ExM=; b=HkxckvrCN5ZLTqD+pzOrnlW9OcsExL38Z8w3x3C6bVBSTWAGobJzvyohjEdTdz1xOl wV6SNtcczewqELFPDK/EkjWynExHb5/aWpOSUQBAIsQ9hkpFUVMTZtWBL56dM818aQu9 1gVE7JDAQwYZTKO+4ZeIh1Pw4HgUbH7LRfP7mJWEjoDzgBnAOQyC+5dMysxMeveUAxFS OMNhDl9shMgnByCvM7Jvt3gd8BYqDz2FtCaPPgtFzWEX18M/Kmn1LzsupZxAX8ytdakY 8x7IGY2UT5ojSD8QDI9em2ovPbTbtjSY2bcm9aapU++sLeWCpfVPBLkxcrj7kGezGbj3 dTpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w26-20020a1709060a1a00b006d02222ff46si6219824ejf.754.2022.03.06.09.51.42; Sun, 06 Mar 2022 09:52:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233618AbiCFNKp convert rfc822-to-8bit (ORCPT + 71 others); Sun, 6 Mar 2022 08:10:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbiCFNKo (ORCPT ); Sun, 6 Mar 2022 08:10:44 -0500 Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9BB5424A8; Sun, 6 Mar 2022 05:09:50 -0800 (PST) Received: from relay12.mail.gandi.net (unknown [IPv6:2001:4b98:dc4:8::232]) by mslow1.mail.gandi.net (Postfix) with ESMTP id B1D8CC9CAD; Sun, 6 Mar 2022 13:00:15 +0000 (UTC) Received: (Authenticated sender: pbl@bestov.io) by mail.gandi.net (Postfix) with ESMTPSA id AC7DF200007; Sun, 6 Mar 2022 13:00:09 +0000 (UTC) Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset=UTF-8 Date: Sun, 06 Mar 2022 14:00:08 +0100 Message-Id: From: "Riccardo Paolo Bestetti" To: Cc: , , , , , , , Subject: MK7921K de-auths from AP every 5 minutes X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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