Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3041706rdb; Tue, 12 Sep 2023 23:13:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZ7l1SieKeCkZQKa5aPgJKp2f+2RSOeYgxnC/0EwDLUYcIy9jR8m4kiMR1s6dcHKv6e4ks X-Received: by 2002:a05:6a00:230b:b0:68f:b5a3:5ec6 with SMTP id h11-20020a056a00230b00b0068fb5a35ec6mr2949399pfh.0.1694585634709; Tue, 12 Sep 2023 23:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694585634; cv=none; d=google.com; s=arc-20160816; b=PZNjcIF3cRtGmhnW9Ls9QHlDaHMQyy7Nv3qVmv6MMu8pz0SUluHVu65kftqNSbqY6/ /1wp8iHBhQ0DIORuUoJFqHt8VQWKyVkcmxhR1hJdtFqp7yGkgRDw+XfiYtsT/ClzoxP0 NjHVAkrrfaBa0g+P9AfKRsO08Wm7BE5sf45eXB9DmUEPYFTa8/rxM6sb4KIBNi4/WkDZ Oia3EtlRKDw1Roo2OHP6KxYgK3BELPt9rGV1KAJbqIoyspHUw0O3tK1rnlDBPx4QW2h9 DYx5bMC6w1O0VFKzTnVd6vX4ruthjO+ZA96w0uiH5bqSfqg0N3z3lOekiUngeowZMtMa 0dLg== 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=HnvrtqBO/9G9R4p6dGRo3CzSdAdjy4K9Uo4grds356s=; fh=6u9khkvya3b0jWNr5WZXnBCj1yzRptR/u92Y5QpTmJg=; b=dkM+TTPgHAu2FZlT6Wl7qdkz/InU+mZUSzFadOjQZ7UDHMblENH6N+bYhUW8fpWuJp 5Z/PBzse9wSoCjoC72xKE3bXBwlj90AdCwhdBfsIuel8YWAIA5ZCcUHw8qYIQhYMnkXo v0jAWjKsK/OpJBQIPg/C3oG9wAyvFCjMa6K5lHrI80Z4GAwyu39fz9UVYMioIYD7UbhE IO/ZUgvbDTRj3LuRl/iCmGA8n+db7FJ+mWbMVjqgRn/3BUluMjMZm79I97qPj0t1Ta79 D6Cl/zFlMzW9oiUfUJVq5hSC5Hq1JHXgcJGPTlqK7xEpZ4KM5B7/BrwKiBNXCMw/On9A 46wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lp1iUGkp; 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 y127-20020a62ce85000000b00687f4ebfea9si6316626pfg.319.2023.09.12.23.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 23:13:54 -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=Lp1iUGkp; 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 420B28023582; Tue, 12 Sep 2023 12:32:18 -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 S236057AbjILTcU (ORCPT + 56 others); Tue, 12 Sep 2023 15:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232810AbjILTcT (ORCPT ); Tue, 12 Sep 2023 15:32:19 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7247CF for ; Tue, 12 Sep 2023 12:32:15 -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 38CJUPlM031521; Tue, 12 Sep 2023 19:32:13 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=HnvrtqBO/9G9R4p6dGRo3CzSdAdjy4K9Uo4grds356s=; b=Lp1iUGkpg0ZhHQ8Dy9Bkj+ApXQ/NXDiuMgpxLDAljRaahrbNMeE6ACFG5kZR3SMZKgOy pVqjhp6izX070ilXEaZEYo58q6c76rgFQHx9xXbj5/zDPk0gtrdD+1qmQnpwLSmyK0SF Q5EtHQk182Ufw51r9y4KJ56D0DIXuVUnmnH7MXmuW/Ap5BNHR88dHb7OcwKJnY/Rn2sh RbsaKbbGYoXJpZkNDYecwftne0zGeuou6J7XgKlYYau0oHBPjljKDUhobmFD+NLZ8ej+ mXDxN2CEf8v6UFJ5RnBT4ThMZWGq5ua8jd9zPabMwqQPrTyTb3vncz/mjU+oRw76QUfd fQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t2qkj9ccs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Sep 2023 19:32:12 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38CJWCth017729 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Sep 2023 19:32:12 GMT Received: from [10.111.183.71] (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; Tue, 12 Sep 2023 12:32:11 -0700 Message-ID: Date: Tue, 12 Sep 2023 12:32:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/4] wifi: ath12k: add BIOS SAR capability for WCN7850 Content-Language: en-US To: Lingbo Kong , CC: References: <20230910082802.9198-1-quic_lingbok@quicinc.com> <20230910082802.9198-3-quic_lingbok@quicinc.com> From: Jeff Johnson In-Reply-To: <20230910082802.9198-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: nalasex01c.na.qualcomm.com (10.47.97.35) 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: y6wR6NH9tLasx43okgdcJQGpCumc5CAA X-Proofpoint-GUID: y6wR6NH9tLasx43okgdcJQGpCumc5CAA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-12_19,2023-09-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 impostorscore=0 suspectscore=0 spamscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=729 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309120164 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]); Tue, 12 Sep 2023 12:32:18 -0700 (PDT) On 9/10/2023 1:28 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 Acked-by: Jeff Johnson