Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7053481ybl; Mon, 23 Dec 2019 17:25:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwuOMVB4vnn/itiWlqvNDB2UNKexnuZz26o//DItdHiNWco1uf3D+l3+ICZG7FRcxE2pScI X-Received: by 2002:a9d:23b5:: with SMTP id t50mr34506255otb.122.1577150744027; Mon, 23 Dec 2019 17:25:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577150744; cv=none; d=google.com; s=arc-20160816; b=vy1xWYbr/Zi/temy0bobVFRZeP+Zg9uKyoLOkGC66Fn3eIWyt1yz6hdJt+5AhD1NbA CPj2mLl4CkCMKMv+NXg3hHN8dLlI4nstdnB5tL3wnMIQIF68U7qTkRioVMpBlb1YKHLc BCTe5dYji6k0HEPQmyySz6eSJ6KCWsr09uLFbrpjH1NjAvEra/LNlBjAdOMshOb1M/J/ DLm7y+ejoFzlTU+sxnpcBSQuDDweWeMBVpkC2Xp6ktU1HbUkn5IEtLM0f2V2+ueRNV1R LauUZ6fQJsI0/hNh42KlZIkZdiURGNXsdb18q0nLvTyjkHzmolBDkvYPx31jW8o9Tb19 nxGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=q/7MmQNuPr5JrCrqcpEI/Kr7uFLHIWbzpfZhgQRMDyU=; b=JTfTy7hKnVYJzaA/ESkLC3R5vGl6QeuQa/RvolcDTVOwUMOi2/+inw6hvpYNGUi+gM zyE3rY8X5Ru81mrE9jGMwGeCfbeGdUXqDg/z4/p1S0D24d0Hax6NpTcYLD5HwddTytxG +DukRuPsThbApp/Xs/EBie8v15T3uaHEA6C2yiGv5QvQLfuNGfdnPDJ54m68iMQhjPYt iGhTesYwZhXllQpO+iCnIOHtibPC9nfi4ajn/bkSULVVeNsCBZ9PXHYvPYkaqm99sTRf 6w1do0kiI7qGCydacPYYRbVp5vPTSeCiCH0nUJQ4jTyNU+qw2n/lc1M6XSV0itP6GobG Y+3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Pi06ryVw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id i20si5769580oie.119.2019.12.23.17.25.28; Mon, 23 Dec 2019 17:25:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Pi06ryVw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727012AbfLXBYr (ORCPT + 99 others); Mon, 23 Dec 2019 20:24:47 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:50762 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726907AbfLXBYq (ORCPT ); Mon, 23 Dec 2019 20:24:46 -0500 X-UUID: 6a5e720533d6453d841232c1dd62e0dc-20191224 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=q/7MmQNuPr5JrCrqcpEI/Kr7uFLHIWbzpfZhgQRMDyU=; b=Pi06ryVwr5uY7JcruUpnceO1qs7kWS1eAhVsKnm1EpkNZehTCGajx2tOjcWRLWXi5pS+Hb28FvtnG214PL8x8zIrKcmgIsjkkq456XG2Z2CaXB+lQu4L4bn4inTGKN8/9M9p9pXqdmduQW0nTqU8To7QKpmxMtkagPD0QEuof2s=; X-UUID: 6a5e720533d6453d841232c1dd62e0dc-20191224 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1067820789; Tue, 24 Dec 2019 09:24:37 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 24 Dec 2019 09:24:31 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 24 Dec 2019 09:24:18 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: , , , Ryder Lee Subject: [PATCH] mt76: mt7615: add missing settings for simultaneous dual-band support Date: Tue, 24 Dec 2019 09:24:25 +0800 Message-ID: <2d9c7c4dff5149f563ac5688e4ac4a911fbda3f7.1577149810.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TVQ3NjE1IHN1cHBvcnRzIGR1YWwtd2lwaHkgd2hpY2ggbWVhbnMgdGhhdCBpdCBjYW4gcnVuIG9u IDIuNEcgYW5kIDVHSHoNCmNoYW5uZWxzIHNpbXVsdGFuZW91c2x5LCBhbmQgZHJpdmVyIHNob3Vs ZCBjb25maWd1cmUgZWFjaCBiYW5kLg0KDQpBZGQgbWlzc2luZyByZWdpc3RlciBzZXR0aW5ncywg YW5kIHJlZmluZSBiYW5kIHJl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