Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp35417rdb; Fri, 15 Dec 2023 22:02:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNTF2xfiRE3RFmHStcp0DE5iN1rX/5jPjhxhwSEXmcceES+pDLsblknF7miZ8/ovkFqmcp X-Received: by 2002:ac8:5a12:0:b0:423:6e9c:2de6 with SMTP id n18-20020ac85a12000000b004236e9c2de6mr15855526qta.32.1702706550654; Fri, 15 Dec 2023 22:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702706550; cv=none; d=google.com; s=arc-20160816; b=ASAADWHEe42RVZ/8+8o9UTza8kd4/35ScpXnBitKs5FCAeVnmXHWmdKYzt5ABCjf8n jrJ8k2mNr4h/sH31tJIvol/Ltbb0hh8fElRSPDxjvfmX7NfmOYW5IdksV5XdY0dviJF4 xh680TNbflUyoSsQoo3kAIaFZwkZbQhdD+MskrV5gnG1ubUEcX9HBxlw0DmjJmaVzfsC Pn9X0xuKabFKIdGE4dyeIljjFLc93EaEydWgLWDKJOJGtUPKMLEKtjIvPyID7PQjnMe8 Sm7MGvLcWKCBCHjbQop+Xe9jt1oXyQkDo+dlOJ6S1RfO00OwQZqOfrsWGo2S9aqcluwj ddbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=rZK/Xcnjk3L8biv7FoNRD0CQnCUzAoYQp6lNN+mJEx0=; fh=iuT7hybwPTwRgORCXDEfziFycsbMl38R7mEpaqq+Y78=; b=Ov6mkJYc3qOR0dOXqdG9I59wc5zd2sjb50dA2hP0J00hDJhIqhmZhdWj2YXXqEQ7vv fEzz2vMhRq2WbmS8bAvEYsq7PoBeAUwjFpiJ4cH0lUxyYS1R2Tu5wRptEiwl929bgovG XfrrMwvN5Uefp++5/jdC18Bs8faYTIPTOcK87k0039xk9MO2HNb9ontrZIibZ8piNoqJ Jd2Te3/MVKd1ch0XBH+MwVwKPL+TpaFA52CkGSV44MI37t+7OE75yfG7Puka1H+pD5nE 6kJlw5hwRfNgZf7MwF+WerWp0a8OhqtDO2Vjvv5+L1ROsu3wYDrCMjqVzL5NPp1co+vS 0eaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b4oM5xMI; spf=pass (google.com: domain of linux-wireless+bounces-851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fv14-20020a05622a4a0e00b00425484ae0f1si21782394qtb.542.2023.12.15.22.02.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 22:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b4oM5xMI; spf=pass (google.com: domain of linux-wireless+bounces-851-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-851-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ADFDA1C24B10 for ; Sat, 16 Dec 2023 06:02:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48D81156C1; Sat, 16 Dec 2023 06:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="b4oM5xMI" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 E53B614A8A for ; Sat, 16 Dec 2023 06:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BG5xIB8032516; Sat, 16 Dec 2023 06:02:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=rZK/Xcn jk3L8biv7FoNRD0CQnCUzAoYQp6lNN+mJEx0=; b=b4oM5xMIfnPpIPW59pIX13R Kn4D0TCmP7jaTrD29NsZ0rNGug8QIxSIONun2s/uOt3Ky0OYECxng+otm3Kw3hgl ZSUem8EsKNiA1esghYfllMYZXjWmsF6ih6bue6OpT61nLYW/vuKH46IFPI/2xazp lNzWR92jC/5tqkgPv0CjaaHPzqp/OkRYcEQRa23SIbJx6KK+J4x7kCfvyecEWALy 9IcS8mCEWzTkR7HUPda9R/IAaSTFqSeQzLoyi210o0Op26kV2BwMeRoo/KHMdN5s YuVIFklhhh8S1221Zaki0bGqWa5HFmJqvuKrmk1Bnwv7Ee1nJhRNhAY95bO8pPw= = Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v152q833p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Dec 2023 06:02:11 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BG62A5M029858 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Dec 2023 06:02:10 GMT Received: from bqiang-SFF.lan (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 15 Dec 2023 22:02:09 -0800 From: Baochen Qiang To: CC: Subject: [PATCH 0/5] wifi: ath12k: support some new strings while searching board/regdb data in board-2.bin Date: Sat, 16 Dec 2023 14:01:35 +0800 Message-ID: <20231216060140.30611-1-quic_bqiang@quicinc.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: mMxWL8-8kDm5zu8F_0idAb7YN2sqlcj9 X-Proofpoint-GUID: mMxWL8-8kDm5zu8F_0idAb7YN2sqlcj9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 phishscore=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 malwarescore=0 mlxlogscore=688 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312160042 board-2.bin may be encoded with much detailed information such as vendor ID, device ID, subsystem vendor ID and subsystem device ID to distinguish different chips. So add support to do precise match while searching board/regdb in it. On the other hand board-2.bin may only contain general information such as bus type etc, so add fallback method to avoid boot failure. Baochen Qiang (1): wifi: ath12k: support default regdb while searching board-2.bin for WCN7850 Wen Gong (4): wifi: ath12k: add string type to search board data in board-2.bin for WCN7850 wifi: ath12k: add fallback board name without variant while searching board-2.bin wifi: ath12k: remove unused ATH12K_BD_IE_BOARD_EXT wifi: ath12k: add support to search regdb data in board-2.bin for WCN7850 drivers/net/wireless/ath/ath12k/core.c | 196 ++++++++++++++++++++----- drivers/net/wireless/ath/ath12k/core.h | 14 ++ drivers/net/wireless/ath/ath12k/hw.h | 20 ++- drivers/net/wireless/ath/ath12k/pci.c | 10 ++ drivers/net/wireless/ath/ath12k/qmi.c | 3 +- 5 files changed, 203 insertions(+), 40 deletions(-) base-commit: fc91263c01cc01cccb5da15a82fa11b288e8f5cb -- 2.25.1