Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1841003pxb; Sat, 7 Nov 2020 00:03:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAYhfmrPHuta9Y7Q/HGz5AiWtHrJkrP/AuFLztdE5X+PFRTlcAw4btB8BC3lfqzJJWZjVT X-Received: by 2002:a17:906:6949:: with SMTP id c9mr5885225ejs.482.1604736198362; Sat, 07 Nov 2020 00:03:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604736198; cv=none; d=google.com; s=arc-20160816; b=QwQxM2ZvE9I1jNBq6jjVAmhcF3lHMuy3EF2/KGcqWxC7ancHJnS+mbXzVz6Q2ONwxO 0TwpZ8QQBpHHvaXdFRYRhjDwIFA9WdAf5K1bmn8q+HuMMv312hLR7JiH5K3nXKL9hKb1 FE49uBPhg/t2PUrTI3NHDrfxvZm7h82vzTCtp6cYV/TuaTM2uIk1MtACWE0wPjFHaVDd pPbJ0PfrvSWyEaoCtyUqjq1iZXmE/7GfCtEDVoA67mrX43f1aNlI4PJLSlwj36OoIUfE InuuymsEUHLBZ139n67QSzcKkBhUI6Jpwzay7/CpA5MMbT9A6mFpQRE617K/oQ08RODB GO8Q== 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 :dmarc-filter:sender:dkim-signature; bh=Dze6yiFyX80WT4DfxYCWtJQqkOwt1Zw4tJhevbXewfE=; b=gFbmZnqoh02eJlp+HRfg2Ed+TO3Jla5q3NEWMyU+8vAnAxnrFTrsLDNM3r2VfeIj7l 5BFwfWr3rlsUhft0ep2LPi6MorrHmGtoFK34oxjFRSTu3nWIdVQYL69AAUBwb4sjT7Bl MUr8muqKJfwWT9dfmNCrjO4tbhxkZWYgEaaMUXqGrt1/2avcDoYhvAsVKY3nJQzvz7fl xpp1Xq84w+7fmBDRcwvOudlTkdbtTQj1Z7G/VRDSzW5S1TLf3m+wXf6A81LEk21pqZ+m WJ43DaoN9X3oPAH6hHSMkyMXc9vQOA/LW8keY8VgF8vdesA52lxwCdrkaUeTA+Mn6LbP YcZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=MR9WVLys; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si2867246ejj.581.2020.11.07.00.02.55; Sat, 07 Nov 2020 00:03:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=MR9WVLys; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727861AbgKGICn (ORCPT + 99 others); Sat, 7 Nov 2020 03:02:43 -0500 Received: from z5.mailgun.us ([104.130.96.5]:40655 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727786AbgKGICn (ORCPT ); Sat, 7 Nov 2020 03:02:43 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604736163; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=Dze6yiFyX80WT4DfxYCWtJQqkOwt1Zw4tJhevbXewfE=; b=MR9WVLys0LoU+An5206OAtdQi5U+CBy6yob7ojPcBk0IG5xVXjUOQkIYFBcMWSPNt4H5i0Fl KmvhJtV6vBH6P6uO5OGMg2jDGtIpEIT4gbYTZAOx08yYbRqwcxkQC0oTL/XYZ03jAKsT7efm JGGYxSsX9+uE7+vKotlyUNs1HUg= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 5fa654a202f4ee3801b25537 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 07 Nov 2020 08:02:42 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C5DC1C433C9; Sat, 7 Nov 2020 08:02:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 35C8AC433C6; Sat, 7 Nov 2020 08:02:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 35C8AC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: Initialize complete alpha2 for regulatory change From: Kalle Valo In-Reply-To: <20201021140555.4114715-1-sven@narfation.org> References: <20201021140555.4114715-1-sven@narfation.org> To: Sven Eckelmann Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Sven Eckelmann User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20201107080241.C5DC1C433C9@smtp.codeaurora.org> Date: Sat, 7 Nov 2020 08:02:41 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sven Eckelmann wrote: > The function ath11k_wmi_send_init_country_cmd is taking 3 byte from alpha2 > of the structure wmi_init_country_params. But the function > ath11k_reg_notifier is only initializing 2 bytes. The third byte is > therefore always an uninitialized value. > > The command can happen to look like > > 0c 00 87 02 01 00 00 00 00 00 00 00 43 41 f8 00 > > instead of > > 0c 00 87 02 01 00 00 00 00 00 00 00 43 41 00 00 > > Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01161-QCAHKSWPL_SILICONZ-1 > Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 > Tested-on: IPQ8074 hw2.0 WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2 > Tested-on: IPQ8074 hw2.0 WLAN.HK.2.4.0.1.r1-00019-QCAHKSWPL_SILICONZ-1 > Tested-on: IPQ8074 hw2.0 WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2 > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Signed-off-by: Sven Eckelmann > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 383a32cde417 ath11k: Initialize complete alpha2 for regulatory change -- https://patchwork.kernel.org/project/linux-wireless/patch/20201021140555.4114715-1-sven@narfation.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches