Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1415304pxb; Wed, 4 Nov 2020 08:20:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLvWNbjJqmzKOS0sXGdyWGuFJlemuEBpO0BQ6CN3z+iukGi7akRJjIsQfk7t8MoZDGICvu X-Received: by 2002:a17:906:a843:: with SMTP id dx3mr9580629ejb.313.1604506806812; Wed, 04 Nov 2020 08:20:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604506806; cv=none; d=google.com; s=arc-20160816; b=BK/oohf64Vpj01jLgY8jz8bEearM1lZi/PJbEJjxz/UcyuNxNsfXZjPSg9yZ4T6xft 2lfvsrd45tLmfFIj6cjWUZIUXKRlNzjfWurq2NCCk4O7kEyLFzVLDIdWITlZ2lfgQatG z2YKv9Es1OdIQqaJIlX6K2EWG2jongmVxwC5nL2N4dcuTJMNCNlssrjmaxaVzpVuorVJ CHnFD3us2m1MnVK88tOzUXYi7ht+idXG5bq2g6PNwPy1bevgJzi03/HQdnukVMhocvHM Pyx4pW+sVUfj/wVQ5efcu0NHCmPRonpjvAIYCVQtN+HfIkCC4V8nWRrBLoyWxrd0BV/l BhPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Bnr/XAJwHxn0CQVrJy3GzlIfrFLrGLc0xtXaWyRVg1M=; b=DOYX0gfC0Vhka785uHiQ2k5LLlLtIR+kZEQ618dyD3Yt9+1puWB1isUHP+bMHDj1qv GMeOp6Uo1KmjLIwDw67qtgxXV0xT8fSX4J0ijXHVyWXXcOLNnrcf7ZBpanC/l9H2U6Ln kdMSirl00RV4SHpgNpf0Fy7gsoeOVeKDWzXcDRhnoO2zxXSwfNaSXaZExZ3l8CYq0Mz6 GgSVEqh+HRN8AtQF8vThqCPYcVOrJL9OjAf1Mpai0fKUS+HHoyYX2+ae81CsSB7ScAo5 tjTXH31bGrBf8Mf3EeBgnJaoD3xBaM7bbRHrCcszvVaDAHFRxSTu3Cwa0yelCGL6OrNq Wu8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=gG5OxVue; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ot10si1671469ejb.244.2020.11.04.08.19.42; Wed, 04 Nov 2020 08:20:06 -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=@narfation.org header.s=20121 header.b=gG5OxVue; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbgKDQSr (ORCPT + 99 others); Wed, 4 Nov 2020 11:18:47 -0500 Received: from dvalin.narfation.org ([213.160.73.56]:48390 "EHLO dvalin.narfation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726564AbgKDQSq (ORCPT ); Wed, 4 Nov 2020 11:18:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1604506724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Bnr/XAJwHxn0CQVrJy3GzlIfrFLrGLc0xtXaWyRVg1M=; b=gG5OxVueW9QMUEPOa9i3sQBid7TVY7+ior9irwsHlv1QjzK7qUXiC4WGEIlBym13I5/C+8 7RpVfcaW3ZVIrhpMgMXXUG2He6sNN75CvjnsPB4r9Ezen3k1otdso33tPjBCD/bu+z3k2f Yv7BkG7mlZVaBk5HOWzo8fXcUrfN8kY= From: Sven Eckelmann To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] ath11k: Initialize complete alpha2 for regulatory change Date: Wed, 04 Nov 2020 17:18:41 +0100 Message-ID: <1801487.IobQ9Gjlxr@ripper> In-Reply-To: <87v9elqeuj.fsf@codeaurora.org> References: <20201021140555.4114715-1-sven@narfation.org> <87v9elqeuj.fsf@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2507857.Isy0gbHreE"; micalg="pgp-sha512"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --nextPart2507857.Isy0gbHreE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Sven Eckelmann To: Kalle Valo Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] ath11k: Initialize complete alpha2 for regulatory change Date: Wed, 04 Nov 2020 17:18:41 +0100 Message-ID: <1801487.IobQ9Gjlxr@ripper> In-Reply-To: <87v9elqeuj.fsf@codeaurora.org> References: <20201021140555.4114715-1-sven@narfation.org> <87v9elqeuj.fsf@codeaurora.org> On Wednesday, 4 November 2020 17:14:12 CET Kalle Valo wrote: > 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. Tested with: * IPQ8074 WLAN.HK.2.1.0.1-01161-QCAHKSWPL_SILICONZ-1 * IPQ8074 WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1 * IPQ8074 WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2 * IPQ8074 WLAN.HK.2.4.0.1.r1-00019-QCAHKSWPL_SILICONZ-1 * IPQ8074 WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2 Kind regards, Sven --nextPart2507857.Isy0gbHreE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAl+i1GEACgkQXYcKB8Em e0a7CA/+K7zHT3/p8rHaW2vUM0s8GBL6EQrc/tvkpkIYFdg4qiOIHREUv9cbRnXQ GnU4eleY0WzsvoU3QsEiy3Gp0FOmWtTlBlRB3gSxhdP7q6N3uECz+KyndLyBxQt2 4ZqiUrcF0UTCF+JD+jLSdFjayiIRp9YJ68l95R5eMgEc97muuAMFM+b5GnKKzG45 mcIA895MUcbS+1ZAETMgWFhTVyINJnCbFOTWPQlyN5L33+lQ3C4Hv2SDOHkWhODw zUCgT9tkQTj4BN9zieGlCeT1YhWizDJz3d++G5yMFeGodBoy3ZjCAl49FRwgHM2w dj+8im4EiW4PezRk47Fyqw/FiOm6s73m47jD5vKSSS30FuCY1tfpwTSvAocWpWW8 +qskY1yQK6/BmeBHT6VEheoAUAkd6FFz7QPdK3Zs2L6Y7YGXaCgTIfBIZkgd6/fI 95yJKyk4IN/EbojFuh8wg0u+4FXyz9bdctLiLQ488oZBLtx+M9himTL+TYzr4MlX WVu1zGjtAbwAeErqu/TtyBqu4W1vw+bWeu2DkJSAGmII+5bfHCVAJIgrppIXoZCl pFNodY0gcTmm3IWnNVl2Fwd6SjTRRJuaa0wEslhqaV+8F4o9yN7H/JbT3ijCOzRC F3iGq0vMXrj2UfdiECVhPV1FGcS85+pn95G7w2yhvbQsEgKcyeg= =JL4m -----END PGP SIGNATURE----- --nextPart2507857.Isy0gbHreE--