Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1378636rwe; Fri, 14 Apr 2023 20:52:45 -0700 (PDT) X-Google-Smtp-Source: AKy350ZGJkb0+3BzdpNKVyoXAeFy0lcgbyGN1XIDSlDDZd4n+3DhGTlHbXndjHYi1EC92Ctcc1LL X-Received: by 2002:a05:6a20:4e22:b0:eb:f7d2:561 with SMTP id gk34-20020a056a204e2200b000ebf7d20561mr7244650pzb.61.1681530765179; Fri, 14 Apr 2023 20:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681530765; cv=none; d=google.com; s=arc-20160816; b=EU5W9oOYuISVBUa0QrqPdfE35nOe7fVS9Imli3L1IYd0nxszXeBWTb+hOcFvaefEPS FuF+gy4a7jqXa4yn1n9a3Sbm3GzYY3AxzZaL+jrevYMAKqTb9kzjsvMcpEYmXw+NLqHV 1Bg+GLNzmlN4CFQ3G+SmiEUnxJkM3Whu/8mm1XNev1gSmn4a2bCQkbWu31f7r+5zOY9W NFAxvRWFirJOdtvesTdY1A5kX+j4TJxqCebQH8qRvF7UYjvLgZr9F/cwOPOLGpw7Y+zE UlXXacwLdTai4UqiPguJyUCy33CSLL4/wC3UXmxPDwbibOXDPH9WEiEOUWQOgUru3QgP zx5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:authenticated-by; bh=shAtUx2ZRIjWmhkdKIVHJCvDsCf9Gh/ZpEju2iWPFTE=; b=TeUJgel+94IcXvzFzN0CM9x+WMUzHiP1FI3Qt8lop5ZbjkSZbVlc+r89iDeqWs0vuS fosAriFvWwhiNtet7XCINq8+R9MltkYscsUgLTGSTwiIkoe3z2lMe29uguUSbBOsCE1T wWyktbIijdISVwoVBmbNmJYE7SsiOgRnI1FGYv9xnfOp5BgDoE4Mo3RfWx26bTgVAt06 GEM8gGx86gJhrNU5l/BOvjPW9taiNi9u2e5FE+wpNi/Yjru5chYFPgOxQoUhZdnsngw2 CzTdVZEtPfGZJoRMvuVb4b3hGCTe/huMI2MW3KFd4/wkR83lVCDZOwSNNHBsUSOWzucX RlEQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv184-20020a632ec1000000b0050bedf49bb3si6204898pgb.821.2023.04.14.20.52.36; Fri, 14 Apr 2023 20:52:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229948AbjDODqA (ORCPT + 63 others); Fri, 14 Apr 2023 23:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229625AbjDODp4 (ORCPT ); Fri, 14 Apr 2023 23:45:56 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48EA55270 for ; Fri, 14 Apr 2023 20:45:53 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33F3jMv55001398, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 33F3jMv55001398 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Sat, 15 Apr 2023 11:45:23 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Sat, 15 Apr 2023 11:45:45 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Sat, 15 Apr 2023 11:45:45 +0800 Received: from RTEXDAG02.realtek.com.tw ([fe80::b457:c042:266c:6fec]) by RTEXDAG02.realtek.com.tw ([fe80::b457:c042:266c:6fec%5]) with mapi id 15.01.2375.007; Sat, 15 Apr 2023 11:45:45 +0800 From: Ping-Ke Shih To: "kvalo@kernel.org" CC: "linux-wireless@vger.kernel.org" , "Bernie Huang" , Gary Chang Subject: Re: [PATCH 2/5] wifi: rtw89: refine scan function after chanctx Thread-Topic: [PATCH 2/5] wifi: rtw89: refine scan function after chanctx Thread-Index: AQHZbtpB+64NDY+jxEi+Hfd6/tXK4K8rNayA Date: Sat, 15 Apr 2023 03:45:44 +0000 Message-ID: <048c2591a93365eea802d723cdccec6b3e5965e0.camel@realtek.com> References: <20230414140316.27656-1-pkshih@realtek.com> <20230414140316.27656-3-pkshih@realtek.com> In-Reply-To: <20230414140316.27656-3-pkshih@realtek.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1-2 x-originating-ip: [172.16.20.53] x-kse-serverinfo: RTEXDAG01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-ID: <2D24D7FAA28DE54899212F8913DC5A53@realtek.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 T24gRnJpLCAyMDIzLTA0LTE0IGF0IDIyOjAzICswODAwLCBQaW5nLUtlIFNoaWggd3JvdGU6DQo+ IEZyb206IFBvLUhhbyBIdWFuZyA8cGhodWFuZ0ByZWFsdGVrLmNvbT4NCj4gDQo+IFNpbmNlIHdl IGNhbiBnZXQgdGhlIGN1cnJlbnQgY2hhbm5lbCBkZWZpbml0aW9uIGVhY2ggaW50ZXJmYWNlIG1h cHMgdG8sDQo+IHJlbW92ZSBzdG9yZV9vcCBmdW5jdGlvbiB0aGF0IGlzIG5vIGxvbmdlciByZXF1 aXJlZCB0byBtYWtlIHRoaW5ncyBzaW1wbGUuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBQby1IYW8g SHVhbmcgPHBoaHVhbmdAcmVhbHRlay5jb20+DQo+IFNpZ25lZC1vZmYtYnk6IFBpbmctS2UgU2hp aCA8cGtzaGloQHJlYWx0ZWsuY29tPg0KPiANCg0KWy4uLl0NCg0KPiBAQCAtMjU2NywxMyArMjU2 NywxMSBAQCBpbnQgcnR3ODlfZndfaDJjX3NjYW5fb2ZmbG9hZChzdHJ1Y3QgcnR3ODlfZGV2ICpy dHdkZXYsDQo+ICAJUlRXODlfU0VUX0ZXQ01EX1NDQU5PRkxEX1NUQVJUX01PREUoY21kLCBSVFc4 OV9TQ0FOX0lNTUVESUFURSk7DQo+ICAJUlRXODlfU0VUX0ZXQ01EX1NDQU5PRkxEX1NDQU5fVFlQ RShjbWQsIFJUVzg5X1NDQU5fT05DRSk7DQo+ICAJaWYgKG9wdGlvb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