fix(firmware): accept WPA/WPA2-mixed routers; warn about compact-board thermal risk#1288
Open
matiapa wants to merge 1 commit into
Open
fix(firmware): accept WPA/WPA2-mixed routers; warn about compact-board thermal risk#1288matiapa wants to merge 1 commit into
matiapa wants to merge 1 commit into
Conversation
…d thermal risk Lower the STA auth threshold from WPA2_PSK to WPA_PSK so routers running WPA/WPA2-mixed compatibility mode aren't rejected with WIFI_REASON_NO_AP_FOUND_IN_AUTHMODE_THRESHOLD (reason=211), and log the disconnect reason/rssi instead of retrying blind. Also document the thermal risk of running this firmware's continuous-radio, tier-2 DSP pipeline on coin-sized clone boards (ESP32-S3-Zero, SuperMini) with minimal PCB copper and budget regulators, after a field report of three such boards failing to power on following a normal session. Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WIFI_AUTH_WPA2_PSKtoWIFI_AUTH_WPA_PSKso routers running WPA/WPA2-mixed compatibility mode (common default on many consumer routers) aren't rejected withWIFI_REASON_NO_AP_FOUND_IN_AUTHMODE_THRESHOLD(reason=211). Also log the disconnect reason + RSSI instead of retrying blind, so this is diagnosable from serial output next time.firmware/esp32-csi-node/README.md, the repo'sCLAUDE.mdhardware table, and theruview-hardware-setupskill (so an AI agent flashing on someone's behalf asks about board form factor and warns proactively).Why
Hit both issues live while onboarding a fresh 3-node deployment:
reason=211, traced it to the router's WPA/WPA2-mixed mode being rejected by the strictWPA2_PSKthreshold.WIFI_PS_NONE) plus a full edge DSP pipeline (edge_tier=2) continuously, with no duty-cycling. Full-size dev boards (DevKitC-1, XIAO) have the copper pour/thermal mass to handle that; coin-sized clones with minimal PCB copper and budget regulators may not. Nothing in the docs warned about this before someone (or their AI agent) walks away from a board assuming any ESP32-S3 handles sustained full-load operation.Full incident writeup + follow-up ideas (duty-cycled mode for compact boards, runtime thermal check) in #1289.
Test plan
espressif/idf:v5.4Docker buildwifi-densepose-sensing-serverover UDPreason=211before the fix, and connects cleanly aftercargo test --workspace --no-default-features/ firmware CI as this only touchesmain.c+ docsDocs portion addresses #1289 — thermal follow-up items in that issue remain open.
Co-Authored-By: claude-flow ruv@ruv.net