[SL-ONLY] Add ApplicationSleepManager structure for the selective listenning implementation #131
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.
Description
PR introduces the ApplicationSleepManager for Wi-Fi low power apps. The ApplicationSleepManager is responsible of analysing the Matter SDK states and pipe that information to the WifiSleepManager. Based on the information given to the WifiSleepManager by the
CanGoToLIBasedSleep
callback, the WiFiSleepManager can go to the most optimal sleep state.PR only introduces the structure; the buisness logic that will go in
CanGoToLIBasedSleep
will be in a follow Up PR.PR also has two fixes for the wf200 that were missed in a previous PR that are already upstreamed in project-chip/connectedhomeip#36628
Note to reviewers
I wasn't able to add unit tests to cover this class due to a dependecy with underlying platform code. In a follow up, i will need to figure out how to brake the platform dependency or leverage the test driver which doesn't support the 917 at this point.
Tests
Manual tests to validate behavior