diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-03-19 11:37:37 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:56 +0200 |
commit | 5a3f1cc288fb2cb2597bd8ff8640a8de2ba14bd8 (patch) | |
tree | 0ed3f60f2b6155d242d957c38a82598f777d7129 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 8d71aef9c9ca21fca4974815fa584ed01dfeb567 (diff) | |
download | linux-5a3f1cc288fb2cb2597bd8ff8640a8de2ba14bd8.tar.gz |
mt76x02: add hrtimer for pre TBTT for USB
Add timer and work for pre TBTT for USB devices. For now code
doesn't do anyting useful, just add hrtimer which synchronize
with hardware MT_TBTT_TIMER.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02.h b/drivers/net/wireless/mediatek/mt76/mt76x02.h index 3b4b10c0c57f..1a5fc10f440c 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h @@ -88,6 +88,9 @@ struct mt76x02_dev { struct delayed_work mac_work; struct delayed_work wdt_work; + struct hrtimer pre_tbtt_timer; + struct work_struct pre_tbtt_work; + u32 aggr_stats[32]; struct sk_buff *beacons[8]; |