Skip to content

Conversation

@kapbh
Copy link
Contributor

@kapbh kapbh commented Feb 18, 2025

Need to pull raw scan changes to NCS. Dues to conflicts, need to bring other changes also.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Feb 18, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
nrf_wifi zephyrproject-rtos/nrf_wifi@0f53c9e zephyrproject-rtos/nrf_wifi@f8dbe23 zephyrproject-rtos/[email protected]

Additional metadata changed:

Name URL Submodules West cmds module.yml
nrf_wifi

DNM label due to: 1 project with metadata changes

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

sachinthegreen and others added 26 commits April 3, 2025 13:24
Update the nrf70 Wi-Fi driver to use the mode specific
APIs (as a precursor to enable combining modes as required).

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit a6dfdb9)
Add test cases for SoftAP and P2P modes.

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit 522387e)
…ode.

Fix compilation issues for SoftAP mode which were missed in the mode
specific code changes.

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit 5f69ab7)
Pull in the latest fixes for the SAP and P2P mode builds.

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit d2e0bb2)
Add wifi_spi label to nRF54h and nRF54l dts files to help
in shield overlay files

Signed-off-by: Bansidhar P.M <[email protected]>
(cherry picked from commit eb93df2)
Create dedicated memory pools for Wi-Fi management and
data operations (defaults: 20KB for management and 130KB for data).
Setting Data pool to 110KB for non-Nordic SOCs to resolve
RAM overflows seen in twister runs.

Remove the `HEAP_MEM_POOL_ADD_SIZE_NRF70` hint since we are
creating separate heaps for driver and not allocating from
system heap.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit aa0cb68)
…ry pools

Pull changes for creating separate memory pools for control traffic
and data traffic.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 7f775c3)
With introduction of OSAL wrapper for memory allocation, usage of
zephyr's native malloc calls need to be removed. When NRF70 driver
is not enabled, OSAL needs to be built explicitly.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 208e686)
Some file names are changed, fix file names in
doxygen comments.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit 46829bb)
With recent code restructuring file name and path
has been changed in nrf_wifi lib.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit 9285344)
… info

Pull in change to include reg chan info along with reg domain in the
GET_REG_DOMAIN event for the radio test and offloaded raw TX modes.

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit a34198b)
Pull in fix for CI failure in Offloaded raw TX mode caused
due to commit 0cd3bb2291a7dd22f4cdb1a4cd935a213c2bbfab in nrf_wifi

Signed-off-by: Sachin D Kulkarni <[email protected]>
(cherry picked from commit 69ce6af)
Add prompt to Kconfig NRF70_SYSTEM_WITH_RAW_MODES.
It is assigned in a configuration file, but is not directly
user-configurable (has no prompt). It gets its value
indirectly from other symbols.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit 3ef187d)
…ents

Fix doxygen comments of arguments.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit 5f3bd5d)
nRF70 driver now uses a separate heap, so, no need to explicitly
configure the kernel heap.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 0b8601c)
nRF70 now by default uses variale buffers.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 8fe1df6)
Fine-tune the heap to get peak UDP (TX and RX) results but with minimal
heap consumption.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit be4c79b)
This uses the network packet as is without the need for a copy all the
way till the packet is handed over to RPU.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 5119f9c)
Now that nRF70 by default uses zero-copy fine-tune the configuration to
get optimal memory while getting peak throughputs.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit e33d9ee)
… address packets

The RFC1122 section 3.3.6 says we SHOULD drop the packets if L2 address
is brodcast but L3 address is unicast, but we had seen some Wi-Fi access
points in the field not conforming to that, and DHCP offer is dropped
due to this and causes Wi-Fi connectivity issues.

As the RFC saus it's SHOULD and not a MUST, add a config option to allow
such packets, disabled by default.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 4cd6654)
Add new Ethernet driver config option,
ETHERNET_CONFIG_TYPE_EXTRA_TX_PKT_HEADROOM, which allows Ethernet
drivers to inform L2 about the extra net_pkt headroom they need to be
allocated.
This is only supported when CONFIG_NET_L2_ETHERNET_RESERVE_HEADER is
enabled, so that it's possible to fit entire packet into a single
net_buf, which is needed for zero-copy transmission.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 78c3996)
It seems that this change was solely added to address issues with old
TCP stack, which blindly queued packets intended for TX for potential
further retransmission, expecting that the packet would remain intact
during transmission.

I think this assumption was wrong, as it's natural that lower layers
append respective headers to the packet, and this "header stripping"
behavior was specific for Ethernet L2 only. If an upper layer expects
that the packet would need to be retransmitted at some point, it should
clone it instead.

Therefore, remove the L2 header stripping from the Ethernet L2 to avoid
any potential issues in zero-copy case.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 21b7122)
Fix linking errors by using the Zephyr flags for libary too.

Upstream PR #: 87835

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

Reconfigure DATA heap sizes to fix the driver init failures.

Upstream PR #: 87979

Signed-off-by: Ravi Dondaputi <[email protected]>
Add a debug shell to the driver to provide advanced debug support such
as reading/writing to RPU memory and registers etc.

Upstream PR #: 87823

Signed-off-by: Sachin D Kulkarni <[email protected]>
Move the wifi_util to the newly created nrf70 shell as a sub-shell.

Upstream PR #: 87823

Signed-off-by: Sachin D Kulkarni <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 3, 2025

@bjarki-andreasen bjarki-andreasen merged commit 653648b into nrfconnect:main Apr 3, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants