Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp964498rdb; Sun, 18 Feb 2024 22:28:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUPaXtO0JgDsuxTUvp9kYI63xLuw3Z+eo+dIApkkdzUXjnrzkiHKdg8mSQ37WHC4Yo8en6HkAQuxyIq8g1HWiKzJuIQOP913zsFdvO5Zw== X-Google-Smtp-Source: AGHT+IH20x7xVH2e5dYMg6XJJQ++JwmSMPo+psGFGhmcWbr0joDywE4+uZ4pXTVRTligh0oUCzYF X-Received: by 2002:a17:902:c949:b0:1db:d13d:6bf3 with SMTP id i9-20020a170902c94900b001dbd13d6bf3mr4218857pla.62.1708324129588; Sun, 18 Feb 2024 22:28:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708324129; cv=pass; d=google.com; s=arc-20160816; b=PKA6AJ3n79gUp3FaqAmWNgB0tvoOCIrxNsbS0ClT25YItkG1lunXtJAehyxxJkxCzj bSzmS4Ar2kmEa/hcRIUkVjyvtKKmy/OnZ9RPeazCGEMEMCRrpIoITyTXOAUCNk+CT5wx Ml92W0SyAegIFdNdlcJ17mnsyiOIFdIZ6958+NlJrB+x8AEvIgWNl0doA4/eA3oJ7SPu 88tCZw1vSRTKoWM8O7dXRIO6dGc//SPjglIQCZc195PznMdNf3pUB/51w0T0P+1w5jUM 99AoiFfbgfKEUprmsCn9aIP9czU8tK02OW7qyAFo0wngFnuSetcYJxr4XXCt6O3s0jNp ictw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=R9uD6Lo3jehkv9cpuFNcLJfkNllEkVAOKGrO9KJZXII=; fh=Vq6zPtRxqvNkL5quKFocTOGIQJEDRtgKDpE7tYO2JqE=; b=cr5xG5XdDaNOepAd9jjnhJFlDO3u7Mq3T7nwZFDGa4K1ToD+TkSKGH//5xxj63gAyv DTgbvSD23eBuZfqd6X0RAYtbmRQW4YKNChaOet5ZB0Xj/TuGi64ZD/y5tBXmbA+Bdcx0 v0WDPmG0Jd586M8Q/QYb1q7cYWap+1jn8VQPiZlLNkTJ7fpDvNT3qwxmkhsKZGo933KT o1z+6awdhOhpe/pPbzIx+327F3hgYEctDCzyJ9SR6j7tyoFhXCTR3Xh75jWZrLlwHA3v O9uXfnuNOWthPNudHZDdHCV8s4D0Cd4x3gv0J/9OIZXFmidCy/J/j1/ynSDWjWqn5utD qqpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KAvx4DrM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3754-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 d12-20020a170903230c00b001dba2bc22efsi4033840plh.350.2024.02.18.22.28.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 22:28:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3754-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KAvx4DrM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3754-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 2BCA62818E2 for ; Mon, 19 Feb 2024 06:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 472EF1F941; Mon, 19 Feb 2024 06:28:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KAvx4DrM" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 223891CD38 for ; Mon, 19 Feb 2024 06:28:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708324126; cv=none; b=ml/RLwdFAzjmlgN/JIGTnvOgFPD1j9asrHU7mkX+U3p27DL9G5oAcbGl+Ufj1Iv9OOHPpiYaQIYUl16z4OdP64LdocagmcLN5aevTuqNq+H83uykyG69oE9cYTNMaB4+W0Y7VynfOlcdDh9YJNvktSpX0Ng2pVuVqEEWK4C2vGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708324126; c=relaxed/simple; bh=q/ToE+4uybaNVZtBPxRJmZLbcfZCbCFrdvq7IvKkJc4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=VBrjDdG8CbKpu3pYHhUZp12rxT6utj9wig2FOppXAjNZZ8ViMw5caEsQjigblB6UUpvfAbjH7wV74mAxT47cQr0Qy9zIIfMac0uJdIAb6GjBKfWK0npg0rSnWRAsF0E3RbHLpZprRPrZ09GAYYw+JFTTvXfXL1buu8lh7Y+kQz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KAvx4DrM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5EF3C433C7; Mon, 19 Feb 2024 06:28:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708324125; bh=q/ToE+4uybaNVZtBPxRJmZLbcfZCbCFrdvq7IvKkJc4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KAvx4DrMlXbS9BJdVm39JqbhUAQdxF4NYpwUHZZOxv9x7mXrzGx8v9XctG0LIuupb Y1HSnRR0x1NltI9yozcFRdFELZ4HwcYDz4amWAGGmhu2lcFGBNftCB2fJq0PZFiJIC ohDXNcF7E01IZEtvcV7jedS8fiuPN6t8fSmG07qUj3frBn8me7pZU+9GLzmj+Fa9G+ GC/ivuIksNGgoBGeUEyZATn5/4SIqNBbHqnERAl+KueXAWThaeGnKUgPXbCHFMkOzU QYzUdDH4TVe3YwSi5HmQXvrtDTtSJiZ7V8EM2isjhVl7qpalrd0azReiT69d/NNwXH syOfvGPErVmjQ== From: Kalle Valo To: Larry Finger Cc: Brent Roman , linux-wireless@vger.kernel.org, martin.blumenstingl@googlemail.com Subject: Re: rtw88 driver support for rtl8723ds does not work on Radxa RockPi-S References: <9f47e65e-35f1-b090-cad1-4d8333293b00@mbari.org> <9f7c6005-e9c5-4691-87c2-fee8641f02a4@lwfinger.net> Date: Mon, 19 Feb 2024 08:28:41 +0200 In-Reply-To: (Larry Finger's message of "Sun, 18 Feb 2024 09:55:59 -0600") Message-ID: <878r3hc6hy.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain 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. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches