Open psyborg55 opened 8 years ago
looking at the code i see there is quite some defines missing, and some are possibly wrong!
for example:
MT_EE_LNA_GAIN = 0x044, MT_EE_RSSI_OFFSET_2G_0 = 0x046, MT_EE_RSSI_OFFSET_2G_1 = 0x048, MT_EE_RSSI_OFFSET_5G_0 = 0x04a, MT_EE_RSSI_OFFSET_5G_1 = 0x04c,
this would mean the data for chain 0 are not read since in my factory eeprom this field is 00. it is also wrong name RSSI_OFFSET for what the driver assumes it works with but it should be renamed to LNA_GAIN
according to MT7612E EEPROM content guideline
it should be:
MT_EE_LNA_GAIN_2G = 0x044, MT_EE_LNA_GAIN_5G_GROUP1 = 0x045, MT_EE_RSSI_OFFSET_2G_0 = 0x046, MT_EE_RSSI_OFFSET_2G_1 = 0x047, MT_EE_LNA_GAIN_5G_GROUP2 = 0x049, MT_EE_RSSI_OFFSET_5G_0 = 0x04a, MT_EE_RSSI_OFFSET_5G_1 = 0x04b, MT_EE_LNA_GAIN_5G_GROUP3 = 0x04d,
bump? where is this 'content guideline'?
looking at the code i see there is quite some defines missing, and some are possibly wrong!
for example:
this would mean the data for chain 0 are not read since in my factory eeprom this field is 00. it is also wrong name RSSI_OFFSET for what the driver assumes it works with but it should be renamed to LNA_GAIN
according to MT7612E EEPROM content guideline
it should be: