Commit Graph

89 Commits

Author SHA1 Message Date
Andrzej Kuros daf8752851 nrf_802154: rev cc772ff0a57506bd728ff3d08d03ee4ef8ffbb9d
This commit updates revision of the nrf_802154 component.

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2024-02-26 09:47:57 +01:00
Jędrzej Ciupis 4362d0fcdb nrf_802154: rev e45bb47f0a4a43b69d19a145bdf15001d67e02dd
This commit updates revision of the nrf_802154 component.

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2024-01-24 10:56:25 +01:00
Andrzej Kuros 64bd075a06 nrf_802154: rev ff6aba3a0496b36a8ffb25b97233187e721400af
This commit updates revision of the nrf_802154 component.

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2024-01-09 14:26:40 +01:00
Jędrzej Ciupis 3786c55424 nrf_802154: rev 1bff96a60a6f40dae3a9262cb4a828035008df21
This commit updates revision of the nrf_802154 component.

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2024-01-03 16:29:00 +01:00
Andrzej Kuros eeb9ad8b11 nrf_802154: rev f8b1797b9cece579b7179dea342c278813531d9f
This commit updates revision of the nrf_802154 component.

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2023-12-08 10:45:11 +01:00
Jędrzej Ciupis 6efb0fdef0 nrf_802154: rev aaff0ad8570c2f7069ae9fc8f60153941275a6ae
This commit updates revision of the nrf_802154 component.

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2023-12-06 10:44:56 +01:00
Andrzej Kuros 275548e2dc nrf_802154: rev d062f8597079db0d964762fc7666a367ff2fca4c
This commit updates revision of the nrf_802154 component.

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2023-10-02 19:13:34 +02:00
Alberto Escolar Piedras d054a315eb drivers: nrf_802154: Minor fixes for simulated nrf5340
Two erratas fixes cannot be applied to the simulated
nrf5340. Let's conditionally compile them out.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-28 12:13:35 +02:00
Andrzej Kuros 9ae7c76598 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature the latest
changes.

sdk-nrf-802154 commit: d08f6e6e546e23fa5894296ed4859111b3b9dc46

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2023-08-17 15:41:27 +02:00
Jędrzej Ciupis 0d68181c95 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature the latest
changes.

sdk-nrf-802154 commit: 43a0e760e7e47589739da632f852237d6331dacf

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2023-07-05 11:27:46 +02:00
Jędrzej Ciupis 6c6b666ab3 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature the latest
changes.

sdk-nrf-802154 commit: ee322183173c1d9a50203562a8021d13bed5ee04

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2023-03-17 08:50:39 +01:00
Jędrzej Ciupis 609d4b41fe drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature the latest
changes.

sdk-nrf-802154 commit: e9eca1e61abc07f34604fa8154ca2eaca6f3c922

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2023-03-08 09:11:15 +01:00
Jędrzej Ciupis 6c9f23498e drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature the latest
changes.

sdk-nrf-802154 commit: 9470a97f6e07d2f3ae09db2e6cefa5edf0b2b9ae

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2023-02-22 11:10:31 +01:00
Jędrzej Ciupis fe0be3c354 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: 362d2e7af15725f28225a4589ac67aa16c839f38

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2022-11-14 13:02:27 +01:00
Artur Hadasz 249199ec5a drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: b60ce8affe251110a8228caea9c8ba45f578b4a3

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2022-08-10 14:59:25 +02:00
Fabio Baltieri f6628a3058 include: add "zephyr/" include prefix
Add relevant "zephyr/" prefixes to allow building with
LEGACY_INCLUDE_PATH=n.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-20 10:29:12 +00:00
Artur Hadasz d9e50d7287 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: ab78d8e836875e61a3715388281727c1feb4a225

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2022-06-06 09:05:44 +02:00
Artur Hadasz 626e3dd960 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: 7e896fbeca9a0dc5240e583e321c62393af705ea

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2022-03-31 10:21:01 +02:00
Rafał Kuźnia 1f9145e8c8 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: 11986be74d191f6ea4de17d059cfb87ff7f86dd9

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2022-02-24 10:51:38 +01:00
Andrzej Kuros eab07c9d86 drivers: nrf_802154: Fix build with NRF_802154_DELAYED_TRX_ENABLED=0
Serialization on nrf5340 network core requested functions which are
removed from build by setting NRF_802154_DELAYED_TRX_ENABLED=0

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2022-02-22 10:15:31 -08:00
Andrzej Kuros c081c7be7c drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: 453044a0e97ec2c8fa2d6d0135a093cbc5362eb2

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2022-02-22 10:15:31 -08:00
Andrzej Kuros b1db86f188 drivers: nrf_802154: nrf_802154_irq_init negative `prio` ZLI
This commit changes public API of `nrf_802154_irq_init` to allows
passing negative values of `prio` parameter. Negative values will
be used to encode ZLI priority.

