Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4490446rwb; Wed, 17 Aug 2022 00:20:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR4e7Gav/CZDRSbwUfofM83QyPG7iQqG9AxX6dA/QkNW/gpGbzsw11PMPDlkbYCkiY5mnfai X-Received: by 2002:a17:902:e749:b0:171:2480:4320 with SMTP id p9-20020a170902e74900b0017124804320mr25179236plf.153.1660720837824; Wed, 17 Aug 2022 00:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660720837; cv=none; d=google.com; s=arc-20160816; b=AFCEdJL0nICouTd2U+qe0hphMsxmdC4rhtbY2/Prklq/73HQbIfTE8HLoiJdljS7R+ DAbnGdZ4TSqBm0uuCDz8YvMG6CQ7afTkil6M8sIN11DXEzEHIOcw5EoZwrDVp1Pv7q0D thJ/9tD3fQ4G/fXUz9KIMAdErRrCrmE6j0L4izsIvfg493JXpWzlVQkXJZAHQlyfU52M 5HqoMFZqaZ1BZTbiv+9W+Fg72ZQIRhgsK9ayrRN4cLXVw43zCoh6j+6X2M2ODxFOa6Kx 8W0LBPTYtuiQbfybU8KyETQqIQL+Vw+Vuy6tPtCtl/Kv1QkETNvBEydHlsJyChlHNT+A 3DyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mcQVHj71tSV6pnHeTJ+6rYgGXSr0q1NE/aZXcNyhwEI=; b=vvXkvo0SG566ewaMJzudHrmnTzRs7zyuZtMA6IcqVPHsfFzJjsGP6Im3ARl7ohTsi8 a5/eUg5wmhN308AI0jQKUGows1X5qXjkyeuBBMajhOYGQkvV+XNik1FuGwlJfr6Q5XDH H4AlOowhBL3Rjule0apEnjAmTreL2sSTRtqHH68MTxpO1ZWi6n0ShkCSTsaNbX1HHswl wCbhGjkk48JQC+da0V/73mk2pZZqsWo7OBdMD6fcyS6n0QGo9o0Ec7yxQwahZvYqc1O2 r20wo+SBVT0iTSyJ1A91kmAIcT36VQMsmMe8723rFvZp892kUnta8v8yURiGMZw9UWTY bMCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oXrPDL2d; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bi4-20020a170902bf0400b0016dd4c3c2e2si587489plb.488.2022.08.17.00.20.26; Wed, 17 Aug 2022 00:20:37 -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=@kernel.org header.s=k20201202 header.b=oXrPDL2d; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbiHQHQv (ORCPT + 65 others); Wed, 17 Aug 2022 03:16:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbiHQHQu (ORCPT ); Wed, 17 Aug 2022 03:16:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 035116B671 for ; Wed, 17 Aug 2022 00:16:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8E18161135 for ; Wed, 17 Aug 2022 07:16:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EC2EC433D6; Wed, 17 Aug 2022 07:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660720608; bh=FNjxzBJcn3CYV/xVJ51Tq5PY0Ainm8ixx5B3ckFEkwg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oXrPDL2dBHAPnAYVR1SN3o2dzq+y3gYQVJ+KdoSnqUaArIis40WUQrHsK969NR5Bt gPnKaFZxWDH6Uwgx1DrG2TbkyS32mUwtVtnbY354EhO1H1P/s7q+8A5TjcaUnsLlea nR3C8BzWOFbDt+gLOY1CnovXkyI32IDuRpHTEJ1OnbY8wy8Xkd15k7gOPIfR+NPfnC R4Oo3RG0Gal3U7XCwqpiJsOq2cjMPkMorSroOQ1iEOqauFhMDYNVVoMUxDzKZzpMqM x8q2B4wx4drI9ljLC1JckGpPC4neFTh8Ww9oYGFUkYdanIJUBi4C/DfXDIVfKn5+zQ o3N14qhbMcJAg== Date: Wed, 17 Aug 2022 09:16:44 +0200 From: Lorenzo Bianconi To: sean.wang@mediatek.com Cc: nbd@nbd.name, lorenzo.bianconi@redhat.com, Soul.Huang@mediatek.com, YN.Chen@mediatek.com, Leon.Yen@mediatek.com, Eric-SY.Chang@mediatek.com, Deren.Wu@mediatek.com, km.lin@mediatek.com, jenhao.yang@mediatek.com, robin.chiu@mediatek.com, Eddie.Chen@mediatek.com, ch.yeh@mediatek.com, posh.sun@mediatek.com, ted.huang@mediatek.com, Stella.Chang@mediatek.com, Tom.Chou@mediatek.com, steve.lee@mediatek.com, jsiuda@google.com, frankgor@google.com, kuabhs@google.com, druth@google.com, abhishekpandit@google.com, shawnku@google.com, linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 6/9] wifi: mt76: mt7921: drop ieee80211_[start, stop]_queues in driver Message-ID: References: <44acac2a0c1ce4a5d554a24227f80c6ccb3af878.1660606893.git.objelf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Imdezpl1z2VRY1Ks" Content-Disposition: inline In-Reply-To: <44acac2a0c1ce4a5d554a24227f80c6ccb3af878.1660606893.git.objelf@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --Imdezpl1z2VRY1Ks Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > From: Sean Wang >=20 > The firmware would be in charge of braking and continuing the traffic whi= le > the channel contexts are switching between different BSS and HW SCAN in t= he > background. >=20 > Signed-off-by: Sean Wang > --- > drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) >=20 > diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/mcu.c b/drivers/ne= t/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 =3D &dev->mt76.phy; > struct mt76_connac_mcu_bss_event *event; > =20 > skb_pull(skb, sizeof(struct mt76_connac2_mcu_rxd)); > event =3D (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"); do we really need this? I guess we can just drop mt7921_mcu_bss_event entir= ely Regards, Lorenzo > } > =20 > static void > --=20 > 2.25.1 >=20 --Imdezpl1z2VRY1Ks Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCYvyV3AAKCRA6cBh0uS2t rGbiAQCVTRg181gZRU2USMzy+MXhf31XRsa71hVB/N+lh8KdtwEA7qJyl2AFwuFP PDEEZWrFjg269Fez6epcJ5Ih/WhlOwc= =nXU9 -----END PGP SIGNATURE----- --Imdezpl1z2VRY1Ks--