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

v2.5: drivers: wifi: Add PS exit strategy option #17003

Open
wants to merge 10 commits into
base: v2.5-branch
Choose a base branch
from

Conversation

ajayparida
Copy link
Contributor

Dynamically set power save data retrieval mechanism.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Aug 26, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Aug 26, 2024

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
desktop52_verification X
test-fw-nrfconnect-chip X
test-fw-nrfconnect-fem-legacy X
test-fw-nrfconnect-nrf-iot_cloud X
test-fw-nrfconnect-nrf-iot_mosh X
test-fw-nrfconnect-nrf-iot_positioning X
test-fw-nrfconnect-nrf-iot_thingy91 X
test-fw-nrfconnect-nrf-iot_zephyr_lwm2m X
test-fw-nrfconnect-rpc X
test-fw-nrfconnect-rs X
test-fw-nrfconnect-thread X
test-sdk-find-my X
test-sdk-homekit X
test-sdk-wifi X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

drivers/wifi/nrf700x/Kconfig Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_util.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_util.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_util.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_util.c Outdated Show resolved Hide resolved
drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_util.c Outdated Show resolved Hide resolved
@krish2718
Copy link
Contributor

@ajayparida this feature is already part of main, please cherry-pick that to maintain same naming across.

@NordicBuilder
Copy link
Contributor

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@v3.4.99-ncs1-3 nrfconnect/sdk-zephyr#1979 nrfconnect/sdk-zephyr#1979/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@karun2796 karun2796 force-pushed the dynamic_ps_data_retrieval_2.5 branch 2 times, most recently from 7d355d4 to a9ae3d1 Compare August 28, 2024 06:19
@krish2718 krish2718 marked this pull request as draft August 28, 2024 11:56
@ajayparida ajayparida force-pushed the dynamic_ps_data_retrieval_2.5 branch 3 times, most recently from 0b724bb to 95f81de Compare August 29, 2024 10:12
@ajayparida ajayparida marked this pull request as ready for review August 29, 2024 10:57
@krish2718 krish2718 force-pushed the dynamic_ps_data_retrieval_2.5 branch 4 times, most recently from 8f9c24c to 454d4b1 Compare August 29, 2024 15:14
@krish2718 krish2718 changed the title drivers: wifi: Dynamic ps data retrieval v2.5: drivers: wifi: Add PS exit strategy option Sep 2, 2024
ajayparida and others added 6 commits September 3, 2024 19:06
Pull Wi-Fi management APIs for PS exit strategy configuration support.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Dynamically set power save exit strategy runtime configuration that
allows to switch b/w stratgies depending on conserving power and
low-latency traffic download.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This helps in fixing recovery issues in case of heavy management
traffic.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
UMAC:
    [SHEL-3044]: Run time API support to enable QOS null frame
                 based power save.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
The logic in the firmware is about exiting power save, the data
retrieval itself is pretty standardized.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
UMAC:
[SHEL-3044]: Run time API support to enable QOS null frame
             based power save.

Signed-off-by: Srinivasaraju Chintalapati <srinivasaraju.chintalapati@nordicsemi.no>
@krish2718 krish2718 force-pushed the dynamic_ps_data_retrieval_2.5 branch 2 times, most recently from 9e38a2b to 8a2d7d3 Compare September 6, 2024 10:18
In some scenarios like reading WDOG status, it was observed that
multiple retries are needed for the (Q)SPI read to be successful, so,
add a retry support.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
It was assumed that RPU would stay awake while servicing an interrupt,
but in few scenarios we had seen RPU entering sleep with a pending
interrupt, so, independent of the state (IRQ or not), wakeup RPU if its
asleep.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Ideally we should be using Zephyr spinlock APIs but that requires
changes to shim API, so, for this maintenance release just replace with
mutex to keep the context same and no API changes.

This solves the locking issue that we see when control and data path are
excited concurrently due to locking semantics of semaphores, the issue
is not root caused but mutex enforce strict locking semantics for
multiple threads and solve the issue.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
*[SHEL-2694] : Power save enabled behavior with wmm mode.
*Checking IRQ status before entering sleep mode upon
 receiving the sleep event from LMAC.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants