diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2021-04-15 00:45:49 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-04-21 11:42:22 +0200 |
commit | 495184ac91bb866ad7d794ad6ceb064e191319d4 (patch) | |
tree | 37c28655155e7b8360d314c05665cdea992b634b /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 4efcfd5c36bd0d7c0f62713216a2291562eccfaa (diff) | |
download | linux-stable-495184ac91bb866ad7d794ad6ceb064e191319d4.tar.gz linux-stable-495184ac91bb866ad7d794ad6ceb064e191319d4.tar.bz2 linux-stable-495184ac91bb866ad7d794ad6ceb064e191319d4.zip |
mt76: mt7915: add support for applying pre-calibration data
When the EEPROM data is read from flash, it can contain pre-calibration
data, which can save calibration time.
Note that group_cal can save 30% bootup calibration time, and dpd_cal can
save 75% channel switching time.
Tested-by: Bo Jiao <bo.jiao@mediatek.com>
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/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index bf049fb4c412..289f195a7951 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -837,6 +837,7 @@ void mt76_seq_puts_array(struct seq_file *file, const char *str, int mt76_eeprom_init(struct mt76_dev *dev, int len); void mt76_eeprom_override(struct mt76_phy *phy); +int mt76_get_of_eeprom(struct mt76_dev *dev, void *data, int offset, int len); struct mt76_queue * mt76_init_queue(struct mt76_dev *dev, int qid, int idx, int n_desc, |