From patchwork Sun Jul 14 15:44:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 11043237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 208CC746 for ; Sun, 14 Jul 2019 15:44:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E25327968 for ; Sun, 14 Jul 2019 15:44:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2BAD27C05; Sun, 14 Jul 2019 15:44:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8267127968 for ; Sun, 14 Jul 2019 15:44:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728220AbfGNPoe (ORCPT ); Sun, 14 Jul 2019 11:44:34 -0400 Received: from nbd.name ([46.4.11.11]:59370 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbfGNPoe (ORCPT ); Sun, 14 Jul 2019 11:44:34 -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 1hmgfv-0007cJ-KA; 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 0/6] mac80211: add HE TX rate reporting to radiotap Date: Sun, 14 Jul 2019 17:44:13 +0200 Message-Id: <20190714154419.11854-1-john@phrozen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Right now struct ieee80211_tx_rate cannot hold HE rates. Lets extend struct ieee80211_tx_status instead and use ieee80211_tx_status_ext() to propagate the information to the subsystem. John Crispin (6): mac80211: add xmit rate to struct ieee80211_tx_status mac80211: propagate struct ieee80211_tx_status into ieee80211_tx_monitor() mac80211: add struct ieee80211_tx_status support to ieee80211_add_tx_radiotap_header ath11k: drop tx_info from ath11k_sta ath11k: add HE rate accounting to driver ath11k: switch to using ieee80211_tx_status_ext() drivers/net/wireless/ath/ath11k/core.h | 3 +- drivers/net/wireless/ath/ath11k/debugfs_sta.c | 7 + drivers/net/wireless/ath/ath11k/dp.h | 9 + drivers/net/wireless/ath/ath11k/dp_rx.c | 82 ++++---- drivers/net/wireless/ath/ath11k/dp_tx.c | 20 +- drivers/net/wireless/ath/ath11k/hal_rx.c | 13 +- drivers/net/wireless/ath/ath11k/hal_rx.h | 30 +++ drivers/net/wireless/ath/ath11k/rx_desc.h | 8 + include/net/mac80211.h | 2 + net/mac80211/ieee80211_i.h | 3 +- net/mac80211/status.c | 180 ++++++++++++++++-- net/mac80211/tx.c | 3 +- 12 files changed, 291 insertions(+), 69 deletions(-)