Hello,
Cudy WR1300 v3 is completely the same as v2 - has the same SoC, same Flash, same Switch, same WiFi hardware, but it has different data in the eeprom for MT7613BE. When loading this eeprom data, the mt7615 driver limits the tx power to 3dBm - it doesn't even look like it tries to set the txpower at all.
I have made a patch to the driver itself and forced it to load eeprom hardcoded data from another (WR1300v2) device. When that patch is applied, the MT7613BE works as it does on v2 - with proper txpower.
However, hardcoding eeprom data is not a proper way to fix this. I think the proper way would be to either:
- patch the eeprom mtd partiton - by copying all data from a v2 device except mac address to the v3
- create a v3 dts so it provides the v2 eeprom to all v3 devices (using mediatek,eeprom-data) - still reading the mac address from the actual mtd devices
- patch the driver to use the new eeprom data (but I'm not sure that v3 eeprom data is even correct).
What would be a correct way to address this?