Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp825934rdf; Tue, 21 Nov 2023 19:07:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhbJeAkbZk5u4OWnOC54NSKQneDtd98yna0BPCUUSK5F1kfzucbulfpVgZ0PZMiN/s51/1 X-Received: by 2002:a17:903:22c1:b0:1cc:d510:85fb with SMTP id y1-20020a17090322c100b001ccd51085fbmr1175949plg.36.1700622472485; Tue, 21 Nov 2023 19:07:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700622472; cv=none; d=google.com; s=arc-20160816; b=R8zxnbhvpSIeJLtePwR843xxRSm7gX3sApYYO+sMsMIFgi8TRtB4PwOCqfHVExpp+8 GGFmH0oa07LUvvDLkKN87p6gUelpp76+LAjsIqKsTb0Wv9WYFkGTNxg57jrS2sPyfzUG T+EQuHGzSdlSf9xd5jEPWkhv8sW+ovu4gIhOpbCtQ6nCm0ykUaWUCCXCUWkKn5A56tZd gByV34zMdAd9cgU4w3CxsY0ASVw3XXu8LMExpixChREqO60bWfGeSyuzooDqFMh5+16/ DkQp9icFA9ujoiii7jxXFnB18FzDveEpJ6vHR1/ujIDklR+ESLogy8MzXvRs6XYU/Xsv kzeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=DZevSJ76L4vjCaPRJ6tBPf9dQRqxUGEJwvXNdUtjq9k=; fh=tS1n0NTF6u/eAMr+VCobmZKuzlfKK31xaOoWunewwdI=; b=CJqDchTM8+czkUJPaKXQoMS2+iurLmREfV2Tvup+OKbrj93XQtNC5Is3aFlFYxAKPQ NDsMDxu0WTjxWuzeYD2bVDK2ObX0glX2hyBz8kr+TZsLqgwTeKGUn4iIQYG0wlyDy9mC 0A6BU8+5rY5L4HH+HYWFY56saGJxyK1EZ1/I612pJph2VGZs81orj+szPmvvpWDS//CH CysOTsB56JgKX08zmxtlXW7OZb/Lwlh4fU9baFRocV7OHV6g/3gm8hBgTp8Mx5fd/AWc e5Wab3qpWioQhq1jB7oUqQkQY3ZtqFSN532lOnUTyN5DSNxh/zV9Fxs4cFemU3CGtwn0 lYtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="BlM/YeT1"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n4-20020a170902f60400b001c383a64ebesi12446056plg.319.2023.11.21.19.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 19:07:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="BlM/YeT1"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 84414809E224; Tue, 21 Nov 2023 19:07:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235052AbjKVDHV (ORCPT + 54 others); Tue, 21 Nov 2023 22:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235067AbjKVDHS (ORCPT ); Tue, 21 Nov 2023 22:07:18 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F420A1717 for ; Tue, 21 Nov 2023 19:07:00 -0800 (PST) X-UUID: 31151aec88e411eea33bb35ae8d461a2-20231122 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=DZevSJ76L4vjCaPRJ6tBPf9dQRqxUGEJwvXNdUtjq9k=; b=BlM/YeT1X4O3YXYK9Vl+U5L5lU/0DjgWO737iz4yamTumoO1ZfW3SJ0JD2gIp8dAIshnXRfxgSijUlNnZQwoXX8LbnNWjPgjUmZorJSBZ2XL06BDB7t4pHOGYuxGDnin6Qn8KbmY/8yh3m1lmyv7I2zqb2kFrpC1/bXVz/r4b78=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:aa74c201-46db-4008-abe1-2c0e0feb0b43,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:364b77b,CLOUDID:682aed72-1bd3-4f48-b671-ada88705968c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 31151aec88e411eea33bb35ae8d461a2-20231122 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1535694921; Wed, 22 Nov 2023 11:06:55 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 22 Nov 2023 11:06:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 22 Nov 2023 11:06:54 +0800 From: Mingyen Hsieh To: , CC: , , , , , , , , , , , , , , Ming Yen Hsieh Subject: [PATCH v4 0/3] wifi:mt76: mt7921: fix issues for CLC Date: Wed, 22 Nov 2023 11:06:43 +0800 Message-ID: <20231122030646.31784-1-mingyen.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 19:07:22 -0800 (PST) From: Ming Yen Hsieh The CLC is Country Location Control which is a feature to make sure mt7921 series working properly in any country. This patchset is used to fix issues caused by the added 6Ghz control. --- Ming Yen Hsieh (3): wifi: mt76: mt7921: fix country count limitation for CLC wifi: mt76: mt7921: fix CLC command timeout when suspend/resume wifi: mt76: mt7921: fix wrong 6Ghz power type v2: - Convert wrong variable type to correct. v3: - Due to the lack of patch version's subject-prefix in v2, v3 is updated to include the patch version's subject-prefix. v4: - Improve the format and readability of commit message. .../net/wireless/mediatek/mt76/mt7921/init.c | 23 ++++++++--- .../net/wireless/mediatek/mt76/mt7921/main.c | 38 +++++++++++++++++-- .../net/wireless/mediatek/mt76/mt7921/mcu.c | 11 ++++-- .../wireless/mediatek/mt76/mt7921/mt7921.h | 1 + .../net/wireless/mediatek/mt76/mt7921/pci.c | 3 ++ 5 files changed, 65 insertions(+), 11 deletions(-) -- 2.18.0