Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1016002iog; Wed, 15 Jun 2022 18:23:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uxa1D0zYEUUhYONTU/FtpkMpyRJNLpLWrM+5V8m2mLmmIEBssMlQAVc/UhDzadxpk8kjDK X-Received: by 2002:aa7:d1ce:0:b0:42d:cf0e:3389 with SMTP id g14-20020aa7d1ce000000b0042dcf0e3389mr3317874edp.4.1655342606273; Wed, 15 Jun 2022 18:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655342606; cv=none; d=google.com; s=arc-20160816; b=enXqWq8oHhj0xfzhSvTMLQgIFUHlW11sj8uNX9tFLF61z+HZoLXfhzhEBtwABp0BCN VZuOJKtiV6qsnSBkzV88SFiIZJ79N4tcdeeAoS75luvS1wSwaeG95bESpFjK7Lxk0Eew 8GEAdbCqXUmr1gQEKhJg2N5oqHgU7ZLpUVonQjcu2q1+z4IYY7mj02QNrZG14jUQ6hV0 /IgZt82DO+dt7EQgo38AbJ5RK92R6RUXR8geaIdVlljjCwkpIQHJ4zadXYynMWIq4Xju vXF3BhbXsEeJRZJI7dyYM1bNtOYMwdmiM/zK9GNPFoZRtViwduypDv2K3FQYZOoyaXzg Xumw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=TMaCP8neA/W2WALOQr9pSisVvoiC4ylHOd7hGuNhXEM=; b=c7XT8KNzIbFADM7mUAroC4GvlawABR//Kh7QAQRoKjMK9xYmTDFV9/wqyYphfPHqGn QKKPkYBzNWh6EnC8YYE9aXNsBuzSwwVTBpqSOKRoSPkTaCiU8j/oxr0+BAfIZ36fguJQ LlGsp42W1ytRO9PNh29zXbv3cw8qPkxJ8D/8fQ0TSljxkAZM9LYkylo2Jcf+Rm3YjU0h aCu0rLpRbW/LXRJtBveGZFMr4E5nl4WI2Vytumpf9HTfYk+pVRM1p0zXzq38JiV6m3Vt 2UWhVfrPoLAYu7o0/yG+IgAsF0HMwzJdkYH4onhMS5YqOuOFyfEWnFuGwqUlCuAmmpTO tiGg== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz18-20020a1709077d9200b006f363ca1755si226334ejc.921.2022.06.15.18.23.09; Wed, 15 Jun 2022 18:23:26 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344593AbiFPBLK (ORCPT + 65 others); Wed, 15 Jun 2022 21:11:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232206AbiFPBLI (ORCPT ); Wed, 15 Jun 2022 21:11:08 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A817141308 for ; Wed, 15 Jun 2022 18:11:02 -0700 (PDT) X-UUID: 6716d6693ad94ecbb9928965dd0d9548-20220616 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.6,REQID:e0d1cb51-56ef-4d66-9074-4c015b1df84a,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:5 X-CID-META: VersionHash:b14ad71,CLOUDID:be93a748-4c92-421c-ad91-b806c0f58b2a,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:1,File:nil ,QS:nil,BEC:nil,COL:0 X-UUID: 6716d6693ad94ecbb9928965dd0d9548-20220616 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 358829312; Thu, 16 Jun 2022 09:10:56 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 16 Jun 2022 09:10:55 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 16 Jun 2022 09:10:55 +0800 From: To: , CC: , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 1/2] mt76: mt7921u: enable HW beacon filter Date: Thu, 16 Jun 2022 09:10:52 +0800 Message-ID: <27f75af42fe59ba9e3fadd173dfc777176eca555.1655341405.git.objelf@gmail.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,MAY_BE_FORGED, SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no 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 From: Sean Wang HW beacon filter and HW connection monitor can be supported on MT7921U as well so we enable them to be consistent with MT7921[E,S]. Tested-by: Deren Wu Signed-off-by: Sean Wang --- drivers/net/wireless/mediatek/mt76/mt7921/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/main.c b/drivers/net/wireless/mediatek/mt76/mt7921/main.c index acf6567368b7..d803a7dd5f83 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/main.c @@ -677,8 +677,7 @@ static void mt7921_bss_info_changed(struct ieee80211_hw *hw, if (changed & BSS_CHANGED_ASSOC) { mt7921_mcu_sta_update(dev, NULL, vif, true, MT76_STA_INFO_STATE_ASSOC); - if (dev->pm.enable) - mt7921_mcu_set_beacon_filter(dev, vif, info->assoc); + mt7921_mcu_set_beacon_filter(dev, vif, info->assoc); } if (changed & BSS_CHANGED_ARP_FILTER) { -- 2.25.1