Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp319808rdf; Tue, 21 Nov 2023 03:51:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGHxGOQ1fJSI3GQq+iRPE3PEDnBPg4pDuie3O426SMxBuo76RKIz3aPC8vNuAVn1lPDfVT X-Received: by 2002:a17:902:d507:b0:1cf:7409:38ae with SMTP id b7-20020a170902d50700b001cf740938aemr414535plg.22.1700567501530; Tue, 21 Nov 2023 03:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700567501; cv=none; d=google.com; s=arc-20160816; b=RHyXCpQ8Q1w+uQi8PKx7P0yttbsLqS6ArzFT4fKAA6k3b7J82kTHrlBL3frdBRWcwD P/OsIPAqf/sD+yqL3HRB4YTbPucYRHQNZ6UnmacJHOl8IZNmQgPr/IYcUlf0nry5Mgmh 0R9IQ+/utaF7BDSwIx26N2ZoOx7MMkH0ynO+8I5NkaHRO3YZjUVLOD4NcVN82JER/vU1 urSk7Z3jv7vgj0by+SLg8ndY7xmIeU8j03Ot9KetxKd9Jd3l59PGQq1MtTsM8RrYkgu6 h8g6DZ0RxQqX550N7W67LJa0v6BfHB0EbBzFtuLZdHf15s4mXGQpzyrgifrrtXCqS+FB pwRg== 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:dkim-signature; bh=pOALcpIpY8hgZLyxZ3GmQxQrNsFB90mbX2bR61DtTWw=; fh=6YhyB7Kp+QYHM1u6jJ35f332te6cGJR7W2pjzpry/fA=; b=llZaLdUmybUf60+zNS07lqc8PIrT3yf36ioEAjKxsCbw+jSju6QbZxx81Mt8tpQex+ EWUPY7pwi9PK7bHgWIzTCJ465Qah2eBpHGM4atI7BGYbOsOMd0BGlMRSKB8RMwv924dq 53DCjFlcQYyJtITo89UWIjpVo4UNGDF138Lr8DdbeCTyvE3q+gk96fxc2j6DCgzzriR9 +JP5Zr3oFMHK7oP+HkmiL9a5TZNcb5gvDS6bYTsqcV1AHRNNAYifhIWW0VhVES9Ejkm4 ruh+sW6bSKO+DWRI2HonPjUAZmaphVdDtty5yQFMbpKCE0zAmsqVDQXRnf8agVBvuFao 2pkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rz8zMMY+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x13-20020a170902a38d00b001cc2853bfe6si9799547pla.192.2023.11.21.03.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 03:51:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rz8zMMY+; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 2B63480324CB; Tue, 21 Nov 2023 03:50:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233798AbjKULu7 (ORCPT + 54 others); Tue, 21 Nov 2023 06:50:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231977AbjKULu6 (ORCPT ); Tue, 21 Nov 2023 06:50:58 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24483100 for ; Tue, 21 Nov 2023 03:50:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8CFAC433C7; Tue, 21 Nov 2023 11:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700567454; bh=7eQWip1qheX65/nr9TveALEmgmfW2FIiutNAulouSHA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Rz8zMMY++dyndiyxej6nfDplsG+c4q5OX3GhFJKCL5UiudrrvF4mfW9tBuq2t/Uqx +0kdqVZHf+ElwxMCAbTGyaLFTdr/mM0Zi7wuGjwIuSUVPiBvceZtZjL6P8GJ0DIhYc q3HttFKN6Q6bJ4wuoaU91tC8HUWZgKW3FbsAkxqyoKAE9ROtrRkl9GuWBoo9eQacTC 37bdQeNE7jAsKB91vseaEhhcdeGI+CqG+okKAGrnsOdeqhfwidNvlWSGeYZk1T4aIf lK/YYJ+3ezsVL979NqS++sz8LOuWHZ1crVCKslv4MJhvRbRe8JA9TQnQOn4lmp/gFH DmyowzlHVS4Sg== From: Kalle Valo To: Mingyen Hsieh Cc: , , , , , , , , , , , , , , , Subject: Re: [PATCH 1/3] wifi: mt76: mt7921: fix country count limitation for CLC References: <20231120111212.4478-1-mingyen.hsieh@mediatek.com> <20231120111212.4478-2-mingyen.hsieh@mediatek.com> Date: Tue, 21 Nov 2023 13:50:48 +0200 In-Reply-To: <20231120111212.4478-2-mingyen.hsieh@mediatek.com> (Mingyen Hsieh's message of "Mon, 20 Nov 2023 19:12:10 +0800") Message-ID: <874jhf8gvb.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 03:50:58 -0800 (PST) Mingyen Hsieh writes: > From: Ming Yen Hsieh > > Due to the increase in the number of power tables on CLC, the variable > nr_country is no longer sufficient to represent the total quantity. > Therefore, we have switched to calculating the length of clc buf to > obtain the correct power table. Additionally, the version number has > been incremented to 1. > > Fixes: 23bdc5d8cadf ("wifi: mt76: mt7921: introduce Country Location Control support") > Signed-off-by: Ming Yen Hsieh > > v2: > - Convert type of buf_len from "__le16" to "u16" > > --- > drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) The changelog ('v2:....') should be after '---' line. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches