Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1153322rdg; Fri, 13 Oct 2023 11:47:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4hFXDDHt3/qwXGjJt4UqBKwfOz+XyPRrUjj4n4GGYLGSCXqj42b3vMRDYVorwxrGcVWfT X-Received: by 2002:a05:6a00:b95:b0:68f:dfea:9100 with SMTP id g21-20020a056a000b9500b0068fdfea9100mr36105089pfj.21.1697222865519; Fri, 13 Oct 2023 11:47:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697222865; cv=none; d=google.com; s=arc-20160816; b=s87UU7oedu5y/k30CGyRT67la8hH2KDfrvxZWkTskjVWMJIMFS4oLA/cXXAwwiqQIc p8Apz4zGya3NeIygNTjgwZzHfTjHuYjkvNfKRxtASOKqnxt0R+l/b6u06v/Qt2J8Yz/h 8Xuz2DpeIHzvTNcwsjetZhaEPGT1kqDbDaOo65rhdM0+YQBelXCaLK+OXpZJJqNmUvTx XYtC/Lk4wJtXiq9mZMALjXiV2ust25w0BsgzA1wMZo6rlhGEJXhp6FGlX8hch89Wo1bG 46hn/pAasWwgSae5d4EPlJKowpX3zn0cPGIK8ArwRq1FroUwpACwQcoHUhgfiOUfaydu 8X9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=k+YbKLD3LpOoOknZBlIT6LLoyvNamvtBYEZr9wvDYck=; fh=6u9khkvya3b0jWNr5WZXnBCj1yzRptR/u92Y5QpTmJg=; b=oKKhLZlx2bi/GLUJ424uw0mm/V/6nv4Kb9k/Xya53vF44w3C4AH37EfELYSoMnQjOJ B5m3qgQtpShfAZ824kYVwix+0GIHyQoVg6RvZoH7aoyGUOPulKUlNCFGAt81AuRHzh9B t7bAFJ32pJUGUdLcAHFzVsRZR8yXBZrgSiKvS1l37N07XHUPlnt5chdGh7REhfdACQo3 9qI3ptMBTmqAQQSPb/OH4J1Ns2kYVusH3YtMmUMVznqj4ObZJGZVgj+nX138hGWaC18b efAyfV+gbgveENYfd5h9mlWZbLMmssAsJf2ewFWoBrVJcFb3wMBSLtxLXoq8hiZuI7e7 V4vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ojwxLy6k; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o24-20020a637318000000b005afc5ea43fdsi423183pgc.849.2023.10.13.11.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 11:47:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ojwxLy6k; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 3E030834A9DC; Fri, 13 Oct 2023 11:47:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231421AbjJMSrl (ORCPT + 51 others); Fri, 13 Oct 2023 14:47:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjJMSrk (ORCPT ); Fri, 13 Oct 2023 14:47:40 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28BD583 for ; Fri, 13 Oct 2023 11:47:39 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39DESvab014811; Fri, 13 Oct 2023 18:47:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=k+YbKLD3LpOoOknZBlIT6LLoyvNamvtBYEZr9wvDYck=; b=ojwxLy6kV7UZfWJTNeeZbhWjICkYC1s+VZnm897T1ygjjZl+HwlUvXcE2/e2KdbRPRnF x8n5XPBtWpKPeKHffZ94tMS80KEzg5VM/yaiumrQjhuTv6FxxM8Hj/99xAQBY9A+CNvP XyqgNYDmf+9W6KZWi4cJ6+uZaTtP/O7Ty0e2OgsuhNljGq/JlL6e/3k+tXcuTluaR7DS /FPrGnj9FLQSBaHinOYbaMT26MOIAR8yWOU1DXupEzFVxWcijbl50H+/sO4nkoHjBt14 YpLWpVvbsJLVfmA4bO2uB5mW1oYHlAPs0GQQsFhIOFn2459RktbkHUhfOSUlz5BSeZdX 7A== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tpt11jjq3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Oct 2023 18:47:34 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39DIlYVI010999 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Oct 2023 18:47:34 GMT Received: from [10.111.181.241] (10.49.16.6) 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.36; Fri, 13 Oct 2023 11:47:33 -0700 Message-ID: Date: Fri, 13 Oct 2023 11:47:33 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 2/4] wifi: ath12k: add BIOS SAR capability for WCN7850 Content-Language: en-US To: Lingbo Kong , CC: References: <20231013114434.81648-1-quic_lingbok@quicinc.com> <20231013114434.81648-3-quic_lingbok@quicinc.com> From: Jeff Johnson In-Reply-To: <20231013114434.81648-3-quic_lingbok@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) 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-GUID: 0IfXJbiKUzg3dSIOoroqIWkiIkk8wyiI X-Proofpoint-ORIG-GUID: 0IfXJbiKUzg3dSIOoroqIWkiIkk8wyiI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-13_09,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 phishscore=0 mlxlogscore=731 impostorscore=0 suspectscore=0 priorityscore=1501 spamscore=0 adultscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310130161 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 13 Oct 2023 11:47:42 -0700 (PDT) On 10/13/2023 4:44 AM, Lingbo Kong wrote: > Currently, ath12k does not support BIOS SAR for WCN7850. In order to enable > BIOS SAR for WCN7850, ath12k gets BIOS SAR table and GEO offset table in > ath12k_acpi_dsm_get_data() function, then sets pdev_id, length of data, and > finally sends these data and WMI_PDEV_SET_BIOS_SAR_TABLE_CMDID and > WMI_PDEV_SET_BIOS_GEO_TABLE_CMDID to firmware to implement BIOS SAR during > the initialization phase. Besides, ath12k registers an ACPI event callback > so that ACPI can notify ath12k to get the updated BIOS SAR table and sends > it to firmware when the device state is changed. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Lingbo Kong Verified ath12k-check Acked-by: Jeff Johnson