Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1138297rwd; Thu, 18 May 2023 08:23:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44kkOGTdjjrkf/kUxTfLHf98x17dnnU8WlcHkE4yVvskMxoXFJCNIhLo4KPjzr0Cvszmtp X-Received: by 2002:a05:6a00:15d2:b0:64d:1585:fff2 with SMTP id o18-20020a056a0015d200b0064d1585fff2mr4211228pfu.29.1684423423120; Thu, 18 May 2023 08:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684423423; cv=none; d=google.com; s=arc-20160816; b=esuWTZVLLGmyV7QAF4j45WYUK/RA51pysnmuDZvSMEJyHMrYGFbi1s4Hm5e68PNHnA JKYC4d/LZSKRzELOEnMv917cVVRsL78ovWBsA3w3ZnoU2uSInALBPqUixvK+JMFiSpy1 2XVeIJmSuazI2w+3vv+VcV+VuTzTkShaeMTmEF/zSXOa+y4+cWKfzuv9AzI1MxWDtOKj k4/s1/R/cRjxIVFjgjBiD3URLfzqkh1OnHQC+SzWpW3kr/PUZe7W3mCkcikgjrpXsIG0 xc15aWho/YqAS7iGTR0fhQOO7M499XqLzdsYgjwqSa4ZJfdxy+PZCjDkbwn9Q9bDN48z EwkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=IUDXPaR3HByrD+Ua2T6+WJzRwIqYMPKFgDK2Bw3UsHo=; b=esf7WObaoF2UpFQQdsv2/PTm361AVRFxJJj/KKLiqGGdWYlKeJHpg3cprk1sFbsDXz 7u1rGhbtu7KYXy3wLdBOpzA9qg41N4sEFD+tqlbUSuON61shLZFyOnfwdmR1uMEayMGo l8GofT5TFURn3Z9oLF5SCIEvfm9hZ71Xh2166NcC0+yLtjHkNoKUw+xf7PNCNZEuInsD pBGG94o4NMqMyazEwqbpg8eEG2IK9DiznMYjfWOuiYwuUpNZWMJg6CpUfqzY5Jc8QRXy GPhytMxibc36LhfSCiCvGfpNQcWjQe+CWCnWmGInI8pHMeKb9KbM+kO2QpjcrPIy+3F4 7YgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wrar.name header.s=20160710 header.b=p1hFnED0; 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 b198-20020a6334cf000000b0052c8234a858si1727764pga.168.2023.05.18.08.23.29; Thu, 18 May 2023 08:23:43 -0700 (PDT) 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; dkim=pass header.i=@wrar.name header.s=20160710 header.b=p1hFnED0; 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 S231975AbjERPGh (ORCPT + 62 others); Thu, 18 May 2023 11:06:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231980AbjERPGQ (ORCPT ); Thu, 18 May 2023 11:06:16 -0400 X-Greylist: delayed 1568 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 18 May 2023 08:05:44 PDT Received: from durkon.wrar.name (wrar.name [116.203.248.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD05619B1 for ; Thu, 18 May 2023 08:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=Content-Disposition:Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Content-Disposition:In-Reply-To:References; bh=IUDXPaR3HByrD+Ua2T6+WJzRwIqYMPKFgDK2Bw3UsHo=; b=p1hFnED046Hq2gyfPxfFFyI2fN /ZdoOtzhf0bGJLBcIJrbyOeowp0761zWfNEVkuXifxfRLRuALNQneixrojNwJxK3K+zZYso5U1+0t 2+te3QmBYr/WBFOPdlqy1/ZsXnt3xpqt/6KToCHlhRqd/u9p6LrhEZV0w+nu929A60eY=; Received: from wrar by durkon.wrar.name with local (Exim 4.96) (envelope-from ) id 1pzemz-002Aqs-2t; Thu, 18 May 2023 16:39:33 +0200 Date: Thu, 18 May 2023 16:39:33 +0200 From: Andrey Rakhmatullin To: linux-wireless@vger.kernel.org, Neil Chen , Deren Wu Cc: Lorenzo Bianconi , Felix Fietkau , AngeloGioacchino Del Regno Subject: MT7922 problem with "fix rx filter incorrect by drv/fw inconsistent" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 Hello. I have a "MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter" (14c3:0616) and when the commit c222f77fd4 ("wifi: mt76: mt7921: fix rx filter incorrect by drv/fw inconsistent") is applied (found by bisecting, checked by reverting it on v6.3) I have the following problem on my machine: when I connect to my router no DHCPv4 exchange happens, I don't see responses in tcpdump. My network setup is non-trivial though, and it looks like the problem is specific to it, but I still wonder if it's some bug in the aforementioned patch as my setup works with all other devices and I would expect it to work as long as the network packets sent by the device are the same. My setup is as follows: I have an ISP router which provides a 2.4GHz network and another router (Xiaomi R4AC with OpenWRT) connected by Ethernet to it that provides a 5GHz network and is configured as a "Relay bridge" (using relayd) to forward packets to the ISP router and back. This includes DHCPv4 packets, which are handled by the ISP router. tcpdump on the machine with MT7922 shows that the DHCP requests are sent while the responses are not received, while tcpdump on the bridge router shows both requests and responses. I've tried connecting the machine to the ISP router network directly and also to another AP (one on my phone) and those work correctly on all kernels. Please let me know if I need to do any other debugging or troubleshooting steps. Thank you.