Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp828056rdb; Fri, 2 Feb 2024 05:28:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFVUsW5u/QJa2wvJcmCVxmsa2to5M4w6mD2NaphJuBb/Oz+sKmD6VyZHCCREg1wUUxqa3Hq X-Received: by 2002:a05:620a:1916:b0:783:f753:813a with SMTP id bj22-20020a05620a191600b00783f753813amr3169068qkb.54.1706880496190; Fri, 02 Feb 2024 05:28:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706880496; cv=pass; d=google.com; s=arc-20160816; b=BTB/qUPhEsChijZsNBkqBnOFxvCcgSIlxQ7Mb/CIsqCXK/fKvC0C2WSBvr2rGJBSml Vt4yuOcv4mBNwXLASTcTjjFg8XeSMX79znpUm5n52apABqFpILiOT3+ZXrWxBl4wH+Xf vFS3l/cSxWQiToLADxn68mBc0C7hAMZsBSgYACZDjB+P/Vil4eoBYvxp2dawPthJtW+s Na3neNQzkugPDp//FhLNi9L6tr7D8qYI96QPRt67AYp6prR9tveVLZo+SeDx13AJTORj ZY8UhpWEWyXNdQS3Jc/qK4ppxjctZTTk9WwP3b8pTZQM6rB2n7P4XIkHpnouykutNnzy iVVg== 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=3Utd43npdfpCdZYyiLnHmXhF9Ojj4VR4bTzQSuwRlEY=; fh=obowiKsHhaNRc4yXeLg867DTnjpLByo3Ff+Bzs70dYM=; b=bP5GjAK4uyyy/oVN5zcxcpdAxCPeUA6asaJE02HPWNYhO2JpxJad4dzSHOQ+1ER4l9 JBIMhfN/ZIYwohUMzaDtkgYOjEIggyzFsVnBZU3beXsTK05CSOyD5Rhfb1kBSIhs4ZK8 6M6pyNqSTkZMar4/G4P2bTCx/yPh8evokfpU7jz5TCMbKoi+BNmdbAKeaEmoC5aYO5v9 WLN7ShsZnTVDGWpbl18G6DyLHPQr+wAl/TbZ6irmau4qqwPOHBkb0MN/fzQ8Vz5n24Qs zlGHbDxyylCPtFxjj/kJkOAQsqvV2YEMcWQRAsk1W82hQeSGPyfED5IdL/oFZR1HsvfY qpdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=KYLKVZsB; 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-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de X-Forwarded-Encrypted: i=1; AJvYcCU34fePgNuikR0/TDbH0sI1OCSmeXEcWDOrCe91dGebiOWXJ63Eh2bFGcQNsDEfY8hBqe8o5K6F5E17OTfwaUDRHZyT/D70QuatsYa9qQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id or12-20020a05620a618c00b00783dfe4b376si2109179qkn.695.2024.02.02.05.28.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:28:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=KYLKVZsB; 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-3035-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3035-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CC36F1C256CF for ; Fri, 2 Feb 2024 13:28:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20E6344367; Fri, 2 Feb 2024 13:28:13 +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="KYLKVZsB" X-Original-To: linux-wireless@vger.kernel.org Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 93C6945C06; Fri, 2 Feb 2024 13:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880493; cv=none; b=Ct0WdVRI8X8yfCnxAyOLGXNeocV1dTuQExix7MQ2UwzIihXGkkmjLSw9a55rP6YRugF3M1Af8P4yKg7csH0YPQ6yLAMmOt7CXHvEqxrZ7FjvTpwHF1qwYDaupwmP/77s8UxzE7HdQRScxxyw6XFtaokLAR3JzWESWI5/R2LoYsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880493; c=relaxed/simple; bh=aG9lEA7K175xndaZuz+/EoqdgcuO1uvUck/Qw69L9Lc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VUkmDbaK+6CdyjQUEMxKKUC8LV/3LX/WRlcECerDYYGiWHn7cB6Bp315vjoS+vkdHmbdLNIjtbMSmWebT88xnWMLVH20LfqUg/ZUIOg2KMEuqboFU3VyCiYvRmHvV/rUZltNnjnqCr9UghbYaBKlte2aYobOxHuSQ5V7inTv58w= 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=KYLKVZsB; arc=none smtp.client-ip=212.227.17.20 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=1706880475; x=1707485275; i=fiona.klute@gmx.de; bh=aG9lEA7K175xndaZuz+/EoqdgcuO1uvUck/Qw69L9Lc=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=KYLKVZsBl1OdTidz13XCG5LAWfVK0X4OzNDHxW8zNSr2z9/h6iFozzdUEXdZ4YaT 04jpGTWQQNsL+vMqStPrGXG4WzRdDL7X8a7CnUO0JWMJ3r/xBvJhHRutlEv4ru4mH f9bjygoSjz/zfTMIdX9tQcAJNRMO4c7eAj1oKitcRGQj/efDs//V+NZ281jYhew25 78xmPX65CPbruhFDw0/Wiea9xTU5in8ZTqyoTFWOYdM/l6xOmmGD4nlIxaX2U9f/w maUD61GLsPLtKPGZUJOf9uFlplWeG9K0GYndRp6b0z/yCHiB5CyLHFvgpQTxnoGDa BvHYzxK4YEnG2Dfcpw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.7.2] ([85.22.17.32]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTAFb-1rc6ZY0VCB-00UWSy; Fri, 02 Feb 2024 14:27:55 +0100 Message-ID: Date: Fri, 2 Feb 2024 14:27:53 +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 0/9] rtw88: Add support for RTL8723CS/RTL8703B To: Dmitry Antipov Cc: Kalle Valo , Ulf Hansson , linux-mmc@vger.kernel.org, Pavel Machek , =?UTF-8?Q?Ond=C5=99ej_Jirman?= , linux-wireless@vger.kernel.org, Ping-Ke Shih References: <20240202121050.977223-1-fiona.klute@gmx.de> <0a5c896a-6dab-4979-a6a3-344dc71bca98@yandex.ru> 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//8ivI29aTukrj3WWSU Q2S9ejpS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l7moAMNtKbIX RQTOT31dfRQRDQM2E35nXMh0Muw2uUJrldrBBPwjK2YQKklpTPTomxPAnYRY8LVVCwwPy8Xx MCTaUC2HWAAsiG90beT7JkkKKgMLS9DxmX9BN5Cm18Azckexy+vMg79LCcfw/gocQ4+lQn4/ 3BjqSuHfj+dXG+qcQ9pgB5+4/812hHog78dKT2r8l3ax3mHZCDTAC9Ks3LQU9/pMBm6K6nnL a4ASpGZSg2zLGIT0gnzi5h8EcIu9J1BFq6zRPZIjxBlhswF6J0BXjlDVe/3JzmeTTts= In-Reply-To: <0a5c896a-6dab-4979-a6a3-344dc71bca98@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:AxQdN89vvNzQPCX6BALxNFfc+QPQPvSQm1KuiN6GsCkDVwGmqDR KNXclpPEhhJHunJ8NVxoeKVMW09LkjV0DipkTC5jNdjkY/K3UWUUL0t6xS6FArmnphdR4sw D1w9CiVij59AHLdcaRRGPR6rIhVyTjIokvl1pDzDLhuoDEEabNQwVLK7qU4B03cyjyqFQp3 vRwpbtEz/bDAn9C+mv/lQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EfWC5nxivtA=;t94CcqK8bdKMywUJu1RlGNVQMQn mdeW5Jsc8grsKg5vRqeQTMevhZU0Fxks8vlDeSJt2KfDjTOMcwMm5b8kwKRIHF/sFRkA/zr8H Aj2HzgA8syjLjM4RRYen/XXsrL5ToYdIA57OJavNie9kUzIbO+cPPLoTMJ/dGPbrTNm9O5Oc9 DMXoUrdKjCCnfq47Pv69glS3qwvjS9nMLgAVzitAmsS3oJEh5EuHUUWfvK1vguprPmivM2yzP 9INL4Vu2ZpbyeD+rFeUcmgRn4Ob8Mxpy06YFYAPaOBiIIiZXDPkRp0e2kyVezZMnugbdCOmCZ Ly2rsnfN4v5z7LugmhbyplZRUmAu1CmixmFMP34Rs7EhMh+inbgHd370ppsFoxrtADrrX55rB aEYtxX2AhbCQVrZG7lsSrLycs47Nta57SQ4kcyfFaPr3QnRPGb5Z5x8+PD5wLpyQnKPSmBRnV Uz7RBnt5dvPrSKH4Uol1c4D6asNBH3fXIXYk7EB6HX0JInKLaiesgLOsibEUMu76iz7iT8Y/E HmKWc4pTml2nw/J0tZVqHpJQ04Wt8NGNBBJl1dEyrx1s2fqGfa7yDNK8I/tiYdiFh4GqKBvdK Z6O5yp1DKiQ+0GVQ/LnIMv/6fASSoXFRkRoJ3iISKMdB4/q1eNgtAfCnO8xr87JqGxa+K8TQf Dp/NPbfUnVJnSTO+tkWA5YToMcpNJzU/TcaFInGQrdOZFB5Sx6af4zUyQUl9wMbuncx8POXXO haXvG3qhBwARXx3XPrdcvoTX+Sdz5v33TGS+81czK+HRVQExJHoQ6W2gfTCV9SBQJ2nwM4CkH kYLPIOXU+A+kP9JneiU8WjILn9NjIDVl8sq6aVD6GAQxQ= Am 02.02.24 um 14:13 schrieb Dmitry Antipov: > On 2/2/24 15:10, Fiona Klute wrote: > >> This patch set adds a driver for RTL8723CS, which is used in the >> Pinephone and a few other devices. It is a combined wifi/bluetooth >> device, the wifi part is called RTL8703B. There is already a mainline >> driver for the bluetooth part. RTL8703B is similar to the RTL8723D >> chip already supported by rtw88. I've been using the out-of-tree >> rtl8723cs driver as reference. > > On top of wireless-next (17903a283593), I'm seeing: > > drivers/net/wireless/realtek/rtw88/mac.c: In function > '__rtw_download_firmware_legacy': > drivers/net/wireless/realtek/rtw88/mac.c:940:33: error: > 'RTW_CHIP_TYPE_8703B' undeclared > (first use in this function); did you mean 'RTW_CHIP_TYPE_8723D'? > =C2=A0 940 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (rtwdev= ->chip->id =3D=3D RTW_CHIP_TYPE_8703B && > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ^~~~~~~~~~~~~~~~~~~ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 RTW_CHIP_TYPE_8723D > drivers/net/wireless/realtek/rtw88/mac.c:940:33: note: each undeclared > identifier is > reported only once for each function it appears in > > It seems that 'enum rtw_chip_type' has missing an entry. That definition should have been added to main.h by patch 3 ("wifi: rtw88: Add definitions for 8703b chip"). Was there some issue with applying that one?