Giter Site home page Giter Site logo

missing Efuse defines about mt76 HOT 4 CLOSED

openwrt avatar openwrt commented on July 20, 2024
missing Efuse defines

from mt76.

Comments (4)

nbd168 avatar nbd168 commented on July 20, 2024 1

Choosing between calibration data from flash and using efuse does not require any changes to the EEPROM code. If the calibration data pointer is set up in the device tree file, the driver will use the data from flash. If not, it will use efuse. There is also a mixed 'calibration free' mode, which uses the data from flash as template and pulls in overrides from efuse. All of these modes are supported, and the efuse override mode is used by default, if the data contains suitable values.
If you want to try using only efuse and not the factory partition, you can simply remove it from the device tree file and rebuild.

from mt76.

nbd168 avatar nbd168 commented on July 20, 2024

There is no support for an external EEPROM in the driver, so I think such a pin check would be rather pointless. Do you know of any device that even uses an externally connected EEPROM on a mt76x2 chip?

from mt76.

psyborg55 avatar psyborg55 commented on July 20, 2024

I thought EEPROM refers to data read from factory partition. According to datasheet: EXT_EE_SEL is used to identify if the external EEPROM or the internal Efuse is used.

Since the OP in this topic https://forum.openwrt.org/viewtopic.php?id=61250 hasn't mentioned anything about 5GHz wifi I made a conclusion original miwifi firmware uses Efuse for both 2.4 and 5 interfaces rather than EEPROM from factory partition, which would explain how they got 5GHz signal almost strong as 2.4GHz.

Also, a blown Efuse would probably make the device read calibration data from EEPROM which would explain why I can't no longer get strong signal on 5GHz with miwifi firmware, as described here: https://forum.openwrt.org/viewtopic.php?pid=307997#p307997

from mt76.

psyborg55 avatar psyborg55 commented on July 20, 2024

with efuse only wifi comes up but very low power, works within a range of meter or two.

since the calfree mode is used by default that must mean both eeprom and efuse are enabled. how could one disable efuse completely?

i've tried dumping this data with dd if=/sys/kernel/debug/ieee80211/phy0/mt76/otp of=/tmp/otp but can't understand it all. 50-9F seems to be holding power values but i have no idea about other bytes there.

from mt76.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.