From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id E48AF3B29E for ; Tue, 26 Feb 2019 08:07:53 -0500 (EST) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D506F6118C; Tue, 26 Feb 2019 13:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551186473; bh=kHtRnYdwFaT9aJ0xp+ceyUdL7YB50HhzOJGiLGDMN3w=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=gLzeUkRmt3CJFYZC7H9K4gVK0ZdDR9HlowTe+abpLKhdEW2KTDGAPJJFXp6lfYizA zDgQGLpPY93AkCNIPXY91hftHMEFiNvtVqYy/XJLiuK97Thc742GPSXSVVxxpRFEEA x+cWe/H3TPykeO3o0TAawpHK34yu1N7qXPPjT5Y0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6011C60247; Tue, 26 Feb 2019 13:07:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1551186472; bh=kHtRnYdwFaT9aJ0xp+ceyUdL7YB50HhzOJGiLGDMN3w=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=MECo782lbx0b14MewE72ceW4e/8/auAccs4pBFfkh2VhvFIP5Zn14AOYi/R5XJOyP nfrI994p/1AZF2EYTwg4cQXPDUXTmGAaCyb+wSWdvc7L0ocaJLOCa2jn9SXn2Zl+ni Kw9nndkLZSawolDK5kI27xFsiQvSdL/flTtnQIbs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6011C60247 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Kalle Valo In-Reply-To: <20190215164855.30666-1-toke@redhat.com> References: <20190215164855.30666-1-toke@redhat.com> To: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= Cc: make-wifi-fast@lists.bufferbloat.net, linux-wireless@vger.kernel.org, =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20190226130752.D506F6118C@smtp.codeaurora.org> Date: Tue, 26 Feb 2019 13:07:52 +0000 (UTC) Subject: Re: [Make-wifi-fast] [PATCH] ath9k: Make sure to zero status.tx_time before reporting TX status 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, 26 Feb 2019 13:07:54 -0000 Toke Høiland-Jørgensen wrote: > Since ath9k reports airtime usage directly using the > ieee80211_report_airtime() callback, it shouldn't also report it using the > tx_time in status. Make sure the field is zeroed before TX status is > reported to avoid spurious airtime being accounted by bits being left over > from earlier uses of the cb. > > Fixes: 89cea7493a34 ("ath9k: Switch to mac80211 TXQ scheduling and airtime APIs") > Signed-off-by: Toke Høiland-Jørgensen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. cc591d77aba1 ath9k: Make sure to zero status.tx_time before reporting TX status -- https://patchwork.kernel.org/patch/10815445/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches