Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp425658rdg; Thu, 12 Oct 2023 09:25:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOWbYUt3V4/x/k+/Zl+DaSo6oc6h2cZrI8jAGvPmpfki6UPwyQFp1IKZFFZ18DzUjV9pzx X-Received: by 2002:a17:902:c94f:b0:1c9:dcea:33e5 with SMTP id i15-20020a170902c94f00b001c9dcea33e5mr3194458pla.67.1697127948517; Thu, 12 Oct 2023 09:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697127948; cv=none; d=google.com; s=arc-20160816; b=p+Tpz+vCcQ5STkrG9fXs95JProBWsnBCZW8H+coo61C9lBXgDtrkzwyY4GdltBRvee X360MbezXClyszpITl6dqJlOMpM2NyvTMbWNzDYyPXFvRClxuBhTlxbbIDLDnIp/6nLa Y12tK5tE8E30ZImzJR3KiX9s82xEQzvCgfIHr4m9shcc1DHkGjc46rWdHFNByjbHj58y DLMXSs55GJRM9kzy3kGa229hgZjzNIo6myFpHdkbu4i3AZvzZpurlNz3bkQyID/Ekz5t h1WhHX4va4tI7etQtwRGrRxeokrFhsXyah/Y5YYGE9Na9LRJjo35hK2p1CgRzPuqHwaE fdow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=tZlTUIZh/Bp8miL3ZE647fkaHabCvqULMuhMIMv8By8=; fh=IASPYcOIho7oqCTCG148TMm+iz8jajcTWVQNDvoBkZM=; b=xIWi2xrzLsb1Yt69hZZNM/ugAq3lgMrCNsv+DYFmhrIcgyXBOMdBIQZhSwZ8N7TkUD NLhHHpsOgLGFGqRVHnW+PvTPyP/NvQyUygPuLCu1YX2CRHFqhWZ/SOn/kD8fKgbC0J8M EbvuKHtbsg0NVH57vcU5kA3GV5eXo56CDlk9P3f6ohSgRlhXXYfFcBgq15sTAEvWUKH7 S4FWkr6vjr9YEqS6rr5C4pmyPGewN4vZ/4nX3pG4QK0/esaNt/2tERa6WOOZig6ROfOP Io/ubt402NmgmaqOntMWj9SRCQG57Dg01nfJUrBA9QyflQtJPH2fhA9sRrKeu/PaYnHn opmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owaWl7YQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u17-20020a170903125100b001c755810f7esi2734877plh.499.2023.10.12.09.25.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 09:25:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=owaWl7YQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A15D182698E0; Thu, 12 Oct 2023 09:25:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379539AbjJLQZh (ORCPT + 52 others); Thu, 12 Oct 2023 12:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379523AbjJLQZg (ORCPT ); Thu, 12 Oct 2023 12:25:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45B5AE5 for ; Thu, 12 Oct 2023 09:25:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08ABDC433C8; Thu, 12 Oct 2023 16:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697127933; bh=YNQigbYz044LjlyWkF5uH8izFEBMRQbk1jX2yJ52+HY=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=owaWl7YQ8CnnS8FHNgaUmwuOWAC9NgEW/SJD0KRbScPfd64osPjXVcgNLqVU0g8oz ngcdI96wzEYrLaZGl3f9arnzEKoHou0vIoPcM5CneqP67ZXZxMsxMeyFmbCB8/QHGJ RfvZn6getXkISasQei58JKPmijzRU6NeJspdpRztm0HPn2N4d8wTtT4zDZ2YEHk/0W kty0qATbNINUCZKFw+QsIGWsLXNhpOIpCVrj4xIiZzCxtLTXThKfMdER+IKYMij5Y7 dZjPzeZnvUNREq5nVsSx3SlumDxIq5ER8LHYN9gl8F29+4EleDUxStU8jaqxSYJEuO 4kWyZS8uG4cYA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v6 1/4] wifi: ath12k: add TAS capability for WCN7850 From: Kalle Valo In-Reply-To: <20231011050004.423413-2-quic_lingbok@quicinc.com> References: <20231011050004.423413-2-quic_lingbok@quicinc.com> To: Lingbo Kong Cc: , , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169712793008.3550118.7804115872979270031.kvalo@kernel.org> Date: Thu, 12 Oct 2023 16:25:31 +0000 (UTC) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 09:25:45 -0700 (PDT) Lingbo Kong wrote: > Currently, ath12k does not support Time-Average-SAR(TAS) for WCN7850. In > order to enable Time-Average-SAR(TAS) for WCN7850, ath12k defines > ath12k_get_acpi_all_data() function to get TAS configuration and SAR power > table, then sets pdev_id, param_type_id, and finally sends the TAS > configuration, SAR power table and WMI_PDEV_SET_BIOS_INTERFACE_CMDID > command to firmware to implement TAS during the initialization phase. > Besides, ath12k registers an ACPI event callback so that ACPI can notify > ath12k to get the updated SAR power 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 > Signed-off-by: Kalle Valo This adds a lot of new warnings: drivers/net/wireless/ath/ath12k/wmi.c:7172:21: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath12k/wmi.c:7172:21: expected restricted __le32 [usertype] length drivers/net/wireless/ath/ath12k/wmi.c:7172:21: got int drivers/net/wireless/ath/ath12k/acpi.h:27: line length of 96 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:115: line length of 96 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:152: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:154: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:165: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:255: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:257: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:278: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:301: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:309: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:317: line length of 96 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:328: line length of 95 exceeds 90 columns drivers/net/wireless/ath/ath12k/acpi.c:330: line length of 95 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:6995: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7007: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7009: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7035: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7047: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7049: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7070: line length of 97 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7079: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7099: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7101: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7128: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7139: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7141: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7168: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7180: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7182: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7207: line length of 92 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7219: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath12k/wmi.c:7221: line length of 94 exceeds 90 columns Please ALWAYS run ath12k-check. 4 patches set to Changes Requested. 13416565 [v6,1/4] wifi: ath12k: add TAS capability for WCN7850 13416566 [v6,2/4] wifi: ath12k: add BIOS SAR capability for WCN7850 13416564 [v6,3/4] wifi: ath12k: add adjust configuration of CCA threshold value for WCN7850 13416567 [v6,4/4] wifi: ath12k: add set band edge channel power for WCN7850 -- https://patchwork.kernel.org/project/linux-wireless/patch/20231011050004.423413-2-quic_lingbok@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches