Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4314023pxj; Mon, 21 Jun 2021 19:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkTZ8fN5XA9VPjmNILLJQ1D7AlAwJcjbrkKYUycZSBGteWFnUBxkvxvZQmZy6ZRWYqTrXv X-Received: by 2002:a02:b786:: with SMTP id f6mr1098655jam.65.1624329583468; Mon, 21 Jun 2021 19:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624329583; cv=none; d=google.com; s=arc-20160816; b=vjscoJf9afSOKvwG/KJlUh0BxTN4Tu09JYDsGYjdR+4go3iy4vxY8IHWgAtlv9ZlnJ OxqczkjO1Wu312Zz57xuNev+/7rkL13BV8WM4BpRNxurq6HsZysJGvSj8MzJRDRclOQY SuBWzCJ4RpIoKdejYfZrhgDrK7nFjTgVTsuzsKLY6YnvnKcL2ADl9WwumG/xmkoZWXwm Nm/qCWLIoeHPFXJ/naENijGfmb6beW60XTzgSOMvqquWd2jtIQxPCcjEzyo9aX7Fy8Ze Ir6oVj7dlnmUctGlH6KvPAp4y9qM+4cA1BfvydMSaOVf7W4CKYQrF6abm9w7EQ0ukyhG jlsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=eTodyqMyYRd024o564gRpnPI6Tqoq4hTYqKHDs4/ipk=; b=Zaa13U8J6vvpJPU0uFVb6x1tWwZSo1vK2O8NYXudFQuamTYtgFzun/FlbawPkJkWrQ JTCR7dyOk+sgdw+wO6i1e+ZAgQTLR6C5762dxHPrghR2ref+xutGzKaauOBto6VVzu9/ 4qyz8HAFTsrY8GT6j/Ev4f7ILRfJFiFyWWHxjzraxzkEFefRcWfuWahurSJ0XwLHCRYy /IkEK2NhqqbmLtUwL20I2Edo/BkhnPsC1TrpFF5BD4s24zqOg+KVWWkBxrs8MlzE3Syr MB6FiwAj4kDgZ4RYfuBgRbP9lXaDFuycfozwIPjP6uSBP1Y2BusIql3VpiMamF6L6ZTV xHuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oe44yEYA; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si20716806jar.85.2021.06.21.19.39.26; Mon, 21 Jun 2021 19:39:43 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=oe44yEYA; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbhFVCjV (ORCPT + 99 others); Mon, 21 Jun 2021 22:39:21 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:35742 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230045AbhFVCjU (ORCPT ); Mon, 21 Jun 2021 22:39:20 -0400 X-Greylist: delayed 301 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Jun 2021 22:39:20 EDT X-UUID: 263110465861455faf2f5880c05e07ab-20210622 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=eTodyqMyYRd024o564gRpnPI6Tqoq4hTYqKHDs4/ipk=; b=oe44yEYAWj0/IONSU6+jBXgF4uOWAtJs8+uCANyV8Xe1v1B1emL1xLWTJEa5vZbx05rHdw6jqrZWb7RPB70Ya9QcDYnCObC0d+T9TXNqgC7uplntSFOUzFShOPnRTi84IlBXD98cQ8ESO4MlWofmReNU1GoTL/9gpdCoMouHf48=; X-UUID: 263110465861455faf2f5880c05e07ab-20210622 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1262497527; Tue, 22 Jun 2021 10:31:59 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Jun 2021 10:31:58 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 22 Jun 2021 10:31:58 +0800 Message-ID: <10817fc92345946be76860d6944acb2205677447.camel@mediatek.com> Subject: Re: [PATCH v2] mt76: mt7921: add .set_sar_specs support From: Ryder Lee To: , , CC: , , , , , , , , , , , , , , Date: Tue, 22 Jun 2021 10:31:58 +0800 In-Reply-To: <28d23d04a251490241763dd0b5fe50a523f6fb02.1624316313.git.objelf@gmail.com> References: <28d23d04a251490241763dd0b5fe50a523f6fb02.1624316313.git.objelf@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gVHVlLCAyMDIxLTA2LTIyIGF0IDA3OjA3ICswODAwLCBzZWFuLndhbmdAbWVkaWF0ZWsuY29t IHdyb3RlOg0KPiBGcm9tOiBZTiBDaGVuIDxZTi5DaGVuQG1lZGlhdGVrLmNvbT4N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