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

wifi: Upmerge for 2.8.0 #18066

Merged
merged 18 commits into from
Oct 25, 2024
Merged

wifi: Upmerge for 2.8.0 #18066

merged 18 commits into from
Oct 25, 2024

Conversation

krish2718
Copy link
Contributor

Wi-Fi fixes for 2.8.0.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 21, 2024

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

Name Old Revision New Revision Diff
nrfxlib nrfconnect/[email protected] nrfconnect/sdk-nrfxlib@37617d6 (main) nrfconnect/[email protected]
zephyr nrfconnect/[email protected] nrfconnect/sdk-zephyr@33919fc (main) nrfconnect/[email protected]

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

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 21, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 17

Inputs:

Sources:

sdk-nrf: PR head: 2255ffd9a7276f80deeb613b8c566b8c3832b4d1
nrfxlib: PR head: 37617d6dcfffa4ec03ace06a777e0e58e24355a9
hostap: PR head: 44285310338f423021cc7df2c1056256882a00cc
zephyr: PR head: 33919fc981c12469ea96f987c23b90bfa5a8ebea

more details

sdk-nrf:

PR head: 2255ffd9a7276f80deeb613b8c566b8c3832b4d1
merge base: c12de605204a9eb9371bd1b2316c1e03f18c1fd3
target head (main): c12de605204a9eb9371bd1b2316c1e03f18c1fd3
Diff

nrfxlib:

PR head: 37617d6dcfffa4ec03ace06a777e0e58e24355a9
merge base: d5d7c4556dd279f6117eac47fbc8038e0b5f7f02
Diff

hostap:

PR head: 44285310338f423021cc7df2c1056256882a00cc
merge base: 9896a2ea803ec62e0998c0e569f12af88537d647
Diff

zephyr:

PR head: 33919fc981c12469ea96f987c23b90bfa5a8ebea
merge base: adcffa835a8eabda9e9e1ac5dc59597b2ea67747
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (153)
CODEOWNERS
cmake
│  ├── sysbuild
│  │  │ nrf700x.cmake
doc
│  ├── nrf
│  │  ├── app_dev
│  │  │  ├── device_guides
│  │  │  │  ├── nrf70
│  │  │  │  │  ├── features.rst
│  │  │  │  │  ├── index.rst
│  │  │  │  │  │ wifi_advanced_security_modes.rst
│  │  ├── links.txt
│  │  ├── protocols
│  │  │  ├── wifi
│  │  │  │  ├── advanced_modes
│  │  │  │  │  ├── index.rst
│  │  │  │  │  │ offloaded_raw_tx.rst
│  │  ├── releases_and_maturity
│  │  │  ├── migration
│  │  │  │  │ migration_guide_2.8.rst
│  │  │  ├── releases
│  │  │  │  │ release-notes-changelog.rst
dts
│  ├── bindings
│  │  ├── wifi
│  │  │  ├── nordic,nrf7000-coex.yaml
│  │  │  ├── nordic,nrf7001-coex.yaml
│  │  │  ├── nordic,nrf7002-coex.yaml
│  │  │  ├── nordic,nrf700x-qspi.yaml
│  │  │  ├── nordic,nrf700x-spi.yaml
│  │  │  ├── nordic,nrf700x-tx-power.yaml
│  │  │  │ nordic,nrf700x.yaml
include
│  ├── net
│  │  │ wifi_credentials.h
modules
│  ├── lib
│  │  ├── hostap
│  │  │  ├── port
│  │  │  │  ├── mbedtls
│  │  │  │  │  │ supp_psa_api.c
│  │  │  ├── src
│  │  │  │  ├── ap
│  │  │  │  │  ├── acs.c
│  │  │  │  │  │ hostapd.c
│  │  │  │  ├── common
│  │  │  │  │  ├── dpp_tcp.c
│  │  │  │  │  │ wpa_ctrl.c
│  │  │  │  ├── crypto
│  │  │  │  │  ├── crypto_mbedtls-ec.c
│  │  │  │  │  ├── crypto_mbedtls_alt.c
│  │  │  │  │  │ tls_mbedtls_alt.c
│  │  │  │  ├── drivers
│  │  │  │  │  │ driver_zephyr.c
│  │  │  │  ├── utils
│  │  │  │  │  ├── common.h
│  │  │  │  │  ├── os.h
│  │  │  │  │  │ os_zephyr.c
│  │  │  ├── wpa_supplicant
│  │  │  │  ├── ctrl_iface.c
│  │  │  │  ├── events.c
│  │  │  │  ├── p2p_supplicant.c
│  │  │  │  ├── wnm_sta.c
│  │  │  │  ├── wpa_cli_cmds.c
│  │  │  │  ├── wpa_cli_zephyr.c
│  │  │  │  │ wpa_supplicant.c
nrfxlib
│  ├── .github
│  │  ├── workflows
│  │  │  │ backport.yml
│  ├── nrf_wifi
│  │  ├── bin
│  │  │  ├── ncs
│  │  │  │  ├── default
│  │  │  │  │  │ nrf70.bin
│  │  │  │  ├── offloaded_raw_tx
│  │  │  │  │  │ nrf70.bin
│  │  │  │  ├── radio_test
│  │  │  │  │  │ nrf70.bin
│  │  │  │  ├── scan_only
│  │  │  │  │  │ nrf70.bin
│  │  │  │  ├── system_with_raw
│  │  │  │  │  │ nrf70.bin
samples
│  ├── wifi
│  │  ├── ble_coex
│  │  │  │ prj.conf
│  │  ├── monitor
│  │  │  │ prj.conf
│  │  ├── offloaded_raw_tx
│  │  │  ├── CMakeLists.txt
│  │  │  ├── Kconfig
│  │  │  ├── README.rst
│  │  │  ├── prj.conf
│  │  │  ├── sample.yaml
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  │  │ sysbuild.conf
│  │  ├── promiscuous
│  │  │  │ prj.conf
│  │  ├── provisioning
│  │  │  ├── ble
│  │  │  │  │ prj.conf
│  │  ├── raw_tx_packet
│  │  │  │ prj.conf
│  │  ├── shell
│  │  │  ├── boards
│  │  │  │  │ nrf7002dk_nrf5340_cpuapp_ns.conf
│  │  │  ├── overlay-enterprise.conf
│  │  │  ├── overlay-sap.conf
│  │  │  ├── overlay-zperf.conf
│  │  │  ├── prj.conf
│  │  │  │ sample.yaml
│  │  ├── softap
│  │  │  │ prj.conf
│  │  ├── sta
│  │  │  │ prj.conf
│  │  ├── thread_coex
│  │  │  │ prj.conf
│  │  ├── throughput
│  │  │  ├── overlay-high-performance.conf
│  │  │  ├── overlay-iot-devices.conf
│  │  │  ├── overlay-memory-optimized.conf
│  │  │  ├── overlay-rx-prio.conf
│  │  │  ├── overlay-tx-prio.conf
│  │  │  │ prj.conf
│  │  ├── twt
│  │  │  │ prj.conf
│  │  ├── wfa_qt_app
│  │  │  │ prj.conf
snippets
│  ├── nrf70-wifi
│  │  │ nrf54l15_cpuapp.conf
subsys
│  ├── net
│  │  ├── lib
│  │  │  ├── nrf70_fw_ext
│  │  │  │  │ CMakeLists.txt
│  │  │  ├── wifi_credentials
│  │  │  │  ├── Kconfig
│  │  │  │  ├── wifi_credentials.c
│  │  │  │  │ wifi_credentials_shell.c
│  │  │  ├── wifi_mgmt_ext
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── wifi_cred_shell_autoconnect.c
│  │  │  │  │ wifi_mgmt_ext.c
sysbuild
│  ├── CMakeLists.txt
│  │ Kconfig.wifi
west.yml
zephyr
│  ├── boards
│  │  ├── nordic
│  │  │  ├── nrf7002dk
│  │  │  │  ├── nrf7002dk_nrf5340_cpuapp.dts
│  │  │  │  ├── nrf7002dk_nrf5340_cpuapp_nrf7001.dts
│  │  │  │  ├── nrf7002dk_nrf5340_cpuapp_nrf7001_ns.dts
│  │  │  │  ├── nrf7002dk_nrf5340_cpuapp_ns.dts
│  │  │  │  ├── nrf7002dk_nrf5340_cpunet.dts
│  │  │  │  ├── nrf70_common.dtsi
│  │  │  │  │ nrf70_common_coex.dtsi
│  │  ├── shields
│  │  │  ├── nrf7002eb
│  │  │  │  │ nrf7002eb_coex.overlay
│  │  │  ├── nrf7002ek
│  │  │  │  ├── Kconfig.shield
│  │  │  │  ├── doc
│  │  │  │  │  │ index.rst
│  │  │  │  ├── nrf7002ek_coex.overlay
│  │  │  │  │ nrf7002ek_common.dtsi
│  ├── doc
│  │  ├── connectivity
│  │  │  ├── networking
│  │  │  │  ├── api
│  │  │  │  │  │ wifi.rst
│  ├── drivers
│  │  ├── wifi
│  │  │  ├── nrfwifi
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.nrfwifi
│  │  │  │  ├── inc
│  │  │  │  │  │ fmac_main.h
│  │  │  │  ├── off_raw_tx
│  │  │  │  │  ├── inc
│  │  │  │  │  │  │ off_raw_tx.h
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ off_raw_tx_api.c
│  │  │  │  ├── src
│  │  │  │  │  ├── fmac_main.c
│  │  │  │  │  ├── net_if.c
│  │  │  │  │  ├── qspi
│  │  │  │  │  │  ├── src
│  │  │  │  │  │  │  │ rpu_hw_if.c
│  │  │  │  │  ├── shim.c
│  │  │  │  │  ├── shim.h
│  │  │  │  │  ├── wifi_mgmt.c
│  │  │  │  │  ├── wifi_mgmt_scan.c
│  │  │  │  │  │ wifi_util.c
│  ├── dts
│  │  ├── bindings
│  │  │  ├── wifi
│  │  │  │  ├── nordic,nrf70-coex.yaml
│  │  │  │  ├── nordic,nrf70.yaml
│  │  │  │  ├── nordic,nrf7000-coex.yaml
│  │  │  │  ├── nordic,nrf7001-coex.yaml
│  │  │  │  │ nordic,nrf7002-coex.yaml
│  ├── include
│  │  ├── zephyr
│  │  │  ├── drivers
│  │  │  │  ├── wifi
│  │  │  │  │  ├── nrfwifi
│  │  │  │  │  │  ├── off_raw_tx
│  │  │  │  │  │  │  │ off_raw_tx_api.h
│  │  │  ├── net
│  │  │  │  ├── wifi.h
│  │  │  │  │ wifi_mgmt.h
│  ├── modules
│  │  ├── hal_nordic
│  │  │  ├── nrfs
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig
│  │  │  │  │ nrfs_config.h
│  │  ├── hostap
│  │  │  ├── CMakeLists.txt
│  │  │  ├── Kconfig
│  │  │  ├── src
│  │  │  │  ├── supp_api.c
│  │  │  │  ├── supp_api.h
│  │  │  │  ├── supp_events.c
│  │  │  │  ├── supp_main.c
│  │  │  │  │ supp_main.h
│  ├── samples
│  │  ├── net
│  │  │  ├── wifi
│  │  │  │  ├── boards
│  │  │  │  │  │ rd_rw612_bga.conf
│  │  │  │  ├── overlay-enterprise-variable-bufs.conf
│  │  │  │  ├── overlay-enterprise.conf
│  │  │  │  ├── prj.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── test_certs
│  │  │  │  │  ├── ca.pem
│  │  │  │  │  ├── ca2.pem
│  │  │  │  │  ├── client-key.pem
│  │  │  │  │  ├── client-key2.pem
│  │  │  │  │  ├── client.pem
│  │  │  │  │  ├── client2.pem
│  │  │  │  │  ├── server-key.pem
│  │  │  │  │  ├── server-key2.pem
│  │  │  │  │  ├── server.pem
│  │  │  │  │  │ server2.pem
│  ├── soc
│  │  ├── nordic
│  │  │  ├── nrf54h
│  │  │  │  │ Kconfig
│  │  │  ├── nrf92
│  │  │  │  │ Kconfig
│  ├── subsys
│  │  ├── net
│  │  │  ├── ip
│  │  │  │  │ Kconfig
│  │  │  ├── l2
│  │  │  │  ├── wifi
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── wifi_mgmt.c
│  │  │  │  │  │ wifi_shell.c
│  ├── tests
│  │  ├── net
│  │  │  ├── wifi
│  │  │  │  ├── configs
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── prj.conf
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ main.c
│  │  │  │  │  │ testcase.yaml
│  │ west.yml

Outputs:

Toolchain

Version: add720b6d9
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:add720b6d9_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ❌ Build twister
  • ❌ Integration tests
    • ✅ test-sdk-audio
    • ❌ desktop52_verification
    • ✅ test-fw-nrfconnect-boot
    • ✅ test-fw-nrfconnect-apps
    • ❌ test_ble_nrf_config
    • ❌ test-fw-nrfconnect-ble_mesh
    • ✅ test-fw-nrfconnect-ble_samples
    • ❌ test-fw-nrfconnect-chip
    • ❌ test-fw-nrfconnect-nfc
    • ✅ test-fw-nrfconnect-nrf-iot_cloud
    • ✅ test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • ✅ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • ❌ test-fw-nrfconnect-nrf-iot_samples
    • ✅ test-fw-nrfconnect-nrf-iot_lwm2m
    • ✅ doc-internal
    • ❌ test-fw-nrfconnect-nrf-iot_thingy91
    • ✅ test-fw-nrfconnect-nrf_crypto
    • ❌ test-fw-nrfconnect-proprietary_esb
    • ✅ test-fw-nrfconnect-rpc
    • ❌ test-fw-nrfconnect-rs
    • ✅ test-fw-nrfconnect-fem
    • ✅ test-fw-nrfconnect-tfm
    • ❌ test-fw-nrfconnect-thread
    • ❌ test-fw-nrfconnect-zigbee
    • ❌ test-sdk-find-my
    • ❌ test-fw-nrfconnect-nrf-iot_mosh
    • ❌ test-fw-nrfconnect-nrf-iot_positioning
    • ✅ test-sdk-sidewalk
    • ✅ test-sdk-wifi
    • ✅ test-low-level
    • ✅ test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • ✅ test-sdk-pmic-samples
    • ✅ test-sdk-mcuboot
    • ✅ test-sdk-dfu
    • ❌ test-fw-nrfconnect-ps
    • ⚠️ test-fw-nrfconnect-fw-update

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

