From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 06C8B3CB37 for ; Fri, 27 Sep 2019 03:35:20 -0400 (EDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1569569718; bh=r3W0AFXAMVdJxGhyGClS9N9ZFTGnqadj+NjGtc3cigg=; h=From:To:Subject:References:Date:From; b=tVYqu+OaxPuEXDRwtJnvEbVGkf5Z4BADnUCVI8tEeBr1rtj7+o8ECWv+/qmPL9FVt Ws+znIlDuqCUdpmwv2y1Sa2q/CHassPiPG3nLg3K1Q0SAB6mR9mUadeLv58ZR87RHY 4tJ8SiVX7U6+cHnj/2bvDGbMlVPxVm6TVo/vFIvN3U1F+U8UL8V1D8vwSr3ThVibzL 2mVrUiPh7q/eGAQFU0qUXX5ugncdQkpBbPrSBMkVrJUiU8hDty4dA6tQW1cTExeFLI LJ1U2eoP6VLJ0GoS7Z+7zgegFREPduyxINHj+2th0h2wCLx27MOcNJmGhgY8VrvshY TX0vjRJ/LI7mQ== To: make-wifi-fast@lists.bufferbloat.net References: <20190926174732.42375-15-nbd@nbd.name> Date: Fri, 27 Sep 2019 09:35:17 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <878sqa19ai.fsf@toke.dk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [Make-wifi-fast] Fwd: [PATCH 15/15] mt76: enable airtime fairness X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2019 07:35:20 -0000 --=-=-= Content-Type: text/plain Another driver joins the fun! :) -Toke --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Delivered-To: thoiland@gapps.redhat.com Received: by 2002:a2e:4784:0:0:0:0:0 with SMTP id u126csp2669226lja; Thu, 26 Sep 2019 10:47:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGuWeF2oFfeQ8YGZ/6cO1lmUpkr0GJ0ou4HiWxqFHqS7wJO9mvvMBhGewUPy4E+Q2XAYe9 X-Received: by 2002:a92:d34e:: with SMTP id a14mr3954713ilh.196.1569520074763; Thu, 26 Sep 2019 10:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569520074; cv=none; d=google.com; s=arc-20160816; b=MwUTUAkgEGoPvEVhiO1JIFsRiJ3NrV1RXq1NT3ZgwiZIF7yLblxhWqnynju+28KyeI k8/oYF/6qAsjp2q8D6wwR5ZPxPuO5uXZRYHLprqBd0PL8OiHUXKmRixQbAgXgJs4omIS U5tXrG4w8MBhzinFrmfP8weG6xEF2IJVTZcn1OLRx5DmveXHFnpwF+jvr9GkRxVdkzJw k6zv+rcNVFN13wr9zpzfY8aUJMdumPhG6V4ngunMXown6rga/SnddISNt5ZOq++DN2op nafYLgUSkxPu53jipkR+bzl4Ow7VJNDtpdIOo9bE+zeVn6j9DSGfAeAPuJDHzfmJSP9J sVqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=oE+kwRikllpYpngDRvkdPPYo6B+K5EDH/xgCc7e6L3Q=; b=NKstGsQYh3cTcO9QnJ0H2KFmkUfb3YHvDOG8K41nPPv6fYfF4fsKfASKnpUAihGS26 AKm5sFMJos88wDiMbLsMG6JYna77jlaE518StROuIoNvTRYj1OOLRTPOgoiMyh4SLuii QJOwZL8odYVA7rVt5GhFtA4704LZZZ6hTcLakqLamKGSPbi3RwrPkeKuIv2nMtVyJ3n3 KWJGDmH1DpFr4oebYaNA3KJ8oyyja7VNGd5D8J5tQlMDIQjX5/qkDJjZQOIPRnOmGCoO P1Gft31HjH6eSaNq6tN+UwnRVwXGy9/fMA5J4zWzRfqR8UA0NrcDBeQCxSEUAz/XEvEL kZ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=iTjukitN; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id y8si3536564ioj.52.2019.09.26.10.47.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Sep 2019 10:47:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=iTjukitN; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 05E093CA20 for ; Thu, 26 Sep 2019 17:47:54 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F17C825263; Thu, 26 Sep 2019 17:47:53 +0000 (UTC) Delivered-To: toke@redhat.com Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 748321C939; Thu, 26 Sep 2019 17:47:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mx1.redhat.com (Postfix) with ESMTP id 3C12C2CE90A; Thu, 26 Sep 2019 17:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727842AbfIZRrg (ORCPT + 9 others); Thu, 26 Sep 2019 13:47:36 -0400 Received: from nbd.name ([46.4.11.11]:55242 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727800AbfIZRrf (ORCPT ); Thu, 26 Sep 2019 13:47:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender: Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oE+kwRikllpYpngDRvkdPPYo6B+K5EDH/xgCc7e6L3Q=; b=iTjukitN5dsABmZKL0o9QnRIhY 3oKD4SbzpL2kH5Ws7phYi0pRFBtJZ8h679NW/GoAQLqkSDmArTCYp4IvWWYxl+C5UYtx3TuJGCAHS X7CbNmzIytMI3Lw5MoH2pHaHuVivLM9LZ+ktFWO9c1xwqKLkgSsHO7raJrIzp9R5rVCs=; From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 15/15] mt76: enable airtime fairness Date: Thu, 26 Sep 2019 19:47:32 +0200 Message-Id: <20190926174732.42375-15-nbd@nbd.name> In-Reply-To: <20190926174732.42375-1-nbd@nbd.name> References: <20190926174732.42375-1-nbd@nbd.name> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 238 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 26 Sep 2019 17:47:45 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 26 Sep 2019 17:47:45 +0000 (UTC) for IP:'209.132.180.67' DOMAIN:'vger.kernel.org' HELO:'vger.kernel.org' FROM:'linux-wireless-owner@vger.kernel.org' RCPT:'' X-RedHat-Spam-Score: -5.548 (DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE) 209.132.180.67 vger.kernel.org 209.132.180.67 vger.kernel.org X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 26 Sep 2019 17:47:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain It is supported by all hardware drivers now Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mac80211.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index fd64172ca785..9a59a1b54c97 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -307,6 +307,7 @@ int mt76_register_device(struct mt76_dev *dev, bool vht, wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST); + wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_AIRTIME_FAIRNESS); wiphy->available_antennas_tx = dev->antenna_mask; wiphy->available_antennas_rx = dev->antenna_mask; -- 2.17.0 --=-=-=--