-49 is the boundray for excellent

This commit is contained in:
J. Nick Koston
2026-01-02 23:51:02 -10:00
parent a46a51e885
commit 0ba1fe8457
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ static const char *const TAG = "wifi";
/// │ ↓ │
/// │ attempts++, update last_check │
/// │ ↓ │
/// │ RSSI > -55 dBm? ────Yes────→ Skip scan (signal good)──────┐ │
/// │ RSSI > -49 dBm? ────Yes────→ Skip scan (excellent signal)─┐ │
/// │ ↓ No │ │
/// │ ┌─────────────────┐ │ │
/// │ │ Start scan │ │ │

View File

@@ -615,7 +615,7 @@ class WiFiComponent : public Component {
// Post-connect roaming constants
static constexpr uint32_t ROAMING_CHECK_INTERVAL = 5 * 60 * 1000; // 5 minutes
static constexpr int8_t ROAMING_MIN_IMPROVEMENT = 10; // dB
static constexpr int8_t ROAMING_GOOD_RSSI = -55; // Skip scan if better than this
static constexpr int8_t ROAMING_GOOD_RSSI = -49; // Skip scan if signal is excellent
static constexpr uint8_t ROAMING_MAX_ATTEMPTS = 3;
// Group all 32-bit integers together