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] Add application callback to allow the application to inject logic #116

Merged
merged 10 commits into from
Nov 20, 2024

Conversation

mkardous-silabs
Copy link
Contributor

@mkardous-silabs mkardous-silabs commented Nov 19, 2024

Description

PR introduces the WifiSleepManager application callback class to enable application level logic to be injected into the WifiSleepManager to determine if in which low power mode can the Wi-Fi chip go to.

The structure of ApplicationCallback is to allow the WifiSleepManager to work with and without application logic being injected.

Tests

Validate that standard behavior still works if no callback is provided.

@mkardous-silabs mkardous-silabs requested a review from a team as a code owner November 19, 2024 18:23
@mkardous-silabs mkardous-silabs added sl-up This TAG indicates that this commit needs to be upstreamed to CSA before its next release. changing-submodules-on-purpose labels Nov 19, 2024
src/platform/silabs/wifi/WifiInterfaceAbstraction.h Outdated Show resolved Hide resolved
src/platform/silabs/wifi/WifiInterfaceAbstraction.h Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/icd/WifiSleepManager.h Outdated Show resolved Hide resolved
src/platform/silabs/wifi/rs911x/WifiInterface.cpp Outdated Show resolved Hide resolved
src/platform/silabs/wifi/rs911x/WifiInterface.cpp Outdated Show resolved Hide resolved
@mkardous-silabs mkardous-silabs merged commit 05d7b68 into release_2.5-1.4 Nov 20, 2024
12 of 13 checks passed
@mkardous-silabs mkardous-silabs deleted the sl-up/add_app_callback branch November 20, 2024 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changing-submodules-on-purpose 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.

3 participants