Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp36847rdh; Mon, 18 Dec 2023 10:48:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYewJDJad3VXABGso6PArM2+63Xgguyd2kxO7aGCayp8rLy3vLn5KsLFKJBFJ1xAtSC3Ed X-Received: by 2002:a05:622a:1b8b:b0:425:4043:29f4 with SMTP id bp11-20020a05622a1b8b00b00425404329f4mr19652278qtb.111.1702925307507; Mon, 18 Dec 2023 10:48:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702925307; cv=none; d=google.com; s=arc-20160816; b=JlA3JhARaAUJojFOfiGk4xuSjdMAvk9RwdnHLjWHtCpdFfM2FtP9ga+eb69j7Vy2hx rZYtj30OANKJzNp7qd9ca10B3eJGvLDl8K6wSzgu+7Wrc23TjmyPq0qZ4tyRbrh90jUL yHxsruN7NXBs69Q2ILnclXT6HWylYsw+MSgoSerY5RsImdwCmHnRu3ts0iFo1eebgK5l jesEtTd2EkmUr6B4YJSU/pA7Mezs9IyBTR9CJWfOgFqWNwvnxIp+mkCn28BFh+FYapYL tfxNjMDOSxPgYZqRu6VZMYe4bkH2DPPQdiF9EcAgfHroT3Lzof0kRiitzBYsAGSbeQxd re2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=KsnXwRU5Vw/Pkm47of2friVVMngVb09zDKAVrdau3Pc=; fh=2UGyKc87B52f7sIwEYl9g+SBtVnXUiLMuSlEko54uMQ=; b=ZrFEyvc1J5FZCzBPqzimUdFogn7LCdqc8kDuq0mI20qtUPjiSFsBVZPO/1BWmPUv/K Z7whLjhodhpNOmImIUpykH0nBH1BPBx5ec2ZaiAOoPyi+H/mFjOvvEWwNA2BdnAc40nm 3tj9ma0e1V0bOKotUNXSHg17LFFzj3IYcZKiunq7NGjb5GTwheWk6Xm/iLB53FVFy9MA 1i6OFhNpezvsnd1fyZ9d+97kFmR/ypafMOvgdR1G4QAlBuWaCBxgxakTxI56vwGHSXTa ACfoav549ifNK707nJR9OSJqXQBXm6ZY6iHyyl4tN9gE7c6UXfAWmMXVbpmsY+q3XlKK GQLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KKxqtYya; spf=pass (google.com: domain of linux-wireless+bounces-946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-946-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 g20-20020ac85d54000000b00425c5ca0404si20422440qtx.157.2023.12.18.10.48.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 10:48:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-946-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=KKxqtYya; spf=pass (google.com: domain of linux-wireless+bounces-946-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-946-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 14AB81C22214 for ; Mon, 18 Dec 2023 18:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC2361EA7D; Mon, 18 Dec 2023 18:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KKxqtYya" 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 B307B1E530 for ; Mon, 18 Dec 2023 18:48:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76EBBC433C8; Mon, 18 Dec 2023 18:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702925303; bh=W5pDp/Xk6bcXYEyHt0i/qxoIwl3g0rlTDIvftKERqZA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=KKxqtYyauP0FnHa8EY0g7ZZx08lXZ3xggrE+0AqnXt7ynlLv6LpF5G8vJVaQbLrvl k7r+ynRpsErOqNTxdrMK3P0AoEol3rLI6+HV3O/XjenDnQ51aTz2rIaf3FfSmXWkKV 7CcYvkWsh+Cir9xZILvB/8tUYIGSwWZrs4D2QKIz3Mf9jXL2tMYpA+gzcKNzocTvlA FwLcFD/GTJqKmrorhAxDToa8gy7xDlETCr/hd4sUrLKZ7ltjhT5KaATjSnECdXAwtr YTkiNZ+p+YtekKI26PempXDVIzICDt4S7zfw/lAH1F1hOB3fcQtYQq2JBix8Wbs7w3 8J6i78R3N2Vnw== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/5] wifi: ath12k: add string type to search board data in board-2.bin for WCN7850 From: Kalle Valo In-Reply-To: <20231216060140.30611-2-quic_bqiang@quicinc.com> References: <20231216060140.30611-2-quic_bqiang@quicinc.com> To: Baochen Qiang Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170292530072.424292.15296808219565634981.kvalo@kernel.org> Date: Mon, 18 Dec 2023 18:48:22 +0000 (UTC) Baochen Qiang wrote: > Currently ath12k only supports string type with bus, chip id and board id > such as "bus=ahb,qmi-chip-id=1,qmi-board-id=4" for AHB bus chip and > "bus=pci,qmi-chip-id=0,qmi-board-id=255" for PCI bus chip in board-2.bin. > For WCN7850, it is not enough to distinguish all different chips. > > Add a new string type which includes bus, chip id, board id, vendor, > device, subsystem-vendor and subsystem-device for WCN7850. > > ath12k will first load board-2.bin and searches in it for the board data > with the above parameters. If matched with one board data, ath12k downloads > it to firmware. And if not, downloads board.bin instead. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Wen Gong > Signed-off-by: Baochen Qiang > Signed-off-by: Kalle Valo 5 patches applied to ath-next branch of ath.git, thanks. f4c2a9d62213 wifi: ath12k: add string type to search board data in board-2.bin for WCN7850 7173972a2eb1 wifi: ath12k: add fallback board name without variant while searching board-2.bin 97474e5f5424 wifi: ath12k: remove unused ATH12K_BD_IE_BOARD_EXT 511207452221 wifi: ath12k: add support to search regdb data in board-2.bin for WCN7850 52f8c45fa36d wifi: ath12k: support default regdb while searching board-2.bin for WCN7850 -- https://patchwork.kernel.org/project/linux-wireless/patch/20231216060140.30611-2-quic_bqiang@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches