Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1215757lqd; Thu, 25 Apr 2024 08:59:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqQ5sQ0ZtbQAVrLepHEfmTLaIKg3sG5wtuqDHxT3S5Fo9o07+HRLpqXgUe+VtMyw5DegNJ+iYMbPTGqXpXcXBQGU/QE347273rbrRdeA== X-Google-Smtp-Source: AGHT+IG2ENXPXBTk1W6Mq8CXJlT0YYs2ixVA5LEEEiy3Mx6WfI8UlJvQB9i6phuAAMKMMvVbuzPj X-Received: by 2002:a05:620a:190f:b0:790:8721:367b with SMTP id bj15-20020a05620a190f00b007908721367bmr3961174qkb.47.1714060759845; Thu, 25 Apr 2024 08:59:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714060759; cv=pass; d=google.com; s=arc-20160816; b=yNkcuK8VwKUmucp5R28uIj6nmxvKor6dog7/cjdi7RKaYjDaDpB8VzjXMNytiwYnFM 68kzLdakGvaTcGDwPMDG+HejLqEpislgxTadxkhetfcx2tUwIo7+DRoE2dt1ffjNn+9T FFj3D6M0x4VRYRFHHHa34cWWRThEQ3KEEnU3qkARKdCzXo6Yycz8mkR06focScpBuKlj lsAwx4XU5QGTp9YsuZ9NVM8hk7Cmd9tsDnbiCGWbZd8gC7Kftf3O5EVSpko1hG6UTp7m +u7IIsM/4kxbwAHCkka5jUVw7bOPYu3O3/E4gK7ROUjjhSstqCMgN3M0h2eolWJuySNH +0ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SvHVmPAegJ392VYZU4zoY1NH7v88Ksklk3YJQ6R1YoA=; fh=YOF4IIx1xZ9IMikeJ+lsoStySZB0i2yw7NtfJ51gdWA=; b=Xq7MZdX48+OCupqxw/npoPdLjdSFgrBsHm4H6dtSGfQlQMQo0V65NqMG+4h7xtcpU/ MR4QuPxUIJ5rVO70EVGmUxZdZi1fTeEBLM57ISqf4ELIuJbf0apUAAr3peGs3VjFN/Z7 Mo8mcI0J/jdxUWxHhyh5Drqgv4DJLZrOqhPLPuQC62bQTmJOkUhG0SjLjbVP8fTO8Dbt IpFA5Y1Lzoxy7TDzQTrmmqCx5a1WoDlEN9QT9M7HTJaO01zs3MHgSlh/YhSQsWqOuPpf YZsBaPkm3VkLHvIEUw+k4Y7fapr+RfyXlJuafGqDYXaBdDzgui8DXW2DHoNglcvjxd3M N8Fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PH4IDFhj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4071-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 x12-20020ae9e64c000000b00790628c3f69si12915986qkl.95.2024.04.25.08.59.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 08:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4071-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=@kernel.org header.s=k20201202 header.b=PH4IDFhj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4071-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8BEE91C20AE1 for ; Thu, 25 Apr 2024 15:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73B3314D2B4; Thu, 25 Apr 2024 15:58:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PH4IDFhj" X-Original-To: linux-bluetooth@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 C87D714D29C; Thu, 25 Apr 2024 15:58:52 +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=1714060732; cv=none; b=fI5WbiFeyKtjl/w0lw0NUegIRAmLEo6ZIz1mgacE1mSBjsrj/UO4btM9Z8VsMpjMRb1u4wfISGdWDQtprFd1I4amQ33+GgybBdMVE+5QAjKkb+2wIOQFnQ66eyB0poom3PiSoZLYWpPyJUKgYobmEIcCOHCpqcc/RDG3sXO1VLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714060732; c=relaxed/simple; bh=YYdsZZbDf0uQAsXcaRfqvezdgx2X+zgwj12LUKvIeNE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CZat7yOtZHuH/dbqtAiwuCKzm1bOAi9tlVDynVYljHo4gOiq3te7fC7j0EazzxxBZfldxEpQ1nmv3seWC6xglidfE5AC5QngxPCqyv32LkKdpgKrRusTq/cUOA86QapkUOyG4apsdwQairabOl2IoqAWTJExza55SLsE/fDH2io= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PH4IDFhj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C51DC113CC; Thu, 25 Apr 2024 15:58:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714060732; bh=YYdsZZbDf0uQAsXcaRfqvezdgx2X+zgwj12LUKvIeNE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PH4IDFhjSzZYQ+XALybeigvADap8feq7Bi03/34DmyNcNZ51MieycxnwUgIjPh83R LHgBESNlAzZUkYBmUPKwcqs5buT/lBMZrCPWVvOoWnrtKp/bOOtPnadWrRK+lOpK91 m0s7w5EYTpg5JwkRYvBScK8iFa8e22QMO/9BxxcEKEf2knXvbdliNWNiXhwzQafdYb 3ExkwuWohaklyhLZUx2zxHrvtkHr7bGHH9alYKsTxBz43E0K3oG/uej6duRIUkhIbN BFiVBJUnCWFVt2OxlIT/ZWK/8p4c1TGKQ8/B+w3y+WxLwUqgKsVQqDjZP/CJ1bcEsh 39gqJcDvBdf4A== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1s01Uq-000000004z4-2pvz; Thu, 25 Apr 2024 17:58:52 +0200 Date: Thu, 25 Apr 2024 17:58:52 +0200 From: Johan Hovold To: Janaki Ramaiah Thota Cc: Doug Anderson , Johan Hovold , Marcel Holtmann , Luiz Augusto von Dentz , Matthias Kaehlcke , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Stephen Boyd Subject: Re: [PATCH] Bluetooth: qca: fix invalid device address check Message-ID: References: <20240416091509.19995-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Janaki, On Thu, Apr 25, 2024 at 08:31:50PM +0530, Janaki Ramaiah Thota wrote: > Apologies for the delay. As of now, we have observed the following > values in the upstream firmware files for default BD addresses. > We will confirm ASAP if there are any changes. > > --------------------------------------------------------- > | BDA | Chipset | > --------------------------------------------------------- > | 20 00 00 10 80 39 | WCN3988 with ROM Version 0x0200 | > --------------------------------------------------------- > | 00 08 74 12 80 39 | WCN3988 with ROM Version 0x0201 | > --------------------------------------------------------- > | 00 07 64 21 90 39 | WCN3990 | > --------------------------------------------------------- Thanks a lot for these. I see now that the default Trogdor address Doug reported (39:98:00:00:5a:ad) appears to comes from the fw too: $ od -x crnv32.bin | grep 5aad 0000020 0000 0000 5aad 0000 3998 0008 0008 0000 which means that patch I sent this morning should be all that is needed for those machines at least. Can you please confirm that all the WCN39xx have OTP storage for an address that an OEM can choose to use? If that's not the case then we could simplify things by always marking their addresses as invalid, but I assume that they all have address storage. Johan