Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp987001rdb; Sun, 18 Feb 2024 23:43:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTRn6X9XaSTJuVCXOt9YaTweNMx2gkNPa/wHvXhRtCywN1jrTGLPdU9QbrY5Wh//anOSzOOhCbbMznAhDTsM+sfO0UHUtvtsvYkMvt9A== X-Google-Smtp-Source: AGHT+IEKm0mDNDPfcJaIkew8/iYtwfAZ/w+ldSqxT/pBCKalloCpBbiJvi4xEw+LpZFwogbYoelM X-Received: by 2002:a05:620a:178f:b0:787:23ba:7c4b with SMTP id ay15-20020a05620a178f00b0078723ba7c4bmr17094919qkb.11.1708328608799; Sun, 18 Feb 2024 23:43:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708328608; cv=pass; d=google.com; s=arc-20160816; b=tq5nRB2Yl3vAl4f7Y3HZuctl0DlTW6MJ8CVotis9FQKBiGORA18gsEqYc5ufjFvx1W 5JmkF6eK6L28AW7VYG3PuTmN6zK6SyKzKRxgTHKhOwW7eGGjmXmnzefdPLJxkg7mh9fu F0QNYNJIFO+hLdboFx4ZrokMVjDQikpvkdsBmfIDLqPDWF9XBbBH7O9mxHXSw6/Z9FLh wvd2V5h+k/AujEkWoa/R1E1FDhIBa/2gCzXVj9X9P662I1+uRfr4jK00N4tvyVSB6bSv Rxa3xIFmA3qFy7HqB8tZzHeN1e32qpPmU3e6hGPDZO5Cv6R7oD8QK01uIqBZFugkaoyL yjTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:date:message-id :organization:from:references:cc:to:subject; bh=8fLZ0S17hG6g+XZlLol8gqJ9BE2f8yHRCY66695JcME=; fh=YD+gTf7seYfrPzGppQiJUGA0hAZoFamy3comaX3OuWU=; b=j3799rnTTyFFzV9MD3axUJFZ8K+GLU2zr2BUyHwupKJ1OTlm41qimaCLSl8Eyz1xLz k9/yripYCGO+AtuNFrexaz6fm+k8qkdA4oP2+ZgST34AheThUS2PvJKFE4fumjnpQof+ +N4HsCWEzgbTi8MTCHmfOHPkJm8G5SyUpCmGzqGmcYcjnQHnOEteZAs1sofwXbUejU7P /gXasAI0aku9+R/kV+pyOtFwyrv3gFxoOGPcMHbdDPTIQ4HAxsCIct/7Uk0CVtUmftVB V4WLhtKsk4agkY/8I0Hj4tx59kBNgM5j8UX8EpOK/QX1EWiZqTUGOi4LkgI8iFvLn1FF Qg2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=mbari.org dmarc=pass fromdomain=mbari.org); spf=pass (google.com: domain of linux-wireless+bounces-3762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mbari.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m8-20020a05620a24c800b0078735aa7074si6264550qkn.533.2024.02.18.23.43.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:43:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3762-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; arc=pass (i=1 spf=pass spfdomain=mbari.org dmarc=pass fromdomain=mbari.org); spf=pass (google.com: domain of linux-wireless+bounces-3762-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mbari.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B1F21C213B1 for ; Mon, 19 Feb 2024 07:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 834A220B24; Mon, 19 Feb 2024 07:43:26 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from us-smtp-delivery-195.mimecast.com (us-smtp-delivery-195.mimecast.com [170.10.129.195]) (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 4A7F020B11 for ; Mon, 19 Feb 2024 07:43:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328606; cv=none; b=B36tXXGRI9O3YXd0EdCYVNK/mUO+blJQ5ofWELOkLwiEQziPzbxdmU2GMOxM1IUJx9LJqSjAfbaQzQuWZztiHCn/zA+rKAPP36CZg/5S9+WvU/e3stB3+WKwAv3SdMv3HDv4UGHvwl0XWql3ylFYui1+3ow93e65wS1dF33x3mA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328606; c=relaxed/simple; bh=CspWxoX+5MxWTUfvwUaErl3ZF5VVTRvzZtJDKGpVefk=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=ZXmxGpE0P0XRDvp+XTnkpSdlyCgL8IHRRf4szWzNo2GhHrh0Ha7SqrRdXQ+mV1vv7LUZs406Ll1GLaLcQPKNOooZ3HLxnjg8bhnBshGrUeB+QzT+c0Gmu1C6x1GtBy1heu5Ni+EGVx3Jw/C5dnJ/gW8k8AgcKl94jcgx85mvhT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mbari.org; spf=pass smtp.mailfrom=mbari.org; arc=none smtp.client-ip=170.10.129.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mbari.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mbari.org Received: from sleet.shore.mbari.org (sleet.shore.mbari.org [134.89.12.10]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-dp-mKkxlNzubNEaBX-sDJw-1; Mon, 19 Feb 2024 02:43:21 -0500 X-MC-Unique: dp-mKkxlNzubNEaBX-sDJw-1 Received: from localhost (localhost [127.0.0.1]) by sleet.shore.mbari.org (Postfix) with ESMTP id 163CE81060205; Sun, 18 Feb 2024 23:43:20 -0800 (PST) X-Virus-Scanned: amavis at sleet.shore.mbari.org Received: from sleet.shore.mbari.org ([127.0.0.1]) by localhost (sleet.shore.mbari.org [127.0.0.1]) (amavis, port 10026) with ESMTP id xx6jalnc2v3B; Sun, 18 Feb 2024 23:43:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by sleet.shore.mbari.org (Postfix) with ESMTP id EC75481060200; Sun, 18 Feb 2024 23:43:19 -0800 (PST) Received: from [192.168.6.194] (raven.shore.mbari.org [134.89.10.221]) by sleet.shore.mbari.org (Postfix) with ESMTPSA; Sun, 18 Feb 2024 23:43:19 -0800 (PST) Subject: Re: rtw88 driver support for rtl8723ds does not work on Radxa RockPi-S To: Kalle Valo , Larry Finger Cc: linux-wireless@vger.kernel.org, martin.blumenstingl@googlemail.com References: <9f47e65e-35f1-b090-cad1-4d8333293b00@mbari.org> <9f7c6005-e9c5-4691-87c2-fee8641f02a4@lwfinger.net> <878r3hc6hy.fsf@kernel.org> From: Brent Roman Organization: MBARI Message-ID: <42772df2-32b3-2b37-045d-b528a752bef7@mbari.org> Date: Sun, 18 Feb 2024 23:43:19 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <878r3hc6hy.fsf@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: mbari.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Yes, that's all true.=A0 However... Random MAC address assignment tends to cause devices to be assigned a=20 different IP address on each reboot. This often doesn't play nicely with port forwarding. It's difficult to "prove" the RK3308 cpu serial numbers are unique, but=20 they should be and the few I've tested have been. - brent Kalle Valo wrote: > Larry Finger writes: > >> On 2/17/24 23:13, Brent Roman wrote: >>> Larry, >>> Radxa confirmed that they do not program the eFUSE on these boards. >>> We do not get a sensible MAC from the chip, so I derive a one from >>> the CPU's unique serial number. >>> It's a hack, but it works well and is standard's compliant. >>> The RockPI-S a *very* inexpensive board, so I can understand Radxa >>> wanting to minimize the time spent configuring each one. >>> https://shop.allnetchina.cn/products/rock-pi-s >>> The vendor driver seems to deal with this by applying typical gain >>> parameters when the eFUSE is invalid. >>> With that driver, this board's WiFi performs beautifully, despite >>> the unprogrammed eFUSE. >>> Would you accept a patch to add this logic to RTW88? >> Of course a patch would be accepted. Ultimately, the changes should be >> made to the wireless-next code base, and sent to this mailing list. To >> make things easier, you can send me a patch file for the rtw88 repo, >> and I can reformat it for wireless-next and send it to the mailing >> list under your signed-off-by. Either one would work. >> >> Thanks for sorting this out. I like the idea of deriving the MAC >> address from the CPU serial number. That is unique and reproducible. > But make sure that the CPU serial number is really unique. If it's not > that can cause MAC address collisions which is not good. > > Usually wireless drivers create a random address if a stored MAC address > is not available. > --=20 Brent Roman MBARI Software Engineer Tel: (831) 775-1808 mailto:brent@mbari.org http://www.mbari.org/~brent