Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp248120lqc; Thu, 29 Feb 2024 16:45:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXObFKHtlBgHhwiHTroLsxhX0/zdE8WT3clFB7/n2eGjYI3EowMfQzCi3xKFf/+/zp03FaDxG6YB9sSnZZbHi0nQqUErS48wio0oWu+QQ== X-Google-Smtp-Source: AGHT+IE4QaTF43mGGrV1WukqsB4LcwJDWVzJtPXh/AMsm8x0blc0y87MgKwrX6aRRqIiOrYKahN7 X-Received: by 2002:aa7:d9d2:0:b0:566:cde6:3ee4 with SMTP id v18-20020aa7d9d2000000b00566cde63ee4mr142990eds.24.1709253933616; Thu, 29 Feb 2024 16:45:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709253933; cv=pass; d=google.com; s=arc-20160816; b=JASDvBEzLKcuR3mFCNyNMJmmqGiITh7PWmTQsqiHdzndYnLtj4XV1PhvLuuwBLPYiT 7x/vkQMqbVLqHzAAWUwKwo92MdX0QU/krMvp1Ebe23wEU0eKowbIrtV17mBSUY/ZtycI UetYL/I3v3YvCbKqGZJChAP3aX6OghrWTwSzpRYcfnj28Hmy8c4fjL8lervNTRGfxc+E zn1RdYezwxyU1Z6SIGciQ1jdHnTQhxUo9nqCWdjFuMq2iHfowV5QUREkTuCRY+hyHMC1 lgfIDGhvcjx1S6RtRiIOSGK3vcYl5ZEqRFq6HZXUfHxN+WWz691yGr1lfd7MwugM+tH0 ZVHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=agG7+swNzpCuVq0ND5kyRfZmD8FeeeV1rb3bo50sfu4=; fh=bd+aFeewX5wDF2wr8BVUo0ySD0z+zN/8ZfZ6VEFOlMg=; b=lYI7Djpu5Y1n2BSk3TpVNZaC6b8WRe1mXQJh+0IIvQDXbJokNGrtb/NRmUtV+V7eJC VajtKcQIby8pjxbvTuFsNDFN/WTpN9gaxB8+6fG+5X2dIrWyzdkP7CZ1BA6StyrTVAFG Hj0NSujmj76gr4kijc+Sopig5i4TRBeoO3wncuX9GHyAbGBC/6DBAIkr6KqpRTvfXCjH 4qBe3yoOeqZsqCc2dy8NKFN00XmYtJ8oiYci9aAvNLcCO43VzyCEeqR9onmn/QmXyP1m pCwL73PLtZu5FfRZ//3k4XXj1ivneB78AGK3AgeiFh9KEeGbzeDiT3KNSxzd4YygcMI/ pG3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=glzy6rzq; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-wireless+bounces-4281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4281-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c16-20020a05640227d000b005663d2cbd97si1074016ede.135.2024.02.29.16.45.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 16:45:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=glzy6rzq; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-wireless+bounces-4281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4281-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 24DB01F222D0 for ; Fri, 1 Mar 2024 00:45:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FDE933C0; Fri, 1 Mar 2024 00:45:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=fiona.klute@gmx.de header.b="glzy6rzq" X-Original-To: linux-wireless@vger.kernel.org Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EFA22916; Fri, 1 Mar 2024 00:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.22 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709253928; cv=none; b=smlClwzCAkXwaJy90AqwdNBIxblADk7vOTE9Cmcp0MOXmS4/VVZ1mKfW3DIHB0X7WnqK0EX5zVsk99XAwfNFy521kCLr3Pg35RyPaWNGnCJhoSk/ZFxbAgiuEyOjF51B5DA5QIoZn/qdB+N+p2/aBZzzX39dzwxtPAB5VESuvfE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709253928; c=relaxed/simple; bh=iPFfVjiyS+z+zX5CZ63M9OT2EsMyB1aIKrlPflSfew0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P9pxCWItSae3qO+wKPXdu3wDiemo7FJdaaUcHLO5/r4FEH1uJiWTBVKFACRkS+fBK62kKxLR0xOWYoXSX2zvTEy48AChdclbuFOAcmiKo6bi+txWeLiWqVd0SD10wXllDPWqj9FdWZqIN0BC2XmaSRBE2T8OZ75s0BkwKcFjJkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=fiona.klute@gmx.de header.b=glzy6rzq; arc=none smtp.client-ip=212.227.17.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1709253909; x=1709858709; i=fiona.klute@gmx.de; bh=iPFfVjiyS+z+zX5CZ63M9OT2EsMyB1aIKrlPflSfew0=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=glzy6rzqBxlSyZPTxw2OMqIib6HPouZDMyti9ffdQESB78Ix8lz897CkZP0UxPKI 079/Ahuq4rtJAW89FGH1vh1Uqhl4uhfL7jcRGJTCDnlYzepbfj8l+FvljeFC21Fnb 8hvhOdHI9lvRPoahhfrLBWtWCf7WfbKyubZqFTGC+3SeBq2SD8i/vBH2A6oAPz/lP VCL9oa0yX3YS4HnTDy8zSZdXAdH89QtTCGrAf9feLAIqcqBLWWGc3UfGsY2Il5yiS ycaPuXcsGRFaTqpG2JPhcoAcf2JuQkPmwoe1nMCUvLkMb5l2xPK69PEKm+1dDHBO5 JW3W3XsNwhb/QDvhfA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.7.2] ([85.22.24.88]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MeCtj-1r8AMd3TTb-00bLT5; Fri, 01 Mar 2024 01:45:08 +0100 Message-ID: <31dd8a43-0df0-4f1b-905d-67b1a63fab0e@gmx.de> Date: Fri, 1 Mar 2024 01:45:07 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/9] rtw88: Add support for RTL8723CS/RTL8703B To: Ping-Ke Shih , "linux-wireless@vger.kernel.org" Cc: "kvalo@kernel.org" , "ulf.hansson@linaro.org" , "linux-mmc@vger.kernel.org" , "pavel@ucw.cz" , "megi@xff.cz" References: <20240227235507.781615-1-fiona.klute@gmx.de> <61980d74cdb24dd38a2f2e12c79125e2@realtek.com> Content-Language: de-DE, en-US From: Fiona Klute Autocrypt: addr=fiona.klute@gmx.de; keydata= xsFNBFrLsicBEADA7Px5KipL9zM7AVkZ6/U4QaWQyxhqim6MX88TxZ6KnqFiTSmevecEWbls ppqPES8FiSl+M00Xe5icsLsi4mkBujgbuSDiugjNyqeOH5iqtg69xTd/r5DRMqt0K93GzmIj 7ipWA+fomAMyX9FK3cHLBgoSLeb+Qj28W1cH94NGmpKtBxCkKfT+mjWvYUEwVdviMymdCAJj Iabr/QJ3KVZ7UPWr29IJ9Dv+SwW7VRjhXVQ5IwSBMDaTnzDOUILTxnHptB9ojn7t6bFhub9w xWXJQCsNkp+nUDESRwBeNLm4G5D3NFYVTg4qOQYLI/k/H1N3NEgaDuZ81NfhQJTIFVx+h0eT pjuQ4vATShJWea6N7ilLlyw7K81uuQoFB6VcG5hlAQWMejuHI4UBb+35r7fIFsy95ZwjxKqE QVS8P7lBKoihXpjcxRZiynx/Gm2nXm9ZmY3fG0fuLp9PQK9SpM9gQr/nbqguBoRoiBzONM9H pnxibwqgskVKzunZOXZeqyPNTC63wYcQXhidWxB9s+pBHP9FR+qht//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2r3b00/nttlWyuRSm+8+4+pErj8l7moAMNtKbIX RQTOT31dfRQRDQM2E35nXMh0Muw2uUJrldrBBPwjK2YQKklpTPTomxPAnYRY8LVVCwwPy8Xx MCTaUC2HWAAsiG90beT7JkkKKgMLS9DxmX9BN5Cm18Azckexy+vMg79LCcfw/gocQ4+lQn4/ 3BjqSuHfj+dXG+qcQ9pgB5+4/812hHog78dKT2r8l3ax3mHZCDTAC9Ks3LQU9/pMBm6K6nnL a4ASpGZSg2zLGIT0gnzi5h8EcIu9J1BFq6zRPZIjxBlhswF6J0BXjlDVe/3JzmeTTts= In-Reply-To: <61980d74cdb24dd38a2f2e12c79125e2@realtek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:6PcTm6Fh8aYDLmh74+2lb1msevuTwX2ZP2YMNnEAOMmjth0L9ib +YKc93qxRv8SoiSfxLbijeyUMhQnfx/IIkdKj+5V7ujrv4VPNsA8IRZ/WvsMEsniAUMcVEb e5jq77kkK0qEThtbeLQtmTo8O+qTrdgHkpKSteXqLerYkABZPDRSiz7v8CCotrvh9fbDbEo SY1O4iYpTUQrOtXkg5GxA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:E9b/1G2qFNA=;qhuHNpW6hAC/u2uHTq1IJbW1Y7D ogxomcqGdaoFCHHNhb3WvFFzpxLJdg49DakKHDrD2MOi5BnQKPJ3d8n7KTJ/4mSHALVxTM54L yoWKt4gTatOk/QClK9YYV5HcwocOxgJcYfSMmtops4V7F4W0AleUiamBTz3qNqafN6H1G+miX 95rRU0kTkUzG4zqaP8nqvgCdlUEha3Nkw///XNAsMGb7lskuV5Es4UL/zeKQ3XauhdPvPmJ61 oAAvmeOjYEPXha0tH0IXzOSs/GETe+md3MOAZkFaG62NYOMXOE3qc5DlhpChu6pX/iz46wsfW Q7viF9yELFqlOC2cFgtcoBwltgRAUSboGWYph9sUSGov6mkmX8oqsXF287J0cbnBr2tmH/KpY 0v5O0HsUH3JGNojaTTKv9jMvBHuBqbEas8Gqq5+7TVQa6RxsJH40yzcnwU93EQo3H9yxfjosg c1vSWJAznjY8l3tjH57vFGufxnkbW3SxkBUlNV44iE8LqmhplXGlXfoKXbw+kRBvoFuovuzJH QIUDRlqJ0GZMnaCez0qUBZ2Wcf4boYmbQ8BhD3t/XWv2OaQFjYrvb90ydgOH+608icWQLC0H+ PiacYBnb85hDPOgMdOL3W7FYzjzyM3WPv8lDKIXPzZi7i6l13Y+/ERybrbOfn5ouZrvkUpEBL YW+nn13B0XGD21rayfT0ZXcfDO3MNcZs1nu1wmGFzTZjquv/5HTx1cOvI4NLFxjbFlpXWjHdU 5j3bIObjL1PTZ3YCRW+P2JdGBNANx9koBBBsKGoICp/v+2BCYzmWypDwH4vzYmT2hchF1rcGo FVqHA1HrZJV3WqybVWXCULdqa2nNqlDOpGItord7FlYfw= Am 29.02.24 um 07:40 schrieb Ping-Ke Shih: > > >> -----Original Message----- >> From: Fiona Klute >> Sent: Wednesday, February 28, 2024 7:55 AM >> To: linux-wireless@vger.kernel.org; Ping-Ke Shih >> Cc: Fiona Klute ; kvalo@kernel.org; ulf.hansson@lin= aro.org; linux-mmc@vger.kernel.org; >> pavel@ucw.cz; megi@xff.cz >> Subject: [PATCH v2 0/9] rtw88: Add support for RTL8723CS/RTL8703B >> > > [...] > >> >> v2: >> * Parse PHY status using struct instead of macros >> * Prefer MAC from EFUSE if available, move retrieving MAC from DT to >> a separate function >> * Tidy up wait for IQK to be done, replace mdelay loop with >> read_poll_timeout >> * Set dual author for rtw88_8723x >> * Add missing "static" to rtw8723x function declarations, fixes >> build failure when not built as a module >> * Various style fixes > > You have some changes by v2, so I think you don't need to take my ack-by= for > those patches. Then, it will be easier for me to review patches you have > changed. Sorry, I thought I was supposed to keep them unless I make larger, not requested changes. > Anyway, could you point out patches I should pay attention? Or I will re= view > entire patchset one-by-one. The bigger changes are all in rtw8703b.h (patch 4; the PHY status struct instead of macros) and rtw8703b.c (patch 5; PHY status parsing, MAC address retrieval, and IKQ done wait). The PHY status struct is basically the same as in the vendor driver, I just resolved some macro detours for big/little endian detection and spelled out "reserved" in field names. Changes in the other patches are minimal: additional MODULE_AUTHOR in rtw8723x.c, missing "static"s in rtw8723x.c and rtw8723x.h, formatting, and using rtw_read8_mask in the firmware reset (patch 6). Best regards, Fiona