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 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 | 365 ++++++++++++------ .../net/wireless/mediatek/mt76/mt7921/mac.h | 9 + .../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, 279 insertions(+), 325 deletions(-) -- 2.31.1