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

[Backport v3.7.99-ncs1-branch] wifi: Fixes from RC1 testing #2225

Merged
merged 6 commits into from
Nov 5, 2024

Conversation

NordicBuilder
Copy link
Contributor

Backport 3017425~6..3017425 from #2221.

krish2718 and others added 6 commits November 5, 2024 10:39
This reverts commit a3a28db.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit a7efd34)
Fix the noise during boot.

Upstream PR #: 80858

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 0d1bb86)
In case the driver UP fails, the FMAC context will be NULL, so, add a
NULL check in the DOWN.

Fixes a crash seen when working with unprogrammed OTP (no MAC) that
fails the interface UP.

Upstream PR #: 80858

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 0debaa0)
This is needed to ensure Wi-Fi can always be used.

Upstream PR #: 80822

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit f2efee5)
Some spi drivers do not allow the send buffer
and receive buffer to be empty at the same time,
if this happens it will cause the spi to be unable
to communicate with the nrf7002, so add the receive
buffer for the discard byte in the spim_xfer_rx.

Fix #80686

Upstream PR #: 80787

Signed-off-by: Hongquan Li <[email protected]>
(cherry picked from commit e26e2a2)
With introduction of Raw modes, nRF70 driver now advertises get_c
onfig OP, but doesn't implement all types.

This causes problems two-fold with checksum calculations:
  1. The "config" isn't uninitialized, so, every call returns differnet
     values. So, for UDP header checksum would be done and
     pkt->chksumdone would be set. But for IPv4 header checksum might be
     skipped.
  2. Even if we initialize to zero, then network stack gets all zeros
     and calculates checksum by itself rendering offload moot.

There is another problem in #1, as there is only single flag for pkt for
all checksum, nRF70 driver sees this and tells UMAC to skip checksum for
the entire packet. The design isn't coherent, and should be converted to
communicate per-type checksum status (some are filled by network stack
and some HW).

But as nRF70 support all checksum offloads, advertise all types for both
RX and TX.

Upstream PR #: 80882

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 3017425)
@NordicBuilder
Copy link
Contributor Author

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

Name Old Revision New Revision Diff
hal_nordic zephyrproject-rtos/hal_nordic@0a753f9 zephyrproject-rtos/hal_nordic@2d78179 (master) zephyrproject-rtos/[email protected]

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

@rlubos rlubos merged commit 6f71a09 into v3.7.99-ncs1-branch Nov 5, 2024
24 checks passed
@rlubos rlubos deleted the backport-2221-to-v3.7.99-ncs1-branch branch November 6, 2024 08:47
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.

4 participants