Signed-off-by: Andrzej Kuros <andrzej.kuros@nordicsemi.no>
2022-02-03 11:22:32 +01:00
Krzysztof Chruscinski 077031bf6e drivers: nrf_802154: Use header defines for PPI resources
Removed a file which was intializing global variables with
mask of PPI resources used by the ieee802154 radio driver.
nrfx is using macro masks directly.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-12-02 08:30:59 +01:00
Paweł Kwiek 00fd2aa97a drivers: nrf_802154: Enable external temperature platform
Enable use of external temperature platform by removing default
implementaion.

Signed-off-by: Paweł Kwiek <pawel.kwiek@nordicsemi.no>
2021-07-23 09:27:14 +02:00
Jedrzej Ciupis d979c8dc31 drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit adds the following:
- double-buffered encryption
- transmit API modifications
- extended support for retransmissions
- robust Enh-Ack generation

sdk-nrf-802154 commit: 17d8d2bb651c42a513f8463b120bab387ab89588

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-07-19 11:46:52 +02:00
Rafał Kuźnia 74b3b21f60 drivers: nrf_802154: Update the IEEE 802.15.4 component
This change adds the following:
- Thread link metric injection support
- key management API
- frame encryption and frame counter injection
- retransmission API

sdk-nrf-802154 commit: 6ed86a9af2a3b2c6d5a9ee5ae88497464f2a57d3

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2021-06-09 13:39:50 +02:00
Jedrzej Ciupis 9bd5891e3c drivers: nrf_802154: Update the IEEE 802.15.4 component
This commit updates the nRF 802.15.4 radio driver to feature
the latest changes.

sdk-nrf-802154 commit: 9307dc01053c7f4ddb3081984a72a6d454ec8681

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-05-06 11:54:24 +02:00
Rafał Kuźnia fc301b9758 drivers: use new IEEE 802.15.4 subsystem integration scheme
This commit introduces new scheme for integrating nRF IEEE 802.15.4
radio driver with Zephyr project.

nrf_802154 commit: c89637d597d81ae2b2a5b5bf18f0ba9c51912380

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2021-03-31 17:08:23 +02:00
Rafał Kuźnia 46b65a5a6e drivers: Update IEEE 802.15.4 subsystem
IEEE 802.15.4 subsystem revisions:
nrf_radio_802154: 1c4a05fdc6677a46e9b17796209adfb90bfc4f25
nrf_802154_sl_opensource: 5d163dfaa96dfa1d542ddd3587f83110e184902c
nrf_802154_serialization: 1c66db451bf009c049504662049efa2a1ce8c73e

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2021-03-05 11:25:58 +01:00
Rafał Kuźnia c8f03de563 build: Fix long path build problem on Windows
The paths to nrf_802154_serialization could have previously
exceeded the Windows limit on the path name, causing the build
to fail.

The zephyr_library() autogenerate library names, which may result
in very long build paths. Naming the library manually works around
this problem.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
2021-02-19 10:49:43 +01:00
Jedrzej Ciupis f3434da644 drivers: Extend API to check capabilities in run-time
To ensure seamless integration of different variants of the 802.15.4
driver, this commit introduces a possibility to check for capabilities
in run-time. This way, the integration layer does not have to hardcode
them.

