From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 AC0A23B260 for ; Mon, 6 Jun 2016 21:31:10 -0400 (EDT) Received: by mail-lf0-x22b.google.com with SMTP id b73so105321900lfb.3 for ; Mon, 06 Jun 2016 18:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tB5E8MiXZ2/IDd9T3Hu+IGMV5hK9q0T1Uf3/a8gyDz0=; b=aGN6VsgoBpbBaR9mZRpeDb0xpyc+jAARUhEG8cYLbiAtPG5pMMo0sJA9/atonrL2CY Hh7G1KimLEKvSnA0FvRWi67IjTUqGvEyYZMhm0xHDaKj2iqMYH2kmkUZZaPtTUjBq7fa rsCdRrsSSs2ivRE9qftN1xqt3bWsfmj0+Y4Hxv/95zqYBnTXPiZrmmmYCOq3cI3LlX6i opySFVCDunDjKWbsVNVN2u+hBQ0wO2ZQMwWLAuFzbVgcjCoC2xwEc633/x+WKcHLrdwb 3JHtZwraSzhA6WGc5KQ8iBQTpvAuCDoDJJgfryvFye7VAdHv1kTRIbLcrcxCWGgRD3v2 ECVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tB5E8MiXZ2/IDd9T3Hu+IGMV5hK9q0T1Uf3/a8gyDz0=; b=IWgC3s3s/olEy/zBs7zbXLH+etGOkqVzL+CBKgGWw0J/ZQGfRsTX5eNfeuTd2QdQE6 Wr/SKLyQpjLAve5nDilcL7UHlXHbqGxFPljD7BSC1XRNTuIvDJNPKX02FCRi/5lNtTgE +4KHGMcsHsG3mj1+/pmYXcyujTMsUS2POCar4kLXkhX3lbtzkqUbCFLKHoUd60ySpSrz QB2MaEW+q+THE4tcE3P/qpcnABhuoAHxuF/1YuH8FcVB6tmqa5eJQwFmpvgunyQfB5wm K5VzvrO/zp7RtwhRZ5NLW8ojxevRtP4bZiEE6+gTB14bqexWi+Fza5rFBdr9gp0r9A5+ WwAQ== X-Gm-Message-State: ALyK8tI3tUWIN+nu9Xp2wBF4caV7wyazCURt/5SU/dK/ezHSwocCpCNfin5tpIGFDipsWw== X-Received: by 10.25.4.202 with SMTP id 193mr2002316lfe.204.1465263069016; Mon, 06 Jun 2016 18:31:09 -0700 (PDT) Received: from bass.home.chromatix.fi (37-33-56-85.bb.dnainternet.fi. [37.33.56.85]) by smtp.gmail.com with ESMTPSA id dw10sm2032748lbc.46.2016.06.06.18.31.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2016 18:31:08 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jonathan Morton In-Reply-To: Date: Tue, 7 Jun 2016 04:31:06 +0300 Cc: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= , make-wifi-fast@lists.bufferbloat.net, ath9k-devel , "linux-wireless@vger.kernel.org" Content-Transfer-Encoding: quoted-printable Message-Id: <17429B50-653E-4D4A-A49B-A40DB5CF6311@gmail.com> References: <20160603165144.17356-1-toke@toke.dk> <20160603165144.17356-6-toke@toke.dk> <8737orucq4.fsf@toke.dk> To: Adrian Chadd X-Mailer: Apple Mail (2.3124) Subject: Re: [Make-wifi-fast] [RFC/RFT 5/5] ath9k: Count RX airtime in airtime deficit 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: Tue, 07 Jun 2016 01:31:10 -0000 > On 7 Jun, 2016, at 03:01, Adrian Chadd wrote: >=20 > I also found one of my notes in my version of this - how can we > estimate the duration of an A-MPDU, when we only get hardware > de-encapsulated frames? If my understanding is correct: The A-MPDU itself is sent at the =E2=80=9Cdata=E2=80=9D rate (selected = by Minstrel), so its total size can be used to calculate this portion of = its duration in the same way as any other packet. It is also surrounded by the same framing/preamble material, sent at the = fixed =E2=80=9Ccontrol=E2=80=9D rate, as any normal frame. The sum of these two major components should be the total airtime, no? Or is the difficulty in identifying which de-encapsulated frames = belonged to a particular A-MPDU? - Jonathan Morton