diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-10-29 22:31:24 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 12:21:43 +0100 |
commit | 3548a9dd2def69d92952baa23c5baf2037f818dd (patch) | |
tree | 7aea78f7a94cbcd494db73c17111e41e9c56e068 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 693792ec55d5d87d6d9f704f40cc77f6932820ad (diff) | |
download | talos-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.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 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 { |