nrf_radio_802154:         3b8936c141e8d3af39b564803612f0416fc0d93e
nrf_802154_serialization: fc94a27d26abd79087d872518e21e4434ec4fb45
nrf_802154_sl_opensource: 2966ae8b4b3fcf2b64d8b987703cbf4ecc0dd60b

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-02-09 19:10:50 +01:00
Jedrzej Ciupis 7797f781d2 drivers: nrf_802154_serialization: Fix race conditions
The key-value map module currently does not protect the memory it stores
the map in from concurrent accesses. That leads to multiple race
conditions where elements in the map are modified from different
contexts at the same time. This commit makes all API functions of the
kvmap module execute within a critical section, which prevents
preemptions.

nrf_802154_serialization: 7b5f15aafdb2078ab0a832aa09030b90eec42dc2

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-02-09 19:10:50 +01:00
Hubert Miś a2e3b69da9 drivers: Update IEEE 802.15.4 subsystem
This commit updates the IEEE 802.15.4 subsystem to the
following commits:
nrf_radio_802154: 3f3f5cf974487e41c0433e807ea2e61a1b3374e6
nrf_802154_sl_opensource: 78a857f6ad696c7aa3d3112b3ae49d92db453b82
nrf_802154_serialization: 9baba9fd7ca18fe3cf204e8609308e36090754e9

Signed-off-by: Hubert Miś <hubert.mis@nordicsemi.no>
2021-02-03 19:44:27 +01:00
Adam Zelik e34f5d9bc0 drivers: nrf_radio_802154: Enable 802.15.4 resources validation
Provides bit masks which are intended for use in the nrfx_glue.h
to mark the (D)PPI channels used by the 802.15.4 driver as occupied
and thus unavailable for allocation through nrfx_ppi.

Verification if resources used by the 802.15.4 driver do not overlap
with those used by the mpsl (if mpsl enabled).

Signed-off-by: Adam Zelik <adam.zelik@nordicsemi.no>
2021-02-03 16:49:10 +01:00
Jedrzej Ciupis f0d54d8449 drivers: nrf_802514_serialization: Fix unused function warning
This commit removes an unused function and fixes related warning.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-01-25 13:32:30 +01:00
Hubert Miś 74e4ab0185 drivers: 802154_serialization: Update RPMsg Service include path
Signed-off-by: Hubert Miś <hubert.mis@nordicsemi.no>
2021-01-19 19:33:16 +01:00
Hubert Miś 750df48f32 drivers: 802154_serialization: Use RPMsg Service as serialization backed
RPMsg Service allows registering multipe endpoints. Using this
module as serialization backend enables new use cases and simplifies
maintenance of the serialization component.

Co-authored-by: Pawel Kwiek <pawel.kwiek@nordicsemi.no>
Signed-off-by: Hubert Miś <hubert.mis@nordicsemi.no>
2021-01-19 16:40:14 +01:00
Pawel Kwiek 9b3a4bc5ad drivers: Add CMake file list variables for IEEE 802.15.4
This commit introduces file list variables providing an abstraction for
files required for IEEE 802.15.4 driver to be built.

Signed-off-by: Pawel Kwiek <pawel.kwiek@nordicsemi.no>
2021-01-13 15:34:43 +01:00
Adam Zelik db3d1ae2b8 drivers: nrf_radio_802154: Add callout for custom initialization part
This commit introduces nrf_802154_custom_part_of_radio_init callout.
Application can override weak empty implementation to provide some additional
operations to be performed at the beginning of each new timeslot.

Signed-off-by: Adam Zelik <adam.zelik@nordicsemi.no>
2021-01-07 16:36:10 +01:00
Pawel Kwiek 8e132fee97 drivers: Fix several radio driver related bugs
Fix #1:
Transmission failure would cause to leave an allocated buffer resulting
in a serialization failure leading to an assert, which was seen as a
timeout error on APP core side.

