Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3291993rwb; Mon, 15 Aug 2022 23:24:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5REqBnqNvJjZYZEDAnAJjdA8zfOlo4r3/2s5RcdEbyR20WfbwSVuUxdku4ofXZID9Gkfe4 X-Received: by 2002:a17:903:124e:b0:172:7d49:b843 with SMTP id u14-20020a170903124e00b001727d49b843mr1426931plh.52.1660631076304; Mon, 15 Aug 2022 23:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660631076; cv=none; d=google.com; s=arc-20160816; b=YBmw84uJIf0SLAF25rdkef3Zr81xVS2++oNOKC2GyTKhEqQiuvv4yqYGC57KBBFIyR cyDy/4tf2L4ukWH2Hb8LK8TVw0h9vc+YseX8DDYjgabjKgIhKEEZwGu18kVZt1nnv3pt k67vz+tTU7iiAcGnvgv7z9N2guK/9U4Hoh71tTm5XCrZ1PbjiexRuZDq7Ee4SZLSfxWG RD9UK8/ttZK5QIoYvOwQO+2XnzS5/1KklpRofLAA0+f2cGDr+nFStJ10wZiC5j06OEjr UrxDRzCKhR5s2ahWFR34adt/iaRgJHdgCxYAWZ+eb0pcUaltNFtZbd5onuAKdpPm3C9y e2ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Kks1+04ffNeywQT8IduI0FRGW381wiMWLT2c4yfAG/o=; b=yY3bI3iVu+2ycuEqvvsjkO1x1+k1ymXrzbCtCjT+MM8AIYjrmqpUzgidnHWX87aYFb hBlgw+5fOBwuraEsyVvFl0bCapc2U0Jk0mdKBHGY0Vuy6PMfe8inXLAOpaCHCRPaA0rj c6bhnHN0mx4YxorpmGoihczzxHLx55BADQ739NobYlJljd0ryBQCEEw6MrHMusD0hdCC ulrNv0n6e0ighS0Kez2ZH5dlYk1xMN/g9Pf5op91lBSdsOuB7i8FW8bHVeBiOHAubdwq 6PqjdAh8tDz1/9eyqoIjW84y2ePPcfuDcceDX2yCwN48ON4BnSx8UDqfZ+XVLH1wPr0m sL0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QyBNijFN; 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=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 h69-20020a636c48000000b004206ecd8fabsi12877932pgc.781.2022.08.15.23.24.28; Mon, 15 Aug 2022 23:24:36 -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=@mediatek.com header.s=dk header.b=QyBNijFN; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbiHPGTS (ORCPT + 65 others); Tue, 16 Aug 2022 02:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbiHPGTA (ORCPT ); Tue, 16 Aug 2022 02:19:00 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A75C34DF3C for ; Mon, 15 Aug 2022 17:04:21 -0700 (PDT) X-UUID: 34b19a49bd6347e98634fed54336dfe7-20220816 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Kks1+04ffNeywQT8IduI0FRGW381wiMWLT2c4yfAG/o=; b=QyBNijFNMzRAfYqRTGJg7dUNduHC8oxvkk22rtuB1PPq8m+hRDTsTmPIdM1NAYYX3kVt90zQpZFk7yo3D8s1+pJ27xaD4yrCSGL54yrNqUUOXFLwdzvLwPez+q0g58rRDmK2NoRDc7wMAQIzfrkr5LJuV69H8yyd2KfT9vEwsuw=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.9,REQID:6a8b2cdc-fd0c-406d-9a57-c98d226ba73b,OB:0,LO B:0,IP:0,URL:5,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_H am,ACTION:release,TS:5 X-CID-META: VersionHash:3d8acc9,CLOUDID:737de4ae-9535-44a6-aa9b-7f62b79b6ff6,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:11|1,File: nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 34b19a49bd6347e98634fed54336dfe7-20220816 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1848035099; Tue, 16 Aug 2022 08:04:19 +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; Tue, 16 Aug 2022 08:04:17 +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; Tue, 16 Aug 2022 08:04:17 +0800 From: To: , CC: , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 6/9] wifi: mt76: mt7921: drop ieee80211_[start, stop]_queues in driver Date: Tue, 16 Aug 2022 08:03:44 +0800 Message-ID: <44acac2a0c1ce4a5d554a24227f80c6ccb3af878.1660606893.git.objelf@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 From: Sean Wang The firmware would be in charge of braking and continuing the traffic while the channel contexts are switching between different BSS and HW SCAN in the background. Signed-off-by: Sean Wang --- drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c index 76c8afc00c24..05b625e02265 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c @@ -175,15 +175,13 @@ mt7921_mcu_connection_loss_event(struct mt7921_dev *dev, struct sk_buff *skb) static void mt7921_mcu_bss_event(struct mt7921_dev *dev, struct sk_buff *skb) { - struct mt76_phy *mphy = &dev->mt76.phy; struct mt76_connac_mcu_bss_event *event; skb_pull(skb, sizeof(struct mt76_connac2_mcu_rxd)); event = (struct mt76_connac_mcu_bss_event *)skb->data; - if (event->is_absent) - ieee80211_stop_queues(mphy->hw); - else - ieee80211_wake_queues(mphy->hw); + + dev_dbg(dev->mt76.dev, "BSS %d is %s\n", event->bss_idx, + event->is_absent ? "Absent" : "Present"); } static void -- 2.25.1