Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp675225ybg; Fri, 12 Jun 2020 11:31:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0ANK+CSX8EFj+fRX5Lil6BNvXb+Spm2lXZpqblyND4clgDbEUWWR8qlz0TsunniVK+Rcr X-Received: by 2002:a05:6402:1750:: with SMTP id v16mr13388756edx.137.1591986675847; Fri, 12 Jun 2020 11:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591986675; cv=none; d=google.com; s=arc-20160816; b=inA5FK5ZmBTRqwvLPeTwVjPYYKI3r/JJR0nKRrMhCJuhwYgurMStT2VG2DkkKDcHwH Z091jNndNPGpdFfp2ceyOJe1J3Jw17AR1F2g5QrqK93ldFiD2+jdtg+6hSrWHMIlQam9 BapV+hKMx20M6KMYLxRjCDn/Qsr1ctuWGjzbygjDuovx0CFflkvImcaFItvI/aQmbOn0 0Xq8Wzqxy6f7kK+6d4XDD38vJEiIcBvnuCddrmEAFJh+Uy56mrej6cUDKNV/sMGlj6K8 4EW1dFEiT7pKwG6S5k3DIg1CeWUR16iDjyb/bemwxJzLLK5zsj9nXHIEApMhKk0Fny8g axgA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JxTFWJL4FzVni1vcpjh/rOjeJslVOPGx/DPcX62rsJw=; b=Z2GeMwzUJltcqK/pwPrIbIeFQjkqW7TBCxFad1UgTaHA3zwuYMoFlU09HONf56DyoG JrU3Fie/WXc7A83MzExqk4Q6H4MeUavhRIUEqJ+8Bx+/r73Q9S171d2IzYhbRFkG3iCd /6gRcYECTzFUTI0k/LpZZ+qmi/V3CCtRJbOR8VEXh/v/HGSuOOkhWLjs/47sv0ncv7TC TmDYWN+SPCssOlHahCVICKOaIy2ASDb1StTjPFtyJIOl2zHghfAoIw+5LNFKuxXfveYr vIgRua0cyZeAYJn+f6bz93mG5q24ws7ONTiQFH5BGm/kooqH+USGpte2WMb9BRebUi8W zrng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Wqnor2oq; 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 gg12si4446493ejb.27.2020.06.12.11.30.41; Fri, 12 Jun 2020 11:31:15 -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=Wqnor2oq; 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 S1726444AbgFLSaV (ORCPT + 99 others); Fri, 12 Jun 2020 14:30:21 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:25983 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726268AbgFLSaU (ORCPT ); Fri, 12 Jun 2020 14:30:20 -0400 X-UUID: adbde9ef1a1f4a3ab3374e9ff56e5482-20200613 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=JxTFWJL4FzVni1vcpjh/rOjeJslVOPGx/DPcX62rsJw=; b=Wqnor2oqVUHh1vu0fXKIV2JSFzQthB6cZFf3W5lGzTLfY/haFy7JAqGvi76Sk7tKBDd6YlIBQ7iz4BPHLU08uSLaDmG68O7kX2KhrUZmVPhAgzYz8BclXcgfiYGjp34qYkfGj9AYrCsegBZTYFTlpGkHrYvfsQPcinA8asIQH3U=; X-UUID: adbde9ef1a1f4a3ab3374e9ff56e5482-20200613 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 321210405; Sat, 13 Jun 2020 02:30:15 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 13 Jun 2020 02:30:13 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 13 Jun 2020 02:30:10 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Sean Wang , , , Ryder Lee Subject: [PATCH v2 2/3] mt76: mt7915: add a fixed AC queue mapping Date: Sat, 13 Jun 2020 02:30:09 +0800 Message-ID: <97c1001126f8decddb5c05d2b3a0926806d169c6.1591983283.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <2863c9a7e14c791202738597184f4a6b75d5bc07.1591983283.git.ryder.lee@mediatek.com> References: <2863c9a7e14c791202738597184f4a6b75d5bc07.1591983283.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 55B4746C594CF56C9C8149BD1FAF50673313E3C51F3C52911B7A94EF757395362000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org SW4gTVQ3OTE1LCBoYXJkd2FyZSBxdWV1ZSBtYXAgaXMgZmxleGlibGUuIEhvd2V2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