summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x02.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-10-29 22:31:24 +0100
committerFelix Fietkau <nbd@nbd.name>2018-11-30 12:21:43 +0100
commit3548a9dd2def69d92952baa23c5baf2037f818dd (patch)
tree7aea78f7a94cbcd494db73c17111e41e9c56e068 /drivers/net/wireless/mediatek/mt76/mt76x02.h
parent693792ec55d5d87d6d9f704f40cc77f6932820ad (diff)
downloadtalos-op-linux-3548a9dd2def69d92952baa23c5baf2037f818dd.tar.gz
talos-op-linux-3548a9dd2def69d92952baa23c5baf2037f818dd.zip
mt76x0: phy: introduce tssi calibration support
Run mt76x0 tssi calibration process if enabled in eeprom data. Perform calibration procedure every 4s Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@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.h3
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 19489a72fc2b..b92293c4c322 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02.h
@@ -57,6 +57,9 @@ struct mt76x02_calibration {
bool tssi_comp_pending;
bool dpd_cal_done;
bool channel_cal_done;
+
+ int tssi_target;
+ s8 tssi_dc;
};
struct mt76x02_dev {
OpenPOWER on IntegriCloud