From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 4BCE83BA8E for ; Fri, 6 Oct 2017 10:18:33 -0400 (EDT) Received: by mail-qt0-x236.google.com with SMTP id x54so31605477qth.12 for ; Fri, 06 Oct 2017 07:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xgnbY5FqNMdreZSsIPhc3fDA2ia07Zjh3xinQu3diQA=; b=Ur5j+ErTcWd1Ccjh9DVgjPxNNBWNkWf/IODtR3KYpgFl8+02QkQcUjIxAlnBsY1Urb y3g5KW66AKaxnABlQmr/iI/WJjW3EXi7VDwkTiRWi79fgJ7RDf0/rhsRs2PPVZWHGQpg 7fpXdb+EoT470hHpbn3U+CIlh+ta08Pmxj7+owECwOP9wYWbpTvfJyOOVg05as9hwQ7S gF5HJFvjTL+AFkjCV6OssiNO43SdFkgJaiWCxZ/obswTS02c97b0syBNsdlJelb1T33U KdmJH4fdYgYMzGOul3cUIYubpFhq9/OCT2X/oxGLxcvUnsu9cYsN85ABu7NOsqHYp20w oJ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xgnbY5FqNMdreZSsIPhc3fDA2ia07Zjh3xinQu3diQA=; b=W1VFXH5bzJ4wSqpgXCZj7poNawkx1CCZGhiw7oV9z4GB+YgZtNxQqp9G0gw8QKo9J1 NIWtpD2y01WwhbEND7hu6Eu8jnfS4oklVoq2L3COWHpKyqKC0+W6RoY6yAw+3dKxA6h0 5lxiJlxV2gKblQs3wUw7WxIqB/T8opToi9WnoVS0/3BTVCWCywxbrS2hbFLc9Jm7wrVm Zb7l4uxHnZeCP6uO2Kxbc2VhxOklRK65dXUvbJRb+g/SLkTiBMxr9eMwJXVdZXY+7VWV Ook3Cn1uF7JrRODKrWDhTNe1l//LFeFkDu+mcE7+0TgdYRrodvQxL+UBh3q8C31dCAfC +F6g== X-Gm-Message-State: AMCzsaWZ4RZwWvpRC5Q8usqJtZhrR+rqgFMJWUBAdAwKch3194kW+x4R 6ZD3yRXLE70BMdOHRRxl3nIxHNFQT5nlW/loUU0= X-Google-Smtp-Source: AOwi7QCM8+jMbtK06ikJqFKapSYUdAsRH3rEkPVNtUiOyL4MC3GB9RoyL5aIgALgDOyv1x1LGhZJxBoaiStjLBobc3w= X-Received: by 10.237.61.49 with SMTP id g46mr3191918qtf.233.1507299512856; Fri, 06 Oct 2017 07:18:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.93.227 with HTTP; Fri, 6 Oct 2017 07:18:32 -0700 (PDT) Received: by 10.140.93.227 with HTTP; Fri, 6 Oct 2017 07:18:32 -0700 (PDT) In-Reply-To: <1507298832.19300.20.camel@sipsolutions.net> References: <20171006115232.28688-1-toke@toke.dk> <1507298832.19300.20.camel@sipsolutions.net> From: Jonathan Morton Date: Fri, 6 Oct 2017 17:18:32 +0300 Message-ID: To: Johannes Berg Cc: make-wifi-fast@lists.bufferbloat.net, linux-wireless , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Content-Type: multipart/alternative; boundary="001a11426db008b932055ae184cd" Subject: Re: [Make-wifi-fast] [RFC] mac80211: Add airtime fairness accounting 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, 06 Oct 2017 14:18:33 -0000 --001a11426db008b932055ae184cd Content-Type: text/plain; charset="UTF-8" As I understand it, this code is mainly intended for stations that serve as an AP, rather than as a client. Since the MAC layer is the one with easiest access to the real airtime statistics (much easier than, say, a qdisc), there is no better place to implement it. If RTS/CTS probes are in use, then the AP does in fact have control over receive bandwidth on a per station basis, at least in theory. But I think this is simply an attempt to balance total airtime between stations by accounting for airtime used in both directions, even if one of those directions isn't controlled so strictly. - Jonathan Morton --001a11426db008b932055ae184cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

As I understand it, this code is mainly intended for station= s that serve as an AP, rather than as a client.=C2=A0 Since the MAC layer i= s the one with easiest access to the real airtime statistics (much easier t= han, say, a qdisc), there is no better place to implement it.

If RTS/CTS probes are in use, then the AP does in fact have = control over receive bandwidth on a per station basis, at least in theory.= =C2=A0 But I think this is simply an attempt to balance total airtime betwe= en stations by accounting for airtime used in both directions, even if one = of those directions isn't controlled so strictly.

- Jonathan Morton

--001a11426db008b932055ae184cd--