Giter VIP home page Giter VIP logo

Comments (3)

caveman99 avatar caveman99 commented on September 25, 2024

I don't see how we (the meshtastic project) can change a value built into ESP32 silicone (or at least a binary blob wifi firmware). This part of the toolchain is not even open source.

from firmware.

weirdal3333 avatar weirdal3333 commented on September 25, 2024

Why did you close this? I found a working fix with the help of someone on the discord.

insert this at line 240 in file firmware/src/mesh/wifi/WiFiAPClient.cpp:
esp_wifi_set_bandwidth(WIFI_IF_STA,WIFI_BW_HT20);

from firmware.

todd-herbert avatar todd-herbert commented on September 25, 2024

Adding that line of code would break a lot of ESP32-S3 devices. If you were to implement 20MHz channel width, you would need to ensure that it is only set for the older ESP32 devices.

In theory that would be possible, but it makes the assumption that all existing users would be okay with the change. I myself would worry about breaking someone else's particular setup with a seemingly innocent change. If it were to go ahead, I would consider making the 20MHz channel width an opt-in config, as a precaution.

It may even be enough to wrap the line of code in a macro, allowing advanced users to easily select it when building from source. I imagine that most users aware of the 40MHz / 20MHz distinction are probably capable of building their own firmware, and may already be doing so.

from firmware.

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.