mt76: track rx airtime for airtime fairness and survey

Report total rx airtime for valid stations as BSS rx time in survey

mt7615 is left out for now, it will be supported later by reading
hardware counters instead of calculating airtime in software

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2019-09-26 12:42:08 +02:00
parent a1d6891501
commit f34b1ae42c
12 changed files with 433 additions and 37 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ obj-$(CONFIG_MT7615E) += mt7615/
mt76-y := \
mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o \
tx.o agg-rx.o mcu.o
tx.o agg-rx.o mcu.o airtime.o
mt76-usb-y := usb.o usb_trace.o