summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7615/regs.h
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2020-06-18 07:41:48 +0300
committerFelix Fietkau <nbd@nbd.name>2020-07-21 20:01:15 +0300
commitb876658b5e554c6bd251720b7cd40de5b5f6c366 (patch)
tree3c7dff14c5971af51750cb4b096280d76f4b8a63 /drivers/net/wireless/mediatek/mt76/mt7615/regs.h
parentb807b368c4f9bbdb8410dcc6241d7903094f0bef (diff)
downloadlinux-b876658b5e554c6bd251720b7cd40de5b5f6c366.tar.xz
mt76: mt7615: add .set_tsf callback
It is useful for IBSS Mesh to adjust t_clockdrift. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/regs.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/regs.h b/drivers/net/wireless/mediatek/mt76/mt7615/regs.h
index aee433a9eff6..f0b36b162bf3 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/regs.h
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/regs.h
@@ -417,6 +417,7 @@ enum mt7615_reg_base {
#define MT_LPON_T0CR MT_LPON(0x010)
#define MT_LPON_T0CR_MODE GENMASK(1, 0)
+#define MT_LPON_T0CR_WRITE BIT(0)
#define MT_LPON_UTTR0 MT_LPON(0x018)
#define MT_LPON_UTTR1 MT_LPON(0x01c)