@divipillai
Copy link
Contributor

Please remove this file here and add a comment on this PR #18192 : https://github.com/nrfconnect/sdk-nrf/pull/18066/files#diff-9460bd2e76b8fe433e47a738942f77d38f18d5967374101c756a015372b8cc22.

@krish2718 krish2718 added the backport v2.8-branch auto-create a PR with same commits to v2.8-branch label Oct 25, 2024
@ArekBalysNordic ArekBalysNordic dismissed their stale review October 25, 2024 12:14

RAM usage looks better.

krish2718 and others added 6 commits October 25, 2024 17:58
Pull changes for Wi-Fi upmerge for 2.8.0.

Signed-off-by: Chaitanya Tata <[email protected]>
The FW blobs have been updated for upmerge.

Signed-off-by: Chaitanya Tata <[email protected]>
Introduce a new overlay to build enterprise mode support.
Increase kernel heap to accommodate the enterprise mode
feature.

Signed-off-by: Ravi Dondaputi <[email protected]>
Add enterprise mode support for twister runs.

Signed-off-by: Ravi Dondaputi <[email protected]>
Add support to configure EAP-TLS method in Wi-Fi credentials.
Add getopt support to `add` command to facilitate extending the
configuration options.

Signed-off-by: Ravi Dondaputi <[email protected]>
Add support to read identity and private key password if
configured in Enterprise mode.

Signed-off-by: Ravi Dondaputi <[email protected]>
kapbh and others added 12 commits October 25, 2024 18:06
This sample demonstrates the offloaded raw TX packet
functionality of the nRF70 device.

Signed-off-by: Kapil Bhatt <[email protected]>
Add overlay to enable enterprise mode configs.

Signed-off-by: Ravi Dondaputi <[email protected]>
This fixes a Kconfig warning as nRF70 by default uses variable buffer
sizes.

Signed-off-by: Chaitanya Tata <[email protected]>
These are now migrated upstream.

Signed-off-by: Chaitanya Tata <[email protected]>
This is a newly added FW patch variant.

Signed-off-by: Chaitanya Tata <[email protected]>
With the recent changes to Wi-Fi shell to use the separate command
declaration so that Wi-Fi commands can be extended externally, this
causes some sort of conflict with wifi_cred, possibly because both
command parent names start with "wifi", few commands from "wifi" end up
wth "wifi_cred".

As we debug the root cause, temporarily renamed the parent to
"nwifi_cred" to avoid this mixup, the shell command is still
"wifi_cred", so, this is acceptable.

Signed-off-by: Chaitanya Tata <[email protected]>
Create documentation for enterprise mode and PSA. Add entry in migration
guide for the syntax change in `wifi_cred add` command.

Signed-off-by: Ravi Dondaputi <[email protected]>
Shell with Wi-Fi needs higher stack size, at least 5200. This fixes a
crash seen during Wi-Fi connect on 54L15.

Signed-off-by: Chaitanya Tata <[email protected]>
During the renaming this was missed and none-of the modes work except
for the default mode "system", and we see build errors or memory
increase for other modes.

Signed-off-by: Chaitanya Tata <[email protected]>
Using fully allowed lengths cause the settings subsystem maximum allowed
length overflow, so, as a temporary workaround limit the lengths, these
should be enough for typical usecases.

We need to relook at this approach esp. dealing with flash as we cannot
just increase maximum allowed lengths.

Signed-off-by: Chaitanya Tata <[email protected]>
Executing auto_connect from wifi_cred shell needs extra memory on stack.
Increase the shell stack size to accommodate this.

Signed-off-by: Ravi Dondaputi <[email protected]>
Add entries for phase2 certificates in connection parameters.

Signed-off-by: Ravi Dondaputi <[email protected]>
@rlubos rlubos merged commit d036325 into nrfconnect:main Oct 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v2.8-branch auto-create a PR with same commits to v2.8-branch CI-force-downstream doc-required PR must not be merged without tech writer approval. manifest manifest-nrfxlib manifest-zephyr wifi-qa-required Needs an Approval from Wi-Fi QA team before merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.