Skip to content

Conversation

@thst-nordic
Copy link
Contributor

No description provided.

karun2796 and others added 30 commits April 16, 2024 09:16
UMAC:
     Updated the rpu path version to 1.2.10.2.
     [SHEL-2596]: Fix for regulatory domain setting issue in
                  Radio test sample.
     [SHEL-2628]: Updating bss data base with good rssi up to
                  4 entries in connect scan.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
Before setting regulatory to firmware, host enquires firmware about
current regulatory domain. The event handling for this command
was enabled for STA mode, for which command was failing.
Added regulatory related events handling for radio test mode.

Signed-off-by: Ajay Parida <[email protected]>
UMAC:
     Updated the rpu path version to 1.2.10.3.
     [SHEL-2690]: Added provision for disconnection timeout
                  value from host.
LMAC:
     [NRF7X-150]: MQTT disconnection issues.
     [NRF7X-157]: Wi-Fi disconnections and instability issues.
     [NRF7X-178]: Wi-Fi always active.
     [SHEL-2690]: Beacon wait timer is reduced to 20ms in DTIM wakeup.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
Send the user configured timeout down to RPU.

Implements SHEL-2689.

Signed-off-by: Chaitanya Tata <[email protected]>
UMAC:
     Updated the rpu path version to 1.2.10.4.
     Removed unused structure in sys init structure.
LMAC:
     Minor Bug fix.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
UMAC:
     Updated the rpu path version to 1.2.10.5.
     [SHEL-2789] : Payload maximum value is always 70 in monitor mode.
LMAC:
     [SHEL-2790] : Not able to filter for specific packet types
                   in monitor mode.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
1. [SHEL-2748] TX EVM degradation fix
2. Updated the rpu patch version to 1.2.10.6

Signed-off-by: Prasun Sinha <[email protected]>
[SHEL-2947] QoS null frame based legacy power save support.

Signed-off-by: Ajay Parida <[email protected]>
[SHEL-2947] Changing naming of power save mode
to mechanism(Text change).

Signed-off-by: Ajay Parida <[email protected]>
FMAC relies on these callbacks to perform a RPU recovery i.e., coldboot
the device in a clean way, this is achieved by performing an interface
down and then up, this properly cleans up the driver, performs a cold
boot and either through NET_IF events (for scan only) or WPA_S events
(for full Wi-Fi) notifies the applications.

Implements SHEL-2726.

Signed-off-by: Chaitanya Tata <[email protected]>
RPU hostport uses OR logic to manage both normal event IRQ line and
watchdog IRQ line, so, for every IRQ check for both sources
independently.

Signed-off-by: Chaitanya Tata <[email protected]>
Signed-off-by: srinivasa raju chintalapati <[email protected]>
* As RPU recovery can triggered called from multiple places, use a
tasklet with a lock to trigger RPU recovery.

* In case RPU is stuck in sleep, FW based watchdog interrupt will not be
received, so, recovery cannot be triggered. So, in case of RPU wakeup
failure, trigger the recovery.

Fixes SHEL-2810.

Signed-off-by: Chaitanya Tata <[email protected]>
In case host is asserting wakeup_now, don't rely on RPU PS state, as
that is derived from multiples sources wakeup_now, RPU interrupt etc.

Use a dedicated flag to track.

Signed-off-by: Chaitanya Tata <[email protected]>
During watchdog (or any) interrupt processing, RPU accesses are being
made and they assert the wakeup_now flag this causes RPU recovery to not
trigger.

New false or true recovery detection algo:

 Check the time difference b/w last de-assert and assert, and if it
 exceeds minimum time needed for RPU to enter sleep, then not the
 timestamp. This timestamp will be used to compare when a watchdog
 interrupt is received and see if during the last window if host has
 given a chance for RPU to attempt sleep, if yes, then attempt recovery
 else ignore watchdog.

Also, add a Kconfig for the 10s active time that triggers recovery, this
needs to be passed to the FW (once we have enough patch memory).

Also, add a Kconfig for the minimum time needed for RPU to attempt sleep
in positive case.

Also, add a new _ms API for time stamp fetch, this is to avoid
precision loss when converting to and from ms to us and also makes code
readable by avoiding *1000 and /1000.

Signed-off-by: Chaitanya Tata <[email protected]>
Add a missing NULL check for RX buffers, without this we see a crash
during RPU recovery.

Signed-off-by: Chaitanya Tata <[email protected]>
These are helpful for debugging RPU recovery only.

Signed-off-by: Chaitanya Tata <[email protected]>
The original fix is too big to backport, so, a simple check is added to
fix race condition during de-init causing mulitple crashes.

Signed-off-by: Chaitanya Tata <[email protected]>
This helps us understand OOM issues.

Signed-off-by: Chaitanya Tata <[email protected]>
When HAL is being de-initialized drain the events to free up the memory
and also to avoid accessing any freed up variables.

