Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1303889lqj; Mon, 3 Jun 2024 17:57:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7rrtybybuo0aWg+tLhvZ7ep7qCG+FWk46WPNx89BtzaH1/lPDebD4WsPMUYWQPUGvGGTolJH5N4iu1LcDKefZU/0vw+rhp69frZWUJg== X-Google-Smtp-Source: AGHT+IEWpYCAa64+dks3CIIHsGg6TOZ+3bOQYAwoNhRXr60rHlU4rp2lqBC0jUeiPJVsxQRBwEWZ X-Received: by 2002:a05:6a20:da86:b0:1ae:4266:b39c with SMTP id adf61e73a8af0-1b2a2c0a647mr1660712637.17.1717462676058; Mon, 03 Jun 2024 17:57:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717462676; cv=pass; d=google.com; s=arc-20160816; b=qfOqFEWO25jPvdB8sYcmWKGhgyPGNM+QvRPdHZ/m+FToVvctOIwVwkzmz3uKwOClLb 6v6IDHG617OH5L5SGcG7pukcvX2iD1/w1RA6q4ZPcLI/L5lfTzEnJauK9bihqwmgQrhy +KWgLSMSBTkzqg9N12FweRkzISE4cafN1tcFeqhz9H8jfpyni3aWZaDzwIw8ZIuanwXf mVZgKIJ5A/hF6OzEDqFHoQFks2LkkKfcetnZsOJzvuX/BunlgqYoMJ35nJx+Wv5ZYrNI 3C0Iwb8V+ylbYH3CoWCywQoWoKrIjtp9u78h0pMN80UL4us/k/hOuoBFoZwS2sqQXnXE lEYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=Ep1F55yvxJQG3b4Ii0gMf7/RB9src+J9Toqj7yvV+x8=; fh=1irmLcL605UfvecXtgu99BiPtdzLm4UxFxzeaPKIq3o=; b=pzWC4+nIDBKcKaE0GWR/jjL5hbHlFM4qFr0r7fn03ybsovf2EUZQwAnYiRKFS+hghu PQ2PrWV8TAPYKpVWoG9jFAfCMjQfQFsCS+mBYSvdxmmDaP1pFoHS/lXL9UYA26etTYVA fp46jvxIyXFcrgq/+OAZU7Yjtn4qWeZ00lBNz1RqCluOv6u16+x1WLTiCYjypQizTb49 9Kr5fdeNW8k2rTev/SK6UHSsUMG0x8+Oj0jVzCHikKI7ohECubOQ4yM4PhqNddy2Ilf+ 3phtJUwQqGysJ4JGbYfPKG4wMZvVorGBJQgLw3Mdg0rTvnh9IRch52F/cvI+qJFWEgV0 2j0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-8452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8452-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35a0e6c78si7226813a12.373.2024.06.03.17.57.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 17:57:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-8452-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8452-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 98BA8285A0F for ; Tue, 4 Jun 2024 00:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A13C6FD3; Tue, 4 Jun 2024 00:57:53 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D90B652 for ; Tue, 4 Jun 2024 00:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717462673; cv=none; b=YewSAxh6gr4X5upUrlFVWWYcF4Ps3SJGl+TpEs9570vDNQd+XLGbr+S9oqcI3HLhBrhGpA9xsvqWI3pfjklbgd/fqmkIjJ4maD7NMEfQHAk6okVeCFTZ30ZZGZ8xnjldRQE7kJDrrUt7voML0SpnvLbjfKw5Pd9gJ2HXxGcsTw8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717462673; c=relaxed/simple; bh=Ep1F55yvxJQG3b4Ii0gMf7/RB9src+J9Toqj7yvV+x8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=m+888GbclGtDwAAixxno1tjDr7Bdzmljw37ihdLWrwJ3bMpk8FU+S/8JR/KiQ5f36Sog1CnMOqOhuzO/9PjtMxSZXzG6FRlXaHdAAiiusq0z6SMECgXhWyW40kfS/hWWRHTLFd2EmPo8sYQ6d0zmUtVyHN+C3KsmdMiYVyLM0h8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 4540vev973589075, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 4540vev973589075 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 4 Jun 2024 08:57:40 +0800 Received: from RTEXMBS05.realtek.com.tw (172.21.6.98) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 4 Jun 2024 08:57:40 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS05.realtek.com.tw (172.21.6.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 4 Jun 2024 08:57:40 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7]) by RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7%5]) with mapi id 15.01.2507.035; Tue, 4 Jun 2024 08:57:40 +0800 From: Ping-Ke Shih To: =?utf-8?B?TWFyY2luIMWabHVzYXJ6?= , "linux-wireless@vger.kernel.org" CC: =?utf-8?B?TWFyY2luIMWabHVzYXJ6?= Subject: RE: [PATCH] wifi: rtw88/usb: stop rx work before potential power off Thread-Topic: [PATCH] wifi: rtw88/usb: stop rx work before potential power off Thread-Index: AQHatcY9cRA6JA7pWkmRMPi3BJ9Af7G2xtwg Date: Tue, 4 Jun 2024 00:57:40 +0000 Message-ID: <0063cfc3468f4203a2e5db43d949b10b@realtek.com> References: <20240603145535.1858856-1-marcin.slusarz@gmail.com> In-Reply-To: <20240603145535.1858856-1-marcin.slusarz@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 TWFyY2luIMWabHVzYXJ6IDxtYXJjaW4uc2x1c2FyekBnbWFpbC5jb20+IHdyb3RlOg0KPiBGcm9t OiBNYXJjaW4gxZpsdXNhcnogPG1zbHVzYXJ6QHJlbmF1LmNvbT4NCj4gDQo+IEF2b2lkcyBXQVJO X09OKCFsb2NhbC0+c3RhcnRlZCkgaW4gaWVlZTgwMjExX3J4X2xpc3QsIGFmdGVyDQo+IHRoZSBw YXRjaCB0aGF0IGRpc2FibGVzIHBvd2VyIG1hbmFnZW1lbnQgb2YgODgyMUNVLg0KDQpQbGVhc2Ug ZGVzY3JpYmUgaG93L3doYXQgeW91IGRvIGluIHRoaXMgcGF0Y2guIA0KDQo+IA0KPiBTaWduZWQt b2ZmLWJ5OiBNYXJjaW4gxZpsdXNhcnogPG1zbHVzYXJ6QHJlbmF1LmNvbT4NCj4gLS0tDQo+ICBk cml2ZXJzL25ldC93aXJlbGVzcy9yZWFsdGVrL3J0dzg4L2hjaS5oICB8IDEyICsrKysrKysNCj4g IGRyaXZlcnMvbmV0L3dpcmVsZXNzL3JlYWx0ZWsvcnR3ODgvbWFpbi5jIHwgIDcgKysrLQ0KPiAg ZHJpdmVycy9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydHc4OC9wY2kuYyAgfCAgNiArKysrDQo+ICBk cml2ZXJzL25ldC93aXJlbGVzcy9yZWFsdGVrL3J0dzg4L3NkaW8uYyB8ICA2ICsrKysNCj4gIGRy aXZlcnMvbmV0L3dpcmVsZXNzL3JlYWx0ZWsvcnR3ODgvdXNiLmMgIHwgNDAgKysrKysrKysrKysr KysrLS0tLS0tLS0NCj4gIGRyaXZlcnMvbmV0L3dpcmVsZXNzL3JlYWx0ZWsvc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