Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp89381pxa; Fri, 21 Aug 2020 01:51:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwvuZfRcvD+BnfUsTT4hHnRdrdfUyL3O7nqzm6fTOVn8rtpN/wCrd6mxTO/lMRuw5JFyJG X-Received: by 2002:a17:906:35db:: with SMTP id p27mr320202ejb.257.1597999906836; Fri, 21 Aug 2020 01:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597999906; cv=none; d=google.com; s=arc-20160816; b=nODRrJO2K+MhSXV57A7ytrPnKNjPrtt0pIoi3SfyxlRxB47MUwGm3fyDT1FUvreJ4s 8Tomtg+8aLlM0O/EnBkwe8sHwRTKK+gu++knLyiEwYJGFQdiJFVguinzQfy1qE3Pi98Z +a7fZdbNIFsYXdQKg2UUZA/FiuOaw4vzevZqSe1lpIqTRyQDs4ZCZopsCvtFwJPRXzMM 4+cU4Kz4pz3zGPtXvJZZ5sYgjS7Hx44NFAaRz260MOHGbkRcNJzuK+03+IVQEYaQnkdv PpoQFA1aeSB44LkxDTiQ5jxhtdEzB8mnDw8vhUSEYLyDk5X4W45hI3ReedHCnHTpeTUI fWBQ== 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=z/JCxI5zRjdLKaYQfMP9BgRXBls7RZjK60w+XRqHF7y5nDXxGnmZmtPA5LKu3r6NF4 BundWu3A7aZKt7katYYx6BvXbEHUdVJ/joW70eIW3c0m9h+4sX9WZRDvjR6bU26JAbvV lu5gDnnOM8dJm7mNFf3/mCCJGTaCXv901yjIVe0/8Xierge0VXtEHfwpO3vHnz7zkCB6 SuiRnmG6PUft5RbHq1i5fFPi5GFdIxZ4Yt2LClUmplDpYNQH1+v+7w1yaf6IOkljT5Cu BXzIr18IuFreGfYaPe2qwxTy/EUnB/7Om0ozUKfgNNH6lNrgTT4ck6c1DrkUQxaxICYF KDCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=a23hh0xZ; 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 n6si711877edr.494.2020.08.21.01.51.22; Fri, 21 Aug 2020 01:51:46 -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=a23hh0xZ; 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 S1728132AbgHUIth (ORCPT + 99 others); Fri, 21 Aug 2020 04:49:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbgHUItc (ORCPT ); Fri, 21 Aug 2020 04:49:32 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CD78C061386 for ; Fri, 21 Aug 2020 01:49:32 -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=a23hh0xZ9qyhH+Eq0XnMyfvMbc 7mLnUFdQOVKxxWPKWvQQsfDoDuHsJnV1cjBR06VjeUsnX/ups4r/yrxp4VzXH7ZbxPn7nckk3f2Xg 3kAXrqGoNAXvsyp9z18Tv/DY+gfaJllpuqH2rcIqrYWJKN8FMZy8QYt0jNMsecdCBS9k=; 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 1k92jp-0005lO-H7; Fri, 21 Aug 2020 10:49:29 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH v3 03/13] mac80211: remove tx status call to ieee80211_sta_register_airtime Date: Fri, 21 Aug 2020 10:49:16 +0200 Message-Id: <20200821084926.10650-4-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200821084926.10650-1-nbd@nbd.name> References: <20200821084926.10650-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