Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1413656pxb; Wed, 4 Nov 2020 08:17:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDyScn/FwPlmHLBqrJNF//EENmCHaOsYRDjkXDfKsPih8E4dYE1FNP9qLbMEDEqEgMrEfB X-Received: by 2002:a17:906:b084:: with SMTP id x4mr26625085ejy.374.1604506662834; Wed, 04 Nov 2020 08:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604506662; cv=none; d=google.com; s=arc-20160816; b=UBWzfdWQaPS/EsCUS9LzwXMp7Bso7IHxd0FcfUmS3gHTm2HkZVqpE1E+qFUODIkxG8 gOIIl+BhCBmrFUwL0hI27dXemuqW74npPO53xiwmSBEUxYBYztCIqX48vn+KefhIFH47 wZytLTC6Ah74JJRdZptweqye6sst3u4dQhN0lOlGW6PgGyDM4e8kncXXxMgYWV+uOt/1 0v+f2C7HzZydfx/6GP0IX4AUSPtkJVG9KKP+NHTfYaHY/MPu5Ui022Nu2v3dpSlPkU+I mT3kC1sUcY/4T373d94gl8pEvyhfMbRYzyp+JX0aGX8qoVcxsVaobm2p62HD+Am9ehGU 40Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=jGi3hEfmR9QjvZd352MiD6q1gXChgDqWIUciaVXePf8=; b=XEBRpmKr1RSbv8w3Mo4QdjuJWr6rP07Kx0sJWY7SV1H+IEoOqXdo2PqKYIEM5t+Y5k ty9riaUbEpElhtm5+EbJy4L/9rXHLDYuF4yDY8ZXLxCZguuMnJspQc3oP/RXYlKO6/gm 12e861RkA/sawBPdITcLTnkRLJfZcTZWwWjWtp8BkRoncq1SF2YWJ5iHUGPrG0efs/3A /7psJI6ifRs44KlZ2ykl79i1+kjrZ8JsyscJ7iEGQr87i5DHyPykZ08Z7YCLtqDJFiM0 XMdZcR7v09v89Eb8TD7L8/UT1uIOXUSDXlEkGOzjlNtW1NUu4gGQV1fHCjTSjYjmXPVF 84iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=dNDIeUhX; 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 ci2si1680820ejc.211.2020.11.04.08.17.10; Wed, 04 Nov 2020 08:17:42 -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=dNDIeUhX; 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 S1726900AbgKDQO3 (ORCPT + 99 others); Wed, 4 Nov 2020 11:14:29 -0500 Received: from z5.mailgun.us ([104.130.96.5]:35128 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbgKDQO2 (ORCPT ); Wed, 4 Nov 2020 11:14:28 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1604506468; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=jGi3hEfmR9QjvZd352MiD6q1gXChgDqWIUciaVXePf8=; b=dNDIeUhXJ9An70z3+d5BGJ0DShXmgZXlfEyVr3qNqJd4lJW2ELDd7h9nZsRhGRK1Ep1fbDMV hte8KfxQ2ohvRMXQLYovdyjaOqhyrBoTtdFLTHVTSPzibJMnpnoZZLueoqUo16ai+dzmPkF1 9PMkE+PhJkqFgELyaVZjm1Z8dJI= 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-n04.prod.us-east-1.postgun.com with SMTP id 5fa2d358524c7ffb3d858852 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 04 Nov 2020 16:14:16 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id EC221C433C6; Wed, 4 Nov 2020 16:14:15 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 41CCCC433C8; Wed, 4 Nov 2020 16:14:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 41CCCC433C8 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 From: Kalle Valo To: Sven Eckelmann Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] ath11k: Initialize complete alpha2 for regulatory change References: <20201021140555.4114715-1-sven@narfation.org> Date: Wed, 04 Nov 2020 18:14:12 +0200 In-Reply-To: <20201021140555.4114715-1-sven@narfation.org> (Sven Eckelmann's message of "Wed, 21 Oct 2020 16:05:55 +0200") Message-ID: <87v9elqeuj.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Sven Eckelmann writes: > 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 > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > Signed-off-by: Sven Eckelmann On what hardware and firmware did you test this? I'll add that to the commit log. I know it doesn't matter here but I want to have that info anyway. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches