mbox series

[v3,0/5] add tx status reporting to mt7921 driver

Message ID cover.1629448559.git.lorenzo@kernel.org
Headers show
Series add tx status reporting to mt7921 driver | expand

Message

Lorenzo Bianconi Aug. 20, 2021, 8:37 a.m. UTC
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 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   | 368 ++++++++++++------
 .../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, 292 insertions(+), 326 deletions(-)