Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4464486ioa; Wed, 27 Apr 2022 04:34:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDUSRbmAVH+jP2HWez4ubhrcoIk1U9+gcIXP09s7JpggMp8ZxvZIdy09X9Godii4BAroxN X-Received: by 2002:a05:6a00:1145:b0:4f6:3ebc:a79b with SMTP id b5-20020a056a00114500b004f63ebca79bmr29622079pfm.41.1651059287640; Wed, 27 Apr 2022 04:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651059287; cv=none; d=google.com; s=arc-20160816; b=hUm0iPOde9JGOxxutivLhvwbvEpK6kCw+46k/fxTgz3J/xafTquh8U1RTsnu7QtE5r 6oMiNVRZB5P7TwA/pj/y2qDlz0+oTDj5+RxWGzjLINN/Fdh99P/L6EgmQ4LA8fToyT3r lXChhuTAj6GT3xgkR6hrpxSRFcnIohl1XtMqYZrrkJfhVBtjrBq9T15YQodxzZmnbO1q NdOZ8YGTLN7nzQMrD4xhd9VfDeCKF4pXRZOtTcnWiPS+p+eLy166D0GmAs0bXHc/LnNg 67+9f1S+Mrf9SafkWGdcexyU+XZgvXqkbO/rC7NbrBqReFdzspvZPFN4u+/5D2uZXOR/ zacA== 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=PV4BReyqY0WW+WPSnECUWCgmrlZy5HROTRlw7H3N4ds=; b=SrZH8TG9yOi+K49bOYfWUgZZQJrq6M3pv6IaEO26G1Y5H4IxmesGpM7nAJLFSHSgZQ qXR6Nvqx61kCd9bMr+1GJTw5QYnogxVryQjHLBMeAB8xcuJGFIsCp/YlecVa1JAHce+R cZTjz1C5vvX3QzhrHlUDQvs+b23sU260Dbja8sty1wSZa7KIMj36d9jeKM0OrlKln5kT hviUeE2PoxOgz5JZBO6zXHeOm690j6ac1VVUNtVyMvnrK5acrnIrFTLObg6rORklGdYO dL4Pv2lh22j9PtE0hd9DKNa5jNIl8L0MdxpR+Je6hes+u1K62R+lvlums6jDDNCvs4+Z e1NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BWS633cD; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l197-20020a633ece000000b003ab15789bd8si1067617pga.198.2022.04.27.04.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:34:47 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BWS633cD; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 92BD649200B; Wed, 27 Apr 2022 03:23:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358765AbiD0Hbh (ORCPT + 67 others); Wed, 27 Apr 2022 03:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234795AbiD0Hbg (ORCPT ); Wed, 27 Apr 2022 03:31:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E70406E572 for ; Wed, 27 Apr 2022 00:28:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 874F961A56 for ; Wed, 27 Apr 2022 07:28:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12800C385A7; Wed, 27 Apr 2022 07:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651044506; bh=kXHzBg/iTHGXGr9gIb2+0tGXBw6gYM+j0fsfvgN8s5c=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=BWS633cDSAVUo42/bMEyN+8q60+Wd1SvjlexMfEA0+CMQgwqpu1Wna/YSlSJp81rM nCYFVhvd6D7PuJW6QDtChaW4+qnyd883zF9A3BTdsUvbZOuveTz4j2F1loBOQpjZL9 d5T6fOWGEtlU+X6Dm6cDXFblqAroNwrAqDmOKqZpjPdFkMGUUsAEeooeFWhNQyeE6K l+hzOQFal0Hp8Ic1ZhHnWdV0iPtPmx2rHT1zkl25saZvp5gfofsozPvBnYMn9PCGUu Gs2q7go+gWhtDWtQDdZH5gjhiZ3FOOTkk3+QDQsCLdHFkYhhxqaqGLJ0gWkMdi8BUe 0817nYZqG6SxA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: add read country code from SMBIOS for WCN6855/QCA6390 From: Kalle Valo In-Reply-To: <20220421023501.32167-1-quic_wgong@quicinc.com> References: <20220421023501.32167-1-quic_wgong@quicinc.com> To: Wen Gong Cc: , , User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <165104450322.30072.25044330550359945.kvalo@kernel.org> Date: Wed, 27 Apr 2022 07:28:24 +0000 (UTC) X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wen Gong wrote: > This read the country code from SMBIOS and send the country code > to firmware, firmware will indicate the regulatory domain info of the > country code and then ath11k will use the info. > > dmesg: > [ 1242.637173] ath11k_pci 0000:02:00.0: chip_id 0x2 chip_family 0xb board_id 0xff soc_id 0x400c0200 > [ 1242.637176] ath11k_pci 0000:02:00.0: fw_version 0x110b09e5 fw_build_timestamp 2021-06-22 09:32 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-02533-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > [ 1242.637253] ath11k_pci 0000:02:00.0: worldwide regdomain setting from SMBIOS > [ 1242.637259] ath11k_pci 0000:02:00.0: bdf variant name not found. > [ 1242.637261] ath11k_pci 0000:02:00.0: SMBIOS bdf variant name not set. > [ 1242.637263] ath11k_pci 0000:02:00.0: DT bdf variant name not set. > [ 1242.927543] ath11k_pci 0000:02:00.0: set current country pdev id 0 alpha2 00 > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3 > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 66721bb4bbf2 ath11k: read country code from SMBIOS for WCN6855/QCA6390 -- https://patchwork.kernel.org/project/linux-wireless/patch/20220421023501.32167-1-quic_wgong@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches