Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1436647pxu; Thu, 8 Oct 2020 11:25:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK+37wiJPR+vuoIWXbW/N7Hx3CmCJUj7a9hz7P7WTRlNP5GfuABtXxiQFTJ1BHETkv7biF X-Received: by 2002:a17:906:8311:: with SMTP id j17mr10117451ejx.132.1602181516790; Thu, 08 Oct 2020 11:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602181516; cv=none; d=google.com; s=arc-20160816; b=cLd3FE4qOae+RGW8FW2TaAbhLFcxR3f5IfczulNbAgaPsDvv8UgJYKcP3U++Oszuqm L6L7McclvY3hdkoPfqQqrlTa4mOgrbeyjvMlU2lmUj57Z+gstwRRrM7HqqngT8BhbKOX pQ6G+Oxkisn2GFlQHmw+5irYxb5sH00I8191tiUj4NPEoeUbGq8wS1Q1lHoC2Txg6p/G wEQsu568ABXO2/mXS0rnnV+c1OrE25kS3Z6YBK7cPUeV+4xv5PX2RHTrnUmotaNF+EIv kLLpWvkDXkIUYmw3TinkZl6urVOw+XZCRTICSHhwpEtUmpA1cM+soFmGXWRymVSRq6XD G/nA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=B9S3JQEMt9isWDCJIhLxXkAqVd6tOOBHmeP5jMCSV68=; b=uk3fHS3hKS7+Ex+M2G6oTZ+LEUrCz7NoKclj179w1B5VUe5fSA7Bhj8n88vYm1IHnN tKMvnVQHepu9RDwVX8AYGj5iruo8pzzSUPrQAYOIcu/3N84NcAb/dNrIx/Ra045qLRih 74O2KZbTehh/1sbeua/GgT5JCIEmyEkiiDVLn0R7Chc/gT9dmnrzdsc07i8zHFfIO4lR xjFPzO8nEoS+ngq/pt5vgWamCpqmEEKrbXO1i3gGK0s/jcVqLCeeRy7YzQpOSxQ2pVCj 81o0Yx4IIBgj4sY6gYYoel0vWzosyYOYPrfVmGpXCB34bL3fS06QZs4jtpF6wY2snsDL /ltg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kYHE9qHr; 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 ng7si4237175ejb.699.2020.10.08.11.24.50; Thu, 08 Oct 2020 11:25:16 -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=kYHE9qHr; 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 S1730404AbgJHQ5o (ORCPT + 99 others); Thu, 8 Oct 2020 12:57:44 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:44999 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729061AbgJHQ5o (ORCPT ); Thu, 8 Oct 2020 12:57:44 -0400 X-UUID: b7e0c28428484014940fefb1933427a2-20201009 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=B9S3JQEMt9isWDCJIhLxXkAqVd6tOOBHmeP5jMCSV68=; b=kYHE9qHrAaH6FRLFua3lqJ/WUWllkW0aislJJutKX+61Jw/HrtN0xsRxnRTN1gW7rjgEmhNDU+X6E8qftNROsB3P+Snc1M9apnUhUedFRbuW+ssA9vQoyZZzX5Yh4DHP9arcI7IKZ1pGDpykUvY7rGJ+207u+dtcFQ2Q1J148rg=; X-UUID: b7e0c28428484014940fefb1933427a2-20201009 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 444471015; Fri, 09 Oct 2020 00:57:39 +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.1497.2; Fri, 9 Oct 2020 00:57:35 +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.1497.2 via Frontend Transport; Fri, 9 Oct 2020 00:57:36 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , , , Ryder Lee Subject: [PATCH v2 1/2] mt76: mt7915: update ppe threshold Date: Fri, 9 Oct 2020 00:57:35 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org VXBkYXRlIHBwZV90aHJlc2ggY2FwYWJpbGl0eSB0byBzeW5jIFNESyBzZXR0aW5nLg0KDQpTaWdu ZWQtb2ZmLWJ5OiBTaGF5bmUgQ2hlbiA8c2hheW5lLmNoZW5AbWVkaWF0ZWsuY29tPg0KU2lnbmVk LW9mZi1ieTogUnlkZXIgTGVlIDxyeWRlci5sZWVAbWVkaWF0ZWsuY29tPg0KLS0tDQogLi4uL25l dC93aXJlbGVzcy9tZWRpYXRlay9tdDc2L210NzkxNS9pbml0LmMgIHwgNDMgKysrKysrKy0tLS0t LS0tLS0tLQ0KID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