Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp369917rdb; Tue, 19 Dec 2023 22:06:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHsRqgC8r1Nhz2ZVcmtKZbNnx2DnOHaSPQhSfy+2+BKc4zC4J8f3FKoAwFMWlWXhl5jfF6 X-Received: by 2002:a05:6870:b025:b0:1fa:f541:5297 with SMTP id y37-20020a056870b02500b001faf5415297mr22953910oae.42.1703052383294; Tue, 19 Dec 2023 22:06:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703052383; cv=none; d=google.com; s=arc-20160816; b=Evn2L61dE6UBCVpiQmjRNZH79+4p6uWkEhW84DX2446w4bt14XWPC8JN+AKg9FevSQ VT41qOZPyaXOF+GpkCnjd2pqn415Uq9UpYNPVevTCcQGR+nk7twzu8p0r7epXsrLykYz SaHn+0OaoH/kOMnbU0lRr6f/rnfogo/z/MWbMpLVQVwuscSZFsFtkMxhB/ASNLbeCC8a LceMN4LTQxu/OVSMUq40vdJv7ieZTpkF2lN6azlQlrH3XnbNZTr1zle4jrSAl6ED/OBj EZh44zZsG1TzD2XsTJWti6ub9yWjirnVWsGgs1QjJOhZEQ639VfVLHajaLsAM0s+N3/+ VELg== 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-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=QX12MMDGVuEXl293vQU3OWrfxcO0pPYLQafQhcl7ErA=; fh=LQGtYe9vP0onFiP/6l3tkQw/DADLCp+GjsQcHD3gn8k=; b=p0cV+xEmOEdesh1DR/dpjRkwVDK/k7gX042eZmGWA1MzEJEggdSMUApM28DlasMJrc iEi1ug2NcdT0NnHF/W0KIbopua09ju12LybSXbDDHuP35Y4/v0LqCShcSCsc4J3Usw04 cYpg/2arb/tbi1l7c6MaJ9lXQ9FieuLlTrQ0MCTrGPSUvcOvYjoDr0pFsBUH9KFLs1SU QuGLntoUGEQaVuTUfVLFP+EQTEnzwFmDwu+Dbj5MAgniAmBJpr4yweVJmEACPyOBnOl1 wLfYhMgxErvlUJVGwKtI1ftcX6pe53ceM3r0g2WD+O8mJmCsVp/O9Q8CbXg0vj4ARKwI tf3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1063-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1063-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 s23-20020a656457000000b005cd90b47498si5531669pgv.486.2023.12.19.22.06.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 22:06:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1063-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; spf=pass (google.com: domain of linux-wireless+bounces-1063-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1063-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 EAA15284C00 for ; Wed, 20 Dec 2023 06:06:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D38721DA30; Wed, 20 Dec 2023 06:03:37 +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 600D2156E2 for ; Wed, 20 Dec 2023 06:03:35 +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 3BK63POU0510377, 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.95/5.92) with ESMTPS id 3BK63POU0510377 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Dec 2023 14:03:25 +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; Wed, 20 Dec 2023 14:03:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) 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; Wed, 20 Dec 2023 14:03:25 +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; Wed, 20 Dec 2023 14:03:25 +0800 From: Ping-Ke Shih To: Martin Kaistra , "linux-wireless@vger.kernel.org" CC: Jes Sorensen , Kalle Valo , Bitterblue Smith , Sebastian Andrzej Siewior Subject: RE: [PATCH 12/20] wifi: rtl8xxxu: support multiple interfaces in watchdog_callback() Thread-Topic: [PATCH 12/20] wifi: rtl8xxxu: support multiple interfaces in watchdog_callback() Thread-Index: AQHaMb/Q1mxw8b0mI0+YKERsYBvSmLCxsCuA Date: Wed, 20 Dec 2023 06:03:24 +0000 Message-ID: References: <20231218143645.433356-1-martin.kaistra@linutronix.de> <20231218143645.433356-13-martin.kaistra@linutronix.de> In-Reply-To: <20231218143645.433356-13-martin.kaistra@linutronix.de> Accept-Language: en-US, zh-TW Content-Language: zh-TW 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="us-ascii" Content-Transfer-Encoding: quoted-printable 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 > -----Original Message----- > From: Martin Kaistra > Sent: Monday, December 18, 2023 10:37 PM > To: linux-wireless@vger.kernel.org > Cc: Jes Sorensen ; Kalle Valo ;= Ping-Ke Shih > ; Bitterblue Smith ; Sebasti= an Andrzej Siewior > > Subject: [PATCH 12/20] wifi: rtl8xxxu: support multiple interfaces in wat= chdog_callback() >=20 > Check first whether priv->vifs[0] exists and is of type STATION, otherwis= e > go to priv->vifs[1]. >=20 > Signed-off-by: Martin Kaistra > --- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > index f54d7b1647792..0d171f61ac8e8 100644 > --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c > @@ -7190,7 +7190,9 @@ static void rtl8xxxu_watchdog_callback(struct work_= struct *work) This patch is fine. But, we need to extend this function to support=20 multiple sta to rtl8xxxu_refresh_rate_mask(sta) at least.=20 Ping-Ke