Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1765245rdb; Mon, 9 Oct 2023 02:02:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLhI4KU8k62CkM5InNt3DzU9ZLqC97g7wjiW5f0/hZjhrOlRcRoYAoEW/hM3nhNfIioUlz X-Received: by 2002:a17:902:a983:b0:1c4:50f0:c4e1 with SMTP id bh3-20020a170902a98300b001c450f0c4e1mr14418533plb.38.1696842144953; Mon, 09 Oct 2023 02:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696842144; cv=none; d=google.com; s=arc-20160816; b=sFl8spuR+LgqR1v9Xr7eg4kT6WPIMQULWYFLU4IvkV0nOVjY9sPTz4JE90M9WZAtdQ L0I5HGjnFo1hHnRS1dzCrUXbBC6wOh5q4bDOMY0QvloNNJQs+4ECSvW95Oe7Veg348no Hql63d4xGWWh0n+nMcJF7E6Hz6i9uZsUCri+skx/trSraXzAxDHsiEJUUaa8qeemLpju 5ziGt6ZjbMia7M1ZBSGk+HFx3wO03cuDjlYKfzN68O0wcf580gpQPOKV8pgDxdyb+s3D Dn8WyhpJ53WoYEmS2C+iakACyr5rVpUIooWlBy3R6131Ka7/iF8kFDsvZVoRNQJUSn2r 8Kug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9twVUG2SrWS+ncc3m23Jbox6Lmt2JfGJv63ykKkk5s0=; fh=gLERMnwifQ/Vs2DMgTaiUjd3kDStUWqF3f7F38bqmUM=; b=wUC6N1VABfrq8i6uSilfhK7r3J6i1p/+V6hkSTa6yFx5pIiAHHAAj4Q/zy2bbyarqZ vnJdx6WrPM6/9rjuq45gdMocv389hpgVdP0+e0b2a6i36J6udQ7dBMPUZrodm32Kd64A wlzf6GbVP7kNezEWGkBQG1YA7gdmZDQRGlhFigRgYBPIz5ymNYXL06cqVlklbflEQCzz 9L9VSga0ZjzhVyVgBeokW9HcO1/17UQ+DvO8kbGi7lqLiv5EeEi5Fo/tiFiKD3W3qCH4 G2z672dRcDknxUwd+r9zOodQt6BJeRK1wwsBgiY6yWypNqeBAOKqyirgcnXQ4bsEzxze B7Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DP3HlTgB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h13-20020a170902f54d00b001c3b4eb2135si9673917plf.463.2023.10.09.02.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 02:02:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DP3HlTgB; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 373C3804BDD6; Mon, 9 Oct 2023 02:02:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345624AbjJIJCT (ORCPT + 52 others); Mon, 9 Oct 2023 05:02:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234493AbjJIJCR (ORCPT ); Mon, 9 Oct 2023 05:02:17 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBAD8AB for ; Mon, 9 Oct 2023 02:02:15 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39984cIj023634; Mon, 9 Oct 2023 09:02:08 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=9twVUG2SrWS+ncc3m23Jbox6Lmt2JfGJv63ykKkk5s0=; b=DP3HlTgB7aLBFrBd/DKdAiZhhkQrlgBVANicGRDQmlR6CwmCg4KGAN+3hlYCloSCBuDa jwRJzSnZs0u1+1dI5wuQcoR7xiOa7qCmIPtbjH+i5tN2OWWpsjkI44yQtjVW2BiKfK9l HnJFV71AKMHXgM4h1Pf/4gYU5wzV+o5LPuknM19smeYN1/CS0aPRClrtw1ObxbJAtGOO tXR39bZF3mrtJ2+tN/ERZIZ5+77v0ItbXausMxVvURSNqbRq53e1cIC3GcV/nlYB4m88 5xpX8YqTqnnOg+bGcxerYlzoH9WJN8IsnsY4t3SO7aYd5N/4qmhRrCiAPlJp+CwzsERg Dg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tkh4t9xr2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Oct 2023 09:02:07 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 399926ws010343 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Oct 2023 09:02:06 GMT Received: from lingbok-Latitude-E5440.qca.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Mon, 9 Oct 2023 02:02:04 -0700 From: Lingbo Kong To: , , CC: , Subject: [PATCH v5 0/4] wifi: ath12k: implement some functionalities through reading ACPI Table Date: Mon, 9 Oct 2023 05:01:45 -0400 Message-ID: <20231009090149.247211-1-quic_lingbok@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: x4nM5OH-duSCYfeOUnQu-16a3vYfWrSx X-Proofpoint-ORIG-GUID: x4nM5OH-duSCYfeOUnQu-16a3vYfWrSx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_07,2023-10-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=586 priorityscore=1501 lowpriorityscore=0 phishscore=0 clxscore=1011 spamscore=0 impostorscore=0 bulkscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310090075 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 02:02:21 -0700 (PDT) X-Spam-Level: ** v5: 1.rebase to the latest tag v4: 1.revise commit log using imperative voice 2.delete guid_is_null() v3: 1.remove unnecessary cpu_to_le32() 2.adjust the order of the macros 3.apply jeff's advice v2: 1.put in the include guard Lingbo Kong (4): wifi: ath12k: add TAS capability for WCN7850 wifi: ath12k: add BIOS SAR capability for WCN7850 wifi: ath12k: add adjust configuration of CCA threshold value for WCN7850 wifi: ath12k: add set band edge channel power for WCN7850 drivers/net/wireless/ath/ath12k/Makefile | 3 +- drivers/net/wireless/ath/ath12k/acpi.c | 365 +++++++++++++++++++++++ drivers/net/wireless/ath/ath12k/acpi.h | 60 ++++ drivers/net/wireless/ath/ath12k/core.c | 6 + drivers/net/wireless/ath/ath12k/core.h | 13 + drivers/net/wireless/ath/ath12k/hw.c | 10 + drivers/net/wireless/ath/ath12k/hw.h | 4 +- drivers/net/wireless/ath/ath12k/pci.c | 6 + drivers/net/wireless/ath/ath12k/wmi.c | 252 ++++++++++++++++ drivers/net/wireless/ath/ath12k/wmi.h | 47 ++- 10 files changed, 763 insertions(+), 3 deletions(-) create mode 100644 drivers/net/wireless/ath/ath12k/acpi.c create mode 100644 drivers/net/wireless/ath/ath12k/acpi.h base-commit: 3b961e3a412d9d4b70418f53d07847af0a7ea376 -- 2.34.1