Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3202273ybi; Sun, 14 Jul 2019 08:45:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJfL+H8VTRdswez+fgapXz8LakQuzNLpR0MAqozyTkQNPi//+7MSrQNWvDL+oTVwY2atPE X-Received: by 2002:a63:7e55:: with SMTP id o21mr17252397pgn.200.1563119106669; Sun, 14 Jul 2019 08:45:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563119106; cv=none; d=google.com; s=arc-20160816; b=oC0Ud+xyizO9Sqq2epOw7lMjs2z0g+Yp2mr1kRPOHkxsW8PdacLmnJY+9LZv+nEPWL JYF1/h0mgX7jOvgyF10iNF4jwH/4cTDIrgrNwaO8ECIt16J/6k+vZobB0WG7BqDRlT9t sJd2vRyNn3GvvOxu4YBjZksgv6wp62G6CGJ21fIHzsSreDlp0tWhoFUO2HFA3fJdHSKx HCauDg/e6QpZ2f736novIpFultnYkHmem5rQR8ODX7QanvYfE5qpHsgUVa/UM0u4KyVD JcQeUr/gETAhLbl1cy6jbTWdPGWv7vwujB/CbMF1JuhyW3wA7cKRDESsVWl4hyTwBwdn oEiw== 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; bh=O0C0LtwZJfbT+IvGCuptNpwE+x9yGq7jxOBKubNHFtY=; b=wo3rZKUYTE+YsM5je8Ykj9++kNmZQHO1VvNn82/zDuCkO/zONUynPkiMQeJa31HVvr AiVRDY4jl1Bu/KpJ6bC/xHyFsu65z686xTrjUIXVsPy9zWHH2M0NcHWz6uvQxP1H/R/Y 73HTIBPmCUkbreICE+e6bq9MxRLcB3ZnIWO6c4RVXEFbTz+dsS9IH4stmounJO3TmEbN IIqIRqg1GZ2pCaTTCf3Nz/t0RjP4rPKbQte33PU2pjUB+/eHriJrVWMD/Z/e4NEzkXFD ZLC/uU6vmgZcgNiIY5PLJ39nEbSU83nMVYlQ4SjI9xAimfPDzOd0cEUvHGvs7FG7Do98 uePQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si12620937plt.306.2019.07.14.08.44.38; Sun, 14 Jul 2019 08:45:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbfGNPof (ORCPT + 99 others); Sun, 14 Jul 2019 11:44:35 -0400 Received: from nbd.name ([46.4.11.11]:59384 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbfGNPof (ORCPT ); Sun, 14 Jul 2019 11:44:35 -0400 Received: from p5dcfb359.dip0.t-ipconnect.de ([93.207.179.89] helo=bertha.fritz.box) by ds12 with esmtpa (Exim 4.89) (envelope-from ) id 1hmgfw-0007cJ-K2; Sun, 14 Jul 2019 17:44:32 +0200 From: John Crispin To: Johannes Berg , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, John Crispin Subject: [PATCH 1/6] mac80211: add xmit rate to struct ieee80211_tx_status Date: Sun, 14 Jul 2019 17:44:14 +0200 Message-Id: <20190714154419.11854-2-john@phrozen.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190714154419.11854-1-john@phrozen.org> References: <20190714154419.11854-1-john@phrozen.org> 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 Right now struct ieee80211_tx_rate cannot hold HE rates. Lets use struct ieee80211_tx_status instead. This will also make the code future-proof for when we have EHT. Signed-off-by: John Crispin --- include/net/mac80211.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index c1e3dd0893e2..15f853cc02b9 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1066,11 +1066,13 @@ struct ieee80211_tx_info { * @sta: Station that the packet was transmitted for * @info: Basic tx status information * @skb: Packet skb (can be NULL if not provided by the driver) + * @rate: The TX rate that was when sending the packet */ struct ieee80211_tx_status { struct ieee80211_sta *sta; struct ieee80211_tx_info *info; struct sk_buff *skb; + struct rate_info *rate; }; /** -- 2.20.1