mt76: mt7915: rework tx rate reporting
authorFelix Fietkau <nbd@nbd.name>
Fri, 7 May 2021 16:51:41 +0000 (18:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 17 Jun 2021 16:33:56 +0000 (18:33 +0200)
commit223fd4f843081059bc8f8d8ba6363bfcc2e5848f
tree77072683de7630c120ddefb636a4a93eaabc8501
parent94e4f5794627a80ce036c35b32a9900daeb31be3
mt76: mt7915: rework tx rate reporting

Instead of attaching the last reported rate to tx packets, use
ieee80211_tx_status_ext to immediately pass the rate to mac80211 after
receiving it from the firmware.
Preparation for implementing full tx status reporting

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h