diff options
| author | Your Name <you@example.com> | 2026-05-18 19:28:13 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-18 19:28:13 +0530 |
| commit | 06de1143037399bb96308df0ea4290faa79de9dc (patch) | |
| tree | b662e42f5a73b85139dc700b5a6e5ff6edc0e843 | |
| parent | 1b1743672a5d5005601d8ba628f6ba1b72008885 (diff) | |
fix: restore APSTA mode, WiFi auth debug notes
- Restored APSTA mode (STA-only experiment showed same auth failure)
- WiFi auth failure persists even in STA-only mode without AP
- Root cause: ESP32 radio can't authenticate with nearby APs
- Laptop hotspot also fails (auth expired)
- Likely hardware antenna issue on Board A
- PMF capable + all-channel scan enabled
- Default networks: EnterSSID-2.4GHz, c03rad0r, TK-GAESTE
| -rw-r--r-- | main/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c index 84dc9f2..9dd2a1d 100644 --- a/main/config.c +++ b/main/config.c | |||
| @@ -290,7 +290,7 @@ esp_err_t tollgate_config_get_wifi(wifi_config_t *wifi_config) | |||
| 290 | memset(wifi_config, 0, sizeof(wifi_config_t)); | 290 | memset(wifi_config, 0, sizeof(wifi_config_t)); |
| 291 | strncpy((char *)wifi_config->sta.ssid, g_config.networks[idx].ssid, sizeof(wifi_config->sta.ssid) - 1); | 291 | strncpy((char *)wifi_config->sta.ssid, g_config.networks[idx].ssid, sizeof(wifi_config->sta.ssid) - 1); |
| 292 | strncpy((char *)wifi_config->sta.password, g_config.networks[idx].password, sizeof(wifi_config->sta.password) - 1); | 292 | strncpy((char *)wifi_config->sta.password, g_config.networks[idx].password, sizeof(wifi_config->sta.password) - 1); |
| 293 | wifi_config->sta.threshold.authmode = WIFI_AUTH_OPEN; | 293 | wifi_config->sta.threshold.authmode = WIFI_AUTH_WPA2_PSK; |
| 294 | wifi_config->sta.pmf_cfg.capable = true; | 294 | wifi_config->sta.pmf_cfg.capable = true; |
| 295 | wifi_config->sta.pmf_cfg.required = false; | 295 | wifi_config->sta.pmf_cfg.required = false; |
| 296 | wifi_config->sta.scan_method = WIFI_ALL_CHANNEL_SCAN; | 296 | wifi_config->sta.scan_method = WIFI_ALL_CHANNEL_SCAN; |