linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: nbd@nbd.name
Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com,
	sean.wang@mediatek.com, Deren.Wu@mediatek.com
Subject: [PATCH v4 0/5] add tx status reporting to mt7921 driver
Date: Sat,  4 Sep 2021 12:16:42 +0200	[thread overview]
Message-ID: <cover.1630750292.git.lorenzo@kernel.org> (raw)

Report tx rate from tx status packets instead of receiving periodic mcu
event. This improves flexibility, accuracy and AQL performance, and
simplifies code flow for better readability.
Add some code cleanup

Changes since v3:
- fix possible NULL pointer dereference in mt7921_mac_add_txs_skb()
Changes since v2:
- remove magic numbers and introduce definitions for them
Changes since v1:
- fix rate flags in mt7921_mac_sta_poll() for ht rates

Lorenzo Bianconi (5):
  mt76: mt7921: start reworking tx rate reporting
  mt76: mt7921: add support for tx status reporting
  mt76: mt7921: report tx rate directly from tx status
  mt76: mt7921: remove mcu rate reporting code
  mt76: mt7921: remove mt7921_sta_stats

 .../net/wireless/mediatek/mt76/mt7921/init.c  |   1 -
 .../net/wireless/mediatek/mt76/mt7921/mac.c   | 369 ++++++++++++------
 .../net/wireless/mediatek/mt76/mt7921/mac.h   |  20 +
 .../net/wireless/mediatek/mt76/mt7921/main.c  |  28 +-
 .../net/wireless/mediatek/mt76/mt7921/mcu.c   | 133 -------
 .../net/wireless/mediatek/mt76/mt7921/mcu.h   |  47 ---
 .../wireless/mediatek/mt76/mt7921/mt7921.h    |  21 +-
 7 files changed, 293 insertions(+), 326 deletions(-)

-- 
2.31.1


             reply	other threads:[~2021-09-04 10:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 10:16 Lorenzo Bianconi [this message]
2021-09-04 10:16 ` [PATCH v4 1/5] mt76: mt7921: start reworking tx rate reporting Lorenzo Bianconi
2021-09-04 10:16 ` [PATCH v4 2/5] mt76: mt7921: add support for tx status reporting Lorenzo Bianconi
2021-09-04 10:16 ` [PATCH v4 3/5] mt76: mt7921: report tx rate directly from tx status Lorenzo Bianconi
2021-09-04 10:16 ` [PATCH v4 4/5] mt76: mt7921: remove mcu rate reporting code Lorenzo Bianconi
2021-09-04 10:16 ` [PATCH v4 5/5] mt76: mt7921: remove mt7921_sta_stats Lorenzo Bianconi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1630750292.git.lorenzo@kernel.org \
    --to=lorenzo@kernel.org \
    --cc=Deren.Wu@mediatek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=nbd@nbd.name \
    --cc=sean.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).