Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3409079pxk; Mon, 5 Oct 2020 08:58:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+EZr+WsQ4Pj7v5QSTUO8nTB5hh03rO3XlXAHogY59aruQ1X/Gn3OWDahQlTy4OAFKvDF2 X-Received: by 2002:a17:906:2f85:: with SMTP id w5mr380561eji.1.1601913534964; Mon, 05 Oct 2020 08:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601913534; cv=none; d=google.com; s=arc-20160816; b=zJnjCpO67FiylOV+qrP000dZHzT4hYAyglH07kYAJznpk3ZT4gSFWV0ILUYOBWVnzV gOYME9csL4IC07O9QorQO1D663EVTnpEiiIaGf2VEDhhmRnXd1ieauur1ClBLL9PwHfg SBp19lGyMYK7QUKhj8GnmAaRrLKfVXgQcJGUvnwx6GxGXRT6aeWQc2USJUOd9PtoEEBQ HTFBhWP77h3gLE0lMII5ZcHty1qPcrA/7MecXkpnyYZ3WF0H0v6fTPIY1TSeCFTi+JAH p/033ocGiV+Rh2kFh87L+BuMxpTpxcO+gBYetMQ9NSBfM+MDh/yEBHJjf5N2FNyxQqV0 A4yA== 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=Ki3wTt7d1tvRrJ2MPiGpeliJV3ST6qE/ddjlBK6ldMA=; b=DWluzvKxHwv8BeOwb7Tb3Y/sF2+2ezA0YDjKOMfUXFDGWi28GydNyVtiocl29WTJYX emGEqPpbErS/vD+WtIGZ/lghb06sCeAYeY1o6MEBEsM5KVQlZdfTzwM35tPLn39nodfo hde9SoPhA5VNXJgX6jGz83Cx+jAHiCp0eU5IoOfhP1q7+i0WzQ2HLyJAuttfHccAzaQW C82Gqfw9J3cDHUNuDiwb4Rgqsqtkjeqb7wVzZsYbeEVWggnjengC5kIjTaDGoUYLjwf5 PWFmYdmpGDdY+NJnhTqQUKj6OuONYMipeQosgvv1P2daKi78LS1X5J/t50U5yOeCcDzu icnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=IYI7sKCY; 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 p21si264432edx.207.2020.10.05.08.58.19; Mon, 05 Oct 2020 08:58:54 -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=IYI7sKCY; 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 S1727171AbgJEP6A (ORCPT + 99 others); Mon, 5 Oct 2020 11:58:00 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:49528 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726057AbgJEP6A (ORCPT ); Mon, 5 Oct 2020 11:58:00 -0400 X-UUID: 86bfad94d67d4384ab6d1d5b99219fdf-20201005 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=Ki3wTt7d1tvRrJ2MPiGpeliJV3ST6qE/ddjlBK6ldMA=; b=IYI7sKCYNmCiWPaOLv063Hrbd6uYxQ4JXI79b/3l8kalxPlLGncBVqEcEf54FZ4JR2ko1YDMNemi3ThtcH6nbo8W9c5cE/Nhdk6C3foOevISJ20HfehmsNgjdYrt5VQBvTg4RgfqAr1eoNTBcbebm+G7Hc8jBJFyqRWFYtn55nc=; X-UUID: 86bfad94d67d4384ab6d1d5b99219fdf-20201005 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.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 2106959968; Mon, 05 Oct 2020 23:57:57 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 5 Oct 2020 23:57:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 5 Oct 2020 23:57:54 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Evelyn Tsai , , , Ryder Lee Subject: [PATCH 1/2] mt76: mt7915: update ppe threshold Date: Mon, 5 Oct 2020 23:57:52 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: AD7E908D8DDEDB847D2F270C7FD6F6B51A40574D610DE60E869CDEE11431880B2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org VXBkYXRlIHBwZV90aHJlc2ggY2FwYWJpbGl0eSB0byBzeW5jIFNESyBzZXR0aW5nLg0KDQpTaWdu ZWQtb2ZmLWJ5OiBTaGF5bmUgQ2hlbiA8c2hheW5lLmNoZW5AbWVkaWF0ZWsuY29tPg0KU2lnbmVk LW9mZi1ieTogUnlkZXIgTGVlIDxyeWRlci5sZWVAbWVkaWF0ZWsuY29tPg0KLS0tDQogLi4uL25l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