Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4732694rwb; Tue, 17 Jan 2023 04:59:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXtcKJ/tCSklrY7mBEy6JvRcIKtuFbYt7sRwxO0iwDU+2rRysG47a+mTVwsz3rXPqdCQjElL X-Received: by 2002:a17:907:d406:b0:846:8c9a:68a0 with SMTP id vi6-20020a170907d40600b008468c9a68a0mr3243397ejc.30.1673960366434; Tue, 17 Jan 2023 04:59:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673960366; cv=none; d=google.com; s=arc-20160816; b=Ci2wKOCXEjj0IlzbwlmiiwBFXYDnfEc/Qp/bP6CuLN+xNYAkemRqPm2Huzb1Rs9a+4 Ia9mH5LZm+VzSQ0I5sfE+n1HN0OAprEyARUvbk32jCG6WZQAw5ACjuS151qk9HPsdGx+ c9dK94zk51pdba08OwMWDRs1mfYuo+vSQnkWAETzfGXQG1iNZZ/oDU2tCMwRoz2fXbL2 9pC0kdy0JFuJQQ+E7CnLHDNA5zdEP08zFA3C6mNkVnSikFtI/perIgRsGcu7rJyGUOBU 5Nik+rSHSGqRRCsY6h3vYSC2aBp/rLWtU2q4ydY39a60Z1tRM2sc+IUD2GihNUz1rMpK TAMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WzvRr7+qSbRBGmC6DxktWmbAyP+NeusclYIImbNcM0w=; b=m6X6/so7Ba/ZuwyWfuQZEmpnUp6ibojNVcQ3ZAJJYibTt9R33Yg9GI/oZLJDX+kaLu TW+FOIV+g2A/sS4yeg6fO5Rvz3FINBVOWLXiirwUMl6gc3/NcggcvfEWXadUw+soEHkQ WSlzqxAnwucvKqgfXodWHVvv1aq2MQwfiv2qFFKQ/OXr86MYooqSFbhveE00wYaeRdv5 9qT850bYIHbD6W8DPurXXySyBfxsCM5RRsubrCAiwNn0uPzOpAKaQJIBYR5kGtY4sfm8 dmOHpElxztVhyjaJEGj9mxtSoDhcz0Lm1XzutBGgj0O6UuuMb6ljPq9op7JGKFJmf3Vj zybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Vnk4EWG8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt42-20020a1709072daa00b0087002a0d8b9si8384938ejc.262.2023.01.17.04.59.07; Tue, 17 Jan 2023 04:59:26 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=Vnk4EWG8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236850AbjAQMyk (ORCPT + 63 others); Tue, 17 Jan 2023 07:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236980AbjAQMy1 (ORCPT ); Tue, 17 Jan 2023 07:54:27 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D46D305E5 for ; Tue, 17 Jan 2023 04:54:24 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9FD246602D6D; Tue, 17 Jan 2023 12:54:22 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673960063; bh=ybDJyEsG2p+R9ociVobtOJpRk9E5EtsX4W0/x3OP+ew=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Vnk4EWG8K9v1Y/gB9LAZUAnVWTN/KJw6vtAnMJq2914rYBX45sPCTMx970KDY53tN C4JuKvANepXMZk5MGNea4SwAhoyURhJ/Ok0sdKyHx7+i/pP0wu0qgdgYAVQLNln+ln Ut6mVSv/A+avgThCmZqSzlIojxXjruBFgyvBntBwgjF6u9QbvFIyedY4I2xcT0Av3u k1py8FSEGIktQ+Zi8UQi3wg6D52iwlR8Jo44UdPRvpQLnLR5D0yvpgnj6OJHE3sux0 N6mO97U0bLN3RisFepHXpT1jAYbasmWnqCYz1gIyUigCjYvUVraduFKxz5xwIjZrg8 dY5IK6+IFwg3g== Message-ID: <6e95eb4f-614b-7b09-38ad-d23212ef81b3@collabora.com> Date: Tue, 17 Jan 2023 13:54:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] wifi: mt76: mt7921: fix rx filter incorrect by drv/fw inconsistent Content-Language: en-US To: Deren Wu , Felix Fietkau , Lorenzo Bianconi Cc: Sean Wang , Soul Huang , YN Chen , Leon Yen , Eric-SY Chang , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Stella Chang , Evelyn Tsai , Ryder Lee , Shayne Chen , linux-wireless , linux-mediatek References: From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 Il 17/01/23 10:30, Deren Wu ha scritto: > From: Neil Chen > > The rx filter, in mt7921 series, may be changed in fw operation. There is > a racing problem if rx filter controlled by both driver and firmware at > the same time. To avoid this issue, let mt7921 driver set rx filter by new > command MCU_CE_CMD_SET_RX_FILTER and allow the firmware controlling it > only. > > Reviewed-by: Lorenzo Bianconi > Co-developed-by: Deren Wu > Signed-off-by: Deren Wu > Signed-off-by: Neil Chen For MT7921E: Tested-by: AngeloGioacchino Del Regno