Repository navigation
[SL-UP] Refactor Platform WiFi events - #1191
Rohan Sahay (rosahay-silabs) merged 67 commits into
Conversation
…improved error handling and clarity. Simplify exit logic by removing unnecessary exit label.
…instead of hardcoded.
… handling to streamline the connection process.
…tials if the station is provisioned before connecting to a new network. Add comments for clarity on the connection process.
…essages for WiFi events and streamline state transitions by removing unnecessary checks. Enhance error handling in setting WiFi station mode and improve clarity in DriveStationState logic.
…itialize mLastDisconnectionReason to kUnknownError for improved error tracking.
Map join/disconnect failures to disconnection reasons and let ConnectivityManager drive station state.
Map join/disconnect failures to disconnection reasons and let ConnectivityManager drive station state.
…ation state management
…e-based handling and disconnection logic
…NetworkCommissioningStatusEnum and enhance disconnection notification logic
…thod to streamline reconnection logic in WiFi station state management
…ect status in notifications and improving reason retrieval
…disconnection handling into a single method
…use direct enum references for improved clarity
…streamline shell task initialization
…ialization and state management
…t by replacing TEMPORARY_RETURN_IGNORED with ReturnOnFailure
…ilure with LogErrorOnFailure in WiFi state management and scanning processes
…iguration by consolidating error handling for SSID and PSK
…king status updates and refining state transition checks
… logging for connection and disconnection events
…e reconnection state is reset correctly
|
bugbot review |
PR SummaryHigh Risk Overview The station state machine gains explicit auto-connect and pending-disconnect handling, timed reconnect after failures, and a new Reviewed by Cursor Bugbot for commit 7df0bd3. Configure here. |
…ducing previous state tracking and adjusting auto-connect logic
|
bugbot review |
…elated to LIT connect management in ConnectivityManager
|
bugbot run |
…cing managed disconnect state and adjusting auto-connect logic
…onnect management in disconnection handling
…WiFi disconnection handling and auto-connect logic
|
bugbot run |
…te transitions and improving auto-connect logic
|
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 7df0bd3. Configure here.
287203e
into
release_2.10-1.6.1

Summary
WifiInterfaceintoConnectivityManagerImpl, so station connect/disconnect/reconnect is driven by one state machine.kWFXSystemEvent→kPlatformSLEvent, add publickSLSystemEvent) and replaceConfigureStationMode()withEnableStationMode().NetworkCommissioningStatusEnum(NC status reporting still has TODOs to use it).Related issues
N/A
Testing