mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x0: unify temperature offset parsing
Unify temperature offset parsing with mt76x2 driver using eeprom utility routines available in mt76x02-lib module Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
2a470dbf73
commit
fe89537df0
+2
-1
@@ -31,11 +31,12 @@ struct reg_channel_bounds {
|
||||
struct mt76x0_caldata {
|
||||
s8 rssi_offset[2];
|
||||
s8 lna_gain;
|
||||
|
||||
s16 temp_offset;
|
||||
};
|
||||
|
||||
struct mt76x0_eeprom_params {
|
||||
u8 rf_freq_off;
|
||||
s16 temp_off;
|
||||
|
||||
/* TX_PWR_CFG_* values from EEPROM for 20 and 40 Mhz bandwidths. */
|
||||
u32 tx_pwr_cfg_2g[5][2];
|
||||
|
||||
Reference in New Issue
Block a user