Fix #2:
It is possible for nrf_802154_spinel_send function to be preempted
resulting in the static frame buffer being reused. The buffer size was
reduced accordingly to 802.15.4 frame size and possible additional data.

Fix #3:
Radio driver's API call using serialization can be preempted after
issuing a serialized call request to NET core, but before preparing
the notifier for an awaited property. This results in receiving a
property that no one waits for and dropping the property as an unwanted.
In current implementation the awaited property is prepared during the
notifier lock.

Re-fix #4:
The issue which manifests itself in disabled NVIC interrupts in SED
roles.

Signed-off-by: Pawel Kwiek <pawel.kwiek@nordicsemi.no>
2020-12-16 15:37:42 +01:00
Jedrzej Ciupis 7430036d4f drivers: nrf_802154_sl_opensource: Fix naming in FEM implementation
This commit fixes naming issues introduced in the MPSL FEM API
implementation in the previous commits.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2020-12-08 12:48:02 +01:00
Jedrzej Ciupis b94fe9280c drivers: nrf_802154_sl_opensource: Introduce MPSL FEM support
This commit replaces 802.15.4-specific FEM implementation with stubbed
MPSL FEM API implementation.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2020-12-07 15:42:43 +01:00
Jedrzej Ciupis e1950ce2b2 drivers: nrf_radio_802154: Introduce MPSL FEM support
This commit replaces calls to 802.15.4-specific implementation of FEM
with calls to MPSL FEM API.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2020-12-07 15:42:43 +01:00
Czeslaw Makarski 6d5e27d099 drivers: nrf_802154_sl_opensource: Tune RSCH priority handling
This PR fixes the issue which manifests itself in disabled
NVIC interrupts in SED roles.

Signed-off-by: Czeslaw Makarski <Czeslaw.Makarski@nordicsemi.no>
2020-12-07 10:36:41 +01:00
Jedrzej Ciupis 665cfbbb96 drivers: nrf_802154_sl_opensource: Restore hp_timer 32-bit width
NRF_TIMER0 used in nRF 802.15.4 hp_timer platform example implementation
must be configured to 32-bit width before every use in order for
hp_timer to work correctly.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2020-12-03 15:24:57 +01:00
Lukasz Maciejonczyk f12536cbfb drivers: Fix deadlock in IPC communication
IPM callback make use of system work queue. If an application makes
a radio request also from system work queue the deadlock occures.
This commit fixes the bug by using dedicated work queue for IPM
callbacks.

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
2020-12-01 13:11:32 +01:00
Czeslaw Makarski d7b3b6e3ce drivers: Fix warning and linker errors in debug build
This commit fixes warning in IEEE 802.15.4 nRF Radio Driver
and linker error in debug build of IEEE 802.15.4 nRF Service
Layer.

Signed-off-by: Czeslaw Makarski <Czeslaw.Makarski@nordicsemi.no>
2020-11-17 09:57:58 +01:00
Jedrzej Ciupis 56d219e831 drivers: Add support for IEEE 802.15.4 on nRF5340
This commit introduces support for single-protocol IEEE 802.15.4
operations on nRF5340.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2020-11-13 16:03:51 +01:00
Czeslaw Makarski 23647c00af drivers: nrf_radio_802154: Introduce v1.9 of the Radio Driver
This commit introduces the Radio Driver v1.9

Signed-off-by: Czeslaw Makarski <Czeslaw.Makarski@nordicsemi.no>
2020-11-13 16:03:51 +01:00
Czeslaw Makarski b86b613398 drivers: nrf_802154_sl_opensource: Introduce nRF IEEE 802.15.4 Opensource Service Layer
This PR introduces the nRF IEEE 802.15.4 Opensource Service Layer

Signed-off-by: Czeslaw Makarski <Czeslaw.Makarski@nordicsemi.no>
2020-11-13 16:03:51 +01:00