-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add support nRF54L15 + nRF7002 to AWS IoT sample #18074
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
86b2cd3
manifest: sdk-zephyr: Wi-Fi upmerge
krish2718 243b3f7
manifest: nrfxlib: Pull updated FW blobs
krish2718 d47cc68
subsys: nrf_security: Support Wi-Fi enterprise mode connection
rado17 e973aa3
samples: wifi: shell: Support enterprise mode build
rado17 2352330
samples: wifi: shell: Add enterprise mode build test
rado17 ed9e8cd
net: wifi_credentials: Add support for EAP-TLS configuration
rado17 aaf257f
net: wifi_mgmt_ext: Add support for EAP-TLS method
rado17 b69b146
wifi: samples: Add offloaded raw tx mode sample
kapbh 2d2ad0c
samples: wifi: shell: Add overlay for enterprise mode
rado17 ac93c6a
samples: wifi: Remove fixed buffer size configuration
krish2718 3ceeed7
dts: bindings: Remove nRF70 bindings
krish2718 f52829e
net: lib: nrf70_fw_ext: Add Offloaded Raw TX support
krish2718 7e0aa6f
doc: nrf: Create documentation for advanced Wi-Fi security modes.
rado17 8845098
net: wifi_credentials: Fix commands mixup
krish2718 e5cc591
samples: net: aws_iot: Add support for nRF54L15 DK + nRF7002
jtguggedal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
doc/nrf/protocols/wifi/advanced_modes/offloaded_raw_tx.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.. _ug_nrf70_developing_offloaded_raw_tx: | ||
|
||
Offloaded raw transmit operation | ||
################################ | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
The nRF70 Series ICs can be used as offloaded raw transmit devices, where the nRF70 Series device can transmit frames at regular intervals utilizing very low power. | ||
The contents of the frame as well as parameters such as frequency and channel of transmission are programmable. | ||
|
||
The major functionality of transmitting the frames is offloaded to the nRF70 device, thereby placing minimal requirements on the host (mainly programming capability). | ||
This results in minimal host memory requirements (RAM and flash memory). | ||
|
||
This can be used for applications such as indoor navigation and tracking, where it is essential for anchor nodes to perform low-power beaconing. | ||
Anchor devices can transmit beacon-compliant packets containing tracking or location information inside the BSSID or SSID fields. | ||
Devices scanning for these beacon-compliant packets can use this information. | ||
|
||
Offloaded raw TX mode in Wi-Fi driver | ||
************************************* | ||
|
||
The offloaded raw transmit operation is supported as a separate stand-alone compile-time mode of operation in the nRF Wi-Fi driver and is exclusive to the following existing modes of operation: | ||
|
||
* Wi-Fi mode | ||
* Radio Test mode | ||
|
||
In addition to providing start or stop control over the offloaded raw transmit operation, the driver supports the update of the following configuration parameters: | ||
|
||
* Frame contents | ||
* Channel of operation | ||
* Data rate | ||
* Rate flags | ||
* Periodicity of transmission | ||
* Transmit power | ||
|
||
.. _ug_nrf70_developing_enabling_offloaded_raw_tx: | ||
|
||
Offloaded raw transmit API | ||
************************** | ||
|
||
The offloaded raw transmit functionality of nRF70 Series ICs can be utilized by using the APIs provided by the driver. | ||
The API reference can be found at: | ||
|
||
| Header file: :file:`zephyr/drivers/wifi/nrfwifi/off_raw_tx/off_raw_tx_api.h` | ||
|
||
|
||
See the :ref:`Offloaded raw transmit sample <wifi_offloaded_raw_tx_packet_sample>` to know more about the offloaded raw transmit API. | ||
|
||
.. _ug_nrf70_developing_offloaded_raw_tx_power_consumption: | ||
|
||
Power consumption | ||
***************** | ||
|
||
The power consumed by the nRF70 Series device during the offloaded raw TX operation depends on the following parameters: | ||
|
||
* Operating data rate (for example, 6 Mbps, MCS0) : Power consumption decreases as the data rate increases. | ||
* Payload length : Power consumption increases with the payload length. | ||
* Periodicity of transmission : Power consumption increases as the period between successive transmissions decreases. | ||
* Transmit power : Power consumption increases as the transmit power increases. | ||
|
||
For optimizing the power consumption of your application, you can use the `Online Power Profiler for Wi-Fi`_ tool. |
52 changes: 52 additions & 0 deletions
52
doc/nrf/protocols/wifi/advanced_modes/wifi_advanced_security_modes.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.. _ug_nrf70_wifi_advanced_security_modes: | ||
|
||
Wi-Fi Enterprise test: X.509 Certificate header generation | ||
********************************************************** | ||
|
||
Wi-Fi enterprise security requires use of X.509 certificates, test certificates | ||
in PEM format are committed to the repo at :zephyr_file:`samples/net/wifi/test_certs/` and the during the | ||
build process the certificates are converted to a C header file that is included by the Wi-Fi shell | ||
module or the :ref:`lib_wifi_credentials` library. | ||
|
||
.. code-block:: bash | ||
|
||
$ cp client.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ | ||
$ cp client-key.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ | ||
$ cp ca.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ | ||
$ cp client.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client2.pem | ||
$ cp client-key.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client-key2.pem | ||
$ cp ca.pem ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ca2.pem | ||
$ west build -p -b <board> samples/net/wifi -- -DEXTRA_CONF_FILE=overlay-enterprise.conf | ||
|
||
.. note:: | ||
The EAP phase2 certificates (suffixed with 2) are unused in ``EAP-TLS`` but are mandatory for building the sample application. | ||
The phase1 certificates are copied as phase2 certificates to avoid build errors. | ||
|
||
To initiate Wi-Fi connection, the following command can be used: | ||
|
||
.. code-block:: console | ||
|
||
uart:~$ wifi connect -s <SSID> -k 7 -a anon -K <key passphrase> | ||
|
||
Server certificate is also provided in the same directory for testing purposes. | ||
Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or ``hostapd``. | ||
|
||
.. note:: | ||
|
||
The certificates are for testing purposes only and should not be used in production. | ||
|
||
|
||
Wi-Fi PSA support | ||
################# | ||
|
||
The nRF70 Series device Wi-Fi solution supports `Platform Security Architecture (PSA)`_ (PSA) APIs for cryptographic operations. | ||
|
||
The nRF70 Series device Wi-Fi solution currently supports only WPA2-personal security profile in PSA mode. | ||
WPA3-personal and Enterprise security profiles will be supported in future releases using PSA APIs. | ||
|
||
Enabling Wi-Fi PSA support | ||
************************** | ||
|
||
To enable the Wi-Fi PSA support in your applications, use the :kconfig:option:`CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT_NCS_PSA` Kconfig option. | ||
|
||
Wi-Fi connection process is similar to the non-PSA mode, the only difference is that the cryptographic operations are performed using PSA APIs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could have some information about the nRF54l15 support in the introduction section, since we talk about other devices as well - https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html.
Also, the configuration files section - https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/aws_iot/README.html#configuration_files would require an update about the nRF54l15 conf and overlay files.