Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1761245pxa; Thu, 20 Aug 2020 21:23:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+B2IFLy2p2Wly52Ixyu3sHheM2TuYl+womBafPsT/ibH+DTqP+t0jjR2GYxfKiHQCvhHh X-Received: by 2002:a17:906:a116:: with SMTP id t22mr1006966ejy.353.1597983833413; Thu, 20 Aug 2020 21:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597983833; cv=none; d=google.com; s=arc-20160816; b=WC5tMSfiwBiQUD+M0bvpum+3UZy+klbIgrV/RaKkPI8ok87OUruU6FM05bEl5wwdyv B2vhC/9vHNWCyvkGlwElMZcYKlEJ5bdedBqeeoQ4wfqEzHoFHXrCz/7trqA6xUw1e9+X cgxO1KB1LDL6DNATYA69EihcdSjJXL9JEJCBVFyk+9NU6buMd2MVa/DI1oWy72Wjvoqa ruMfTeA6AgEkCBIn4Pd9wqs6hmAsWkpGn4s156+dsnukgTdzAt93IGeqsUuLi8p4B51p dcQ/6o/Nn2MK0uOTU+9gSpC8KOXcvlej5j9rSwfE5lJGyQsWZB2NZG13gavJe7XQPnOi t4nQ== 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=kXaNdzZJduRfaOc+V4bsZYNRnkeBw/Drrl0jQEgix/0=; b=XaC//sl4sJXgbM1cj5NOxbSS511N1t9ed0BOdaQyXxKHBBUDZSsLjF4MqtTOss4HQ7 W//nIyXeNhDOdl5QZHarYjooBK1iwyKK+ceoRBQBeU6Kelxk+qO1xTuYrGMQpyecRSSE Xm/vCsy9aplUn7qKcre9FcANIlwslqwUgMWwQLeoBErMVV5gag79p1tpS1WHHg/k6onT Z8ge2/aV4wFaG7UmCH17wPxNoOEd9XlNTQ+4Fq8TQZyek7pwBh8V/U801ytDkOO1+i5G lQHcfmbbL27WcqhT6uWuPGgsVBDSWGt9d+tk03unatDi7A4+yhve9w5iHpBO1kju99tR kr7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b="T1K/NYOg"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si475605edv.45.2020.08.20.21.23.28; Thu, 20 Aug 2020 21:23:53 -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=fail header.i=@nbd.name header.s=20160729 header.b="T1K/NYOg"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbgHUEUH (ORCPT + 99 others); Fri, 21 Aug 2020 00:20:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbgHUEUG (ORCPT ); Fri, 21 Aug 2020 00:20:06 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B480DC061385 for ; Thu, 20 Aug 2020 21:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: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=kXaNdzZJduRfaOc+V4bsZYNRnkeBw/Drrl0jQEgix/0=; b=T1K/NYOgve0NubyD/nf38NTxdM YJ+WpjBjhd7st5klj7H3UUfrGViY83HsTf5gXNKcqNtPztjwXxaBAq7DhLkpIV0saXn4aS/fu1DOC kVQCAfakSyC3EyFFD6JmqKyl75aQWp363gob72GnHe8eY+w4s8FCcikbCmt4tvhhpEJQ=; Received: from p5b206497.dip0.t-ipconnect.de ([91.32.100.151] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1k8yX6-0005s7-7t; Fri, 21 Aug 2020 06:20:04 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH v2 03/13] mac80211: remove tx status call to ieee80211_sta_register_airtime Date: Fri, 21 Aug 2020 06:19:51 +0200 Message-Id: <20200821042001.23388-4-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200821042001.23388-1-nbd@nbd.name> References: <20200821042001.23388-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org All drivers using airtime fairness are calling ieee80211_sta_register_airtime directly Signed-off-by: Felix Fietkau --- net/mac80211/status.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/mac80211/status.c b/net/mac80211/status.c index b3c356b3fc78..67df7a5acee5 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -988,12 +988,6 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw, ieee80211_sta_tx_notify(sta->sdata, (void *) skb->data, acked, info->status.tx_time); - if (info->status.tx_time && - wiphy_ext_feature_isset(local->hw.wiphy, - NL80211_EXT_FEATURE_AIRTIME_FAIRNESS)) - ieee80211_sta_register_airtime(&sta->sta, tid, - info->status.tx_time, 0); - if ((tx_time_est = ieee80211_info_get_tx_time_est(info)) > 0) { /* Do this here to avoid the expensive lookup of the sta * in ieee80211_report_used_skb(). -- 2.28.0