Signed-off-by: Chaitanya Tata <[email protected]>
Commit e1fc1137e ("nrf_wifi: Add support for recovering RPU stuck in
sleep") introduced a memory leak where recovery spin lock isn't freed.

Signed-off-by: Chaitanya Tata <[email protected]>
Fix RPU recovery protection to solve build failures when RPU recovery is
disabled.

As recovery is primarily based on power-management, add a Kconfig
dependency to enforce, this simplies the macros to protect the code.

Signed-off-by: Chaitanya Tata <[email protected]>
During interface down in case TX has pending buffers in either TXQ or
Pending_Q then they are not freed instead the Q itself is freed.

Fix by traversing the Q and freeing all members.

Signed-off-by: Chaitanya Tata <[email protected]>
These are very frequent, so, a separate debug is added for debugging
host RPU recovery logic.

Signed-off-by: Chaitanya Tata <[email protected]>
This is useful to understand the reason for comms trigger b/w host and
RPU.

Signed-off-by: Chaitanya Tata <[email protected]>
OSAL Shim only as 256 bytes for logs, causign recovery logs to be
truncated.

Signed-off-by: Chaitanya Tata <[email protected]>
With this offload, host doesn't need to manage RX buffers for management
frames, and this saves Host-RPU comms and thus giving RPU to sleep more
often and is essential to test RPU recovery.

Signed-off-by: Chaitanya Tata <[email protected]>
To handle interoperability issue with few APs, add a feature to keep
sending keepalive frames periodically to avoid AP disconnecting the STA.

This is disabled by default to avoid unnecessary power consumption as
it's only seen with few old APs.

Signed-off-by: Chaitanya Tata <[email protected]>
User can configure watchdog timer using Kconfig and this needs to be
sent to FW. This is primarily needed for crowded channel where RPU can
stay awake for more than 10s.

Signed-off-by: Chaitanya Tata <[email protected]>
UMAC: Fixes from v2.5 branch
  1) Added watchdog timer programming from Host.
  2) Handling TRIGGER_SWITCH_PS from LMAC.
  3) Clearing and re-enabling watchdog before sending any
     event from UMAC to Host.
  4) [SHEL-2995] : Parsing keep alive parameters from host in command
                       init and sending to LMAC.

LMAC: Fixes/features from 2.5 branch
  1) Keep alive logic
  2) Null frame based power save
  3) TSF sync
  4) Updated lma cpath  bimg location to 0x8004b400

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
imapa and others added 23 commits August 28, 2024 13:11
PHY: Fix for low TX power

[SHEL-2583] : Tx power reduces due to incorrect backoff values
applied when an inaccurate vbat value is provided.

Signed-off-by: Mahammadyunus Patil <[email protected]>
It depends on links to other repos and errors are unavoidable.

Signed-off-by: Thomas Stilwell <[email protected]>
Dynamically set power save exit strategy runtime configuration that
allows to switch b/w strategies depending on conserving power and
low-latency traffic download.

Signed-off-by: Ajay Parida <[email protected]>
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 <[email protected]>
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 <[email protected]>
*Checking IRQ status before entering sleep mode upon receiving
 the sleep event from LMAC.
*[SHEL-2694] : Power save enabled behavior with wmm mode.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
Remove watchdog timer reset at start of TX command.

Signed-off-by: Praveen Kankipati <[email protected]>
Signed-off-by: Uday Kannemadugu <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Rubin Ingwer Gerritsen <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Rubin Ingwer Gerritsen <[email protected]>
With the newer ubuntu being used, newer python packeges
must be used:

- Upgrade lxml to 4.9.4 because is 4.9.1 is not supported.
- Install unidiff. It is being used.

Signed-off-by: Rubin Gerritsen <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Rubin Ingwer Gerritsen <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Rubin Ingwer Gerritsen <[email protected]>
The flag should be reset before sending to avoid a tiny race b/w flag
set and reading the flag.

Signed-off-by: Chaitanya Tata <[email protected]>
To determine if the regulatory change event is solicited or not, this
flag is handy.

Helps fix #79733.

Signed-off-by: Chaitanya Tata <[email protected]>
Use v4 of cache to fix compliance.

Signed-off-by: Chaitanya Tata <[email protected]>
[SHEL-3432] : Run time options to enable STBC and QOS null
              based power save.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
Add Kconfig in init command for maximum ps poll failures count
and stbc enable in HT.

Signed-off-by: Kapil Bhatt <[email protected]>
…59246

Disabling Beamformee in VHT capabilities when disable_beamforming is
enabled through kconfig.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
RPU patch version update from 1.2.10.6 to 1.2.10.7.
Enable watchdog in cold boot and pulled fixes from wezen related
ack processing.

Signed-off-by: Karun Kumar Eagalapati <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Martin Tverdal <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Martin Tverdal <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Sean Madigan <[email protected]>
CHANGELOG.rst contains the list of changes.

Signed-off-by: Sean Madigan <[email protected]>
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Jul 3, 2025
@thst-nordic thst-nordic closed this Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.