zephyr/tests/subsys
Florian Grandel 1ee4d3ed77 net: l2: ieee802154: document L1/L2 sep. of concerns
The method ieee802154_radio_handle_ack() does not belong to the
PHY/radio layer but to the L2 layer. It is a callback called from the
radio layer into the L2 layer and to be implemented by all L2 stacks.
This is the same pattern as is used for ieee802154_init(). The
'_radio_' infix in this function is therefore confusing and
conceptually wrong.

This change fixes the naming inconsistency and extensively documents
its rationale.

It is assumed that the change can be made without prior deprecation of the
existing method as in the rare cases where users have implemented custom
radio drivers these will break in obvious ways and can easily be fixed.

Nevertheless such a rename would not be justified on its own if it were
not for an important conceptual reason:

The renamed function represents a generic "inversion-of-control" pattern
which will become important in the TSCH context: It allows for clean
separation of concerns between the PHY/radio driver layer and the
MAC/L2 layer even in situations where the radio driver needs to be
involved for performance or deterministic timing reasons. This
"inversion-of-control" pattern can be applied to negotiate timing
sensitive reception and transmission windows, it let's the L2 layer
deterministically timestamp information elements just-in-time with
internal radio timer counter values, etc.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2023-06-17 16:20:21 -04:00
..
canbus/isotp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
debug tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00
dfu samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
dsp/basicmath samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
edac samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
emul emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
fs tests: use integration_platforms where applicable 2023-05-26 17:52:02 -04:00
input samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ipc/ipc_service
jwt
logging tests/samples: set ram/rom limits on some samples/tests 2023-06-13 09:38:27 -04:00
mgmt tests: mcumgr: update tags 2023-06-07 05:41:31 -04:00
modbus tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00
openthread net: l2: ieee802154: document L1/L2 sep. of concerns 2023-06-17 16:20:21 -04:00
pm tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00
portability tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00
rtio/rtio_api tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00
sd samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
settings samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
shell samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
storage samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
testsuite/fff_fake_contexts samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
tracing/tracing_api
usb iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
zbus tests: samples: cleanup test tags, add integration_platforms 2023-06-02 04:47:06 -04:00