Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SL-UP] Fix Wi-Fi Sleep Manager commissioning progress check from clean boot #167

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

mkardous-silabs
Copy link
Contributor

Description

When the commissioning complete event gets called for a succesful commissioning, the commissioning stopped callback doesn't get called. Due to this behavior, the mIsCommissioningInProgress member never gets reset which prevents us from ever going to LI based sleep in a standard run.

This was missed because it requires a clean run from commissioning to a subscribe attempt which apperently i missed.

PR adds a the PowerEvent data that can be passed to the WifiSleepManager to update the commissioning state.

Tests

Run a full sequence from start to finish without power cycling

@mkardous-silabs mkardous-silabs added the sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release. label Dec 9, 2024
@mkardous-silabs mkardous-silabs requested a review from a team as a code owner December 9, 2024 15:41
@mkardous-silabs mkardous-silabs force-pushed the fix/selective_listening branch from 34d7ec2 to 535a421 Compare December 9, 2024 19:09
@mkardous-silabs mkardous-silabs merged commit bc241ac into release_2.5-1.4 Dec 9, 2024
11 of 12 checks passed
@mkardous-silabs mkardous-silabs deleted the fix/selective_listening branch December 9, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants