Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp506155rdb; Sat, 17 Feb 2024 21:13:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWi5daGM8akecPUxY60/yTKu4bd7GrIs8mi+CtxZKYRrWA76gZYR2eT9/uSbqD0FuYS5CZwyTpel5ibdjLul5NadDUY/o26QM6RDIgXeQ== X-Google-Smtp-Source: AGHT+IHDIgXsnHs0LGlamxGv5QfNqKzPhdYykRC6Up8wtkiZXKk9K9kDaSuFYvRkCb0mMcI4t5JQ X-Received: by 2002:a05:6a00:2daa:b0:6e0:4030:ef77 with SMTP id fb42-20020a056a002daa00b006e04030ef77mr16495319pfb.16.1708233238487; Sat, 17 Feb 2024 21:13:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708233238; cv=pass; d=google.com; s=arc-20160816; b=RGALFAIGNlgNBhoU7328+rpnxgisMBiPj1sV9j5U0wz2PZMWU1/OPx8fmC4i97AzqL ksUd044BIce1ij7ee9SccRhncTIlt/HBA+bC3uZdcReu9rh5kN18+r49dP32cj1hy8y/ SkjkaAm3M3iZxvsMjoW4AQLrjA+dX0VYMt8zTv4ZpHmw6twHROvD4K4FCoag67/Py4iv UA8mAQxgdGBFyUhRvvLYMgcWIAVE5nXfp4Ma+q9vHeDtQv8VVi+zDSq4fpNqUBDGW5h7 lrwkJSahA2mOnzgWXgHwYwY8luO0ZwrjR9NmnmJ6OZs891zsDNg7k9JkTtjjS88gdf3d faJA== 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:to:subject; bh=FiV5r+KCGha837jQ8KbyYzwaVE624F3bl7kmuHEEN58=; fh=0OG5TaPh24Gjzqdcknjja3CjTItOI6GsuE6P/eW2PGo=; b=LfWhqkR1KYHTnJT+uJtAn5DUG5aRvsucQIYGlozDuKFWhiLhC+sHVkboT/x8Q/Ff9A YOybr3NjABGMyE6ce8ixWdv7mTnDZFoZVk+UegcEzjFGydxaZEZbSY9q7U7J5TnNsNE+ Whl1mMM9CqQ0aBIYtNFZBtC5+DJBrMFVtr47rCNhAxaukRmTdUEDB4a3bfATM4CeABrc DdGfE+r+wmktJeMb2P9nr6WyJOBY+11EQdhkWMmLuS/fRxnfJBBSWLGKQbMxEST537Px zQW6TC5hjvsr1SsN0UxOB00PuuFujKbRYsDIgqNz34Y5/QNtWKKIyX4v6ggf9bJYHfWJ vzbA==; 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-3738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mbari.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s15-20020a63af4f000000b005dc1c542cfcsi2350331pgo.263.2024.02.17.21.13.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 21:13:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3738-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; arc=pass (i=1 spf=pass spfdomain=mbari.org dmarc=pass fromdomain=mbari.org); spf=pass (google.com: domain of linux-wireless+bounces-3738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3738-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D6E972835EE for ; Sun, 18 Feb 2024 05:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57BF62F50; Sun, 18 Feb 2024 05:13:55 +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.133.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 BCCCD81F for ; Sun, 18 Feb 2024 05:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708233235; cv=none; b=PExe9TGgKXBKswSQicYLMNmhxsgJDOlR0oy85giPHFExkYErdxyweY8M4kLV1htyuPwCumOoM1sqz1rJzxw8Aop2B8UkHyrBmmIz5v7zGToXLcNrPeR8UjM35kot4V9rz1HZ+55pkhslYWyYuWJ9M6b7cQ74ZWVymKJw4co9hLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708233235; c=relaxed/simple; bh=RHeCw9Z+IWmg4RqmRz1r2PffNmgSpj5q4KLifT6vlAI=; h=Subject:To:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=lVlNorLgaCTfU9BsjHC6OdrhhbU9GS1U0SmH2pkxVSFubKRE4d+qFGw6laXUjixr6NssOwfJx4O1LI4OC7BeRy9qI+lrUbfB7q06DKLn65EfJX/MMyROtD+Gauh0+3fky03PJybG0aXJ/2go2Neq3qk02tgBhdHqLVGlIsqQh/o= 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.133.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-30-IOSV6mB5Oj-j8DFm2g739A-1; Sun, 18 Feb 2024 00:13:49 -0500 X-MC-Unique: IOSV6mB5Oj-j8DFm2g739A-1 Received: from localhost (localhost [127.0.0.1]) by sleet.shore.mbari.org (Postfix) with ESMTP id 73A2C810602F1; Sat, 17 Feb 2024 21:13:48 -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 oKc450eIm3De; Sat, 17 Feb 2024 21:13:48 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by sleet.shore.mbari.org (Postfix) with ESMTP id 4239381288C67; Sat, 17 Feb 2024 21:13:48 -0800 (PST) Received: from [192.168.6.194] (raven.shore.mbari.org [134.89.10.221]) by sleet.shore.mbari.org (Postfix) with ESMTPSA; Sat, 17 Feb 2024 21:13:48 -0800 (PST) Subject: Re: rtw88 driver support for rtl8723ds does not work on Radxa RockPi-S To: Larry Finger , linux-wireless@vger.kernel.org, martin.blumenstingl@googlemail.com References: <9f47e65e-35f1-b090-cad1-4d8333293b00@mbari.org> <9f7c6005-e9c5-4691-87c2-fee8641f02a4@lwfinger.net> From: Brent Roman Organization: MBARI Message-ID: Date: Sat, 17 Feb 2024 21:13:47 -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: <9f7c6005-e9c5-4691-87c2-fee8641f02a4@lwfinger.net> X-Clacks-Overhead: GNU Terry Pratchett X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: mbari.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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=20 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=20 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=20 parameters when the eFUSE is invalid. With that driver, this board's WiFi performs beautifully, despite the=20 unprogrammed eFUSE. Would you accept a patch to add this logic to RTW88? - brent Larry Finger wrote: > On 2/15/24 17:55, Brent Roman wrote: >> Originally sent to linux-wireless on Feb 1, 2024: >> >> The Radxa RockPi-S has a built-in RTL8723DS interfaced to a Rockchip=20 >> RK3308 A35 ARM64 processor on one of its SDIO busses. >> >> I maintain Armbian's support this board. >> >> The built-in WiFi works perfectly with RTL's 8723ds.ko driver. >> Recently, the rtw88 driver got support for SDIO. >> https://lwn.net/Articles/925940/ >> >> However, when we attempt to enable the rtw88_8723ds module, WiFi does=20 >> not work. >> >> Specifically, the WiFi scan returns only the strongest AP while=20 >> indicating that AP has a very weak signal. >> No connections can be made. >> >> Unloading the rtw88_8723ds modules to replace it with 8723ds=20 >> immediately restores WiFi function without the need to reboot the=20 >> system. >> >> Has anyone tested the SDIO variant of this driver? >> If so, on which board(s)? >> >> I'd very much like to get this working. >> Any tips for debugging, or just getting relevant info from the=20 >> driver, would be appreciated > > Brent, > > Yes, there are SDIO cards working with the RTW88 driver. > > Is the EFUSE properly encoded on the RockPI-S? If not, then the=20 > parameters of the chip with respect to gains are not set correctly.=20 > You should be able to see that condition in the dmesg output. Also, is=20 > the driver getting a realistic MAC address? That also comes from the=20 > EFUSE. > > Larry --=20 Brent Roman MBARI Software Engineer Tel: (831) 775-1808 mailto:brent@mbari.org http://www.mbari.org/~brent