Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp666146rdb; Fri, 22 Dec 2023 00:59:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFeIcvd687+1wW+bzvqy2ZLR2fH5lMOxXG6WDt05q9KsNG7wce7cfg+p1dRP6CSOARESff8 X-Received: by 2002:a17:902:b58b:b0:1d4:20eb:ba4c with SMTP id a11-20020a170902b58b00b001d420ebba4cmr253147pls.56.1703235597275; Fri, 22 Dec 2023 00:59:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703235597; cv=none; d=google.com; s=arc-20160816; b=oHpLClFl2jkMlZnfVraZcpqkuIcvYd61fF9vSUQk0bEh0DA2fAzTPrxMcjB5kQIzMl UMqpJkIySZEpYxxUgKlVbUq8opoL4FXXPwC0ueiYLFNzr29Az426qct236cY1Z+RnQx/ I11EawYbJ2LLA9jyGsWNWhqrVxZbFIYmxOJO11gkOGvR+HINkD9aoY8gUQ8ssjOu32qP 4ZfBcoqZDNOaK7yl9QVxaW0W+jl6HOSKDcpY6faqN4kZAnt2fuQa+ta6/cgNUmKNJBgA iR6oi0sg3Ouc+hCFFt3pj5Cl/J47903u0g8WGH3p02fJJvYndVDMgLj75+ohtiZNxeNi YAMg== ARC-Message-Signature: i=1; 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-id:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=BwllhMWRa+Bza5T+Fgh3aSLRu5Y2Jhw6YKVtVyKz4SI=; fh=1NpYJzJ0F0TgP71s4Ch2KNX2gow5u/D8fY3mOaVnhHs=; b=PmdyLJdDkUcNoO/OcPUTUqJylj9DmpI5gMkC4w2sa/zBsDEnHW6w50+1b6qfLHuNzO Lg6J7JEcFa8z0any5WSZOVAWgYoNUHsFHxdFFi9X0bDV3wRBw6Q+NPpRQdJguTtq4WNv BeA+iDMm8wIt3bvF51PLjb8Z/iZdG0S1B/90ftt4byinCdfyccRgaMWhhfHEPD+Uw3Hz 5deUJvWSE/cMtNa0vbHU3EdY34H1dUGVND8tTguMbvqwDuYMEUzGjBJ+tufFgXe93Hwo Y3WUOAWCsys3SWowsN+/ftVCx0UeKZijItxPR/1JkCH4iPk5uJKNiqd3s8VaLRVbipzt E3Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1214-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b18-20020a170902d31200b001d3ce115fb4si2858031plc.82.2023.12.22.00.59.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 00:59:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1214-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 B2DE8282489 for ; Fri, 22 Dec 2023 08:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19C34D512; Fri, 22 Dec 2023 08:59:54 +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 47FF3D50B for ; Fri, 22 Dec 2023 08:59:50 +0000 (UTC) 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 3BM8xPPM12035596, 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 3BM8xPPM12035596 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Dec 2023 16:59:25 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Fri, 22 Dec 2023 16:59:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 22 Dec 2023 16:59:24 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7]) by RTEXMBS04.realtek.com.tw ([fe80::40c2:6c24:2df4:e6c7%5]) with mapi id 15.01.2375.007; Fri, 22 Dec 2023 16:59:24 +0800 From: Ping-Ke Shih To: "linux-wireless@vger.kernel.org" , "martin.kaistra@linutronix.de" CC: "Jes.Sorensen@gmail.com" , "kvalo@kernel.org" , "rtl8821cerfe2@gmail.com" , "bigeasy@linutronix.de" Subject: Re: [PATCH v2 13/21] wifi: rtl8xxxu: support multiple interfaces in watchdog_callback() Thread-Topic: [PATCH v2 13/21] wifi: rtl8xxxu: support multiple interfaces in watchdog_callback() Thread-Index: AQHaNHUvpBpgdM0KL0yoZX5WUI+EHrC0gaBA///qhYCAAAWQAIAACUAA Date: Fri, 22 Dec 2023 08:59:23 +0000 Message-ID: References: <20231221164353.603258-1-martin.kaistra@linutronix.de> <20231221164353.603258-14-martin.kaistra@linutronix.de> In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW user-agent: Evolution 3.36.1-2 x-kse-serverinfo: RTEXDAG02.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: Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback T24gRnJpLCAyMDIzLTEyLTIyIGF0IDA5OjI1ICswMTAwLCBNYXJ0aW4gS2Fpc3RyYSB3cm90ZToN Cj4gDQo+IEFtIDIyLjEyLjIzIHVtIDA5OjA1IHNjaHJpZWIgTWFydGluIEthaXN0cmE6DQo+ID4g QW0gMjIuMTIuMjMgdW0gMDI6NDUgc2NocmllYiBQaW5nLUtlIFNoaWg6DQo+ID4gPiBPbiBGcmks IERlYyAyMiwgMjAyMyBhdCAxMjo0NeKAr0FNIE1hcnRpbiBLYWlzdHJhDQo+ID4gPiA8bWFydGlu LmthaXN0cmFAbGludXRyb25peC5kZT4gd3JvdGU6DQo+ID4gPiA+IENoZWNrIGZpcnN0IHdoZXRo ZXIgcHJpdi0+dmlmc1swXSBleGlzdHMgYW5kIGlzIG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4dV93YXRjaGRvZ19jYWxsYmFjayhzdHJ1Y3QNCj4gPiA+ID4gd29ya19z dHJ1Y3QgKndvcmspDQo+ID4gPiA+IA0KPiA+ID4gPiAgICAgICAgICAgICAgICAgICAgICAgICAg ZGV2X2RiZyhkZXYsICIlczogbm8gc3RhIGZvdW5kXG4iLCBfX2Z1bmNfXyk7DQo+ID4gPiA+ICAg ICAgICAgICAgICAgICAgICAgICAgICByY3VfcmVhZF91bmxvY2soKTsNCj4gPiA+ID4gLSAgICAg ICAgICAgICAgICAgICAgICAgZ290byBvdXQ7DQo+ID4gPiA+ICsgICAgICAgICAgICAgICAgICAg ICAgIGNvbnRpbnVlOw0KPiA+ID4gPiAgICAgICAgICAgICAgICAgIH0NCj4gPiA+ID4gICAgICAg ICAgICAgICAgICByY3VfcmVhZF91bmxvY2soKTsNCj4gPiA+ID4gDQo+ID4gPiA+ICAgICAgICAg ICAgICAgICAgc2lnbmFsID0gaWVlZTgwMjExX2F2ZV9yc3NpKHZpZik7DQo+ID4gPiA+IA0KPiA+ ID4gPiAtICAgICAgICAgICAgICAgcHJpdi0+Zm9wcy0+cmVwb3J0X3Jzc2kocHJpdiwgMCwNCj4g PiA+ID4gKyAgICAgICAgICAgICAgIHByaXYtPmZvcHMtPnJlcG9ydF9yc3NpKHByaXYsIHJ0bDh4 eHh1X2dldF9tYWNpZChwcml2LCBzdGEpLA0KPiA+ID4gPiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHJ0bDh4eHh1X3NpZ25hbF90b19zbnIoc2lnbmFsKSk7DQo+ID4g PiA+IA0KPiA+ID4gPiAtICAgICAgICAgICAgICAgaWYgKHByaXYtPmZvcHMtPnNldF9jcnlzdGFs X2NhcCkNCj4gPiA+ID4gLSAgICAgICAgICAgICAgICAgICAgICAgcnRsOHh4eHVfdHJhY2tfY2Zv KHByaXYpOw0KPiA+ID4gPiAtDQo+ID4gPiA+ICAgICAgICAgICAgICAgICAgcnRsOHh4eHVfcm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