zephyr/modules/openthread/platform
Florian Grandel f1e9dd2930 drivers: ieee802154: properly announce promisc mode
Most IEEE 802.15.4 drivers do not support promiscuous mode, some do.
There is a dedicated L2 flag to signal this capability to clients.

Unfortunately the IEEE 802.15.4 L2 stack does not announce this flag
even for drivers that correctly expose it in their HW capabilities.
Some clients (notably the OpenThread L2) even uses promiscuous mode
without checking whether the driver actually supports it.

This change lets the vanilla IEEE 802.15.4 L2 check the driver's
HW capabilities to announce promiscuous mode on its 'get_flags()'
interface if supported.

The OpenThread L2 uses a constant (potentially incorrect) response
to 'get_flags()'. Fixing the OpenThread L2 is out of scope of this
change. This change just introduces TODO messages to the OpenThread code
so that the OpenThread team may fix the issue (or delete the TODO if they
deem it irrelevant).

Fixes: #51263

Signed-off-by: Florian Grandel <jerico.dev@gmail.com>
2022-10-17 16:54:37 +02:00
..
CMakeLists.txt
alarm.c net: openthread: priortize usec timer for openthread port. 2022-09-12 10:54:56 +00:00
crypto_psa.c
diag.c
entropy.c devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
logging.c
memory.c
misc.c
openthread-core-zephyr-config.h net: openthread: add option for optimizing large packet transmission 2022-08-30 10:26:02 +02:00
platform-zephyr.h
platform.c
radio.c drivers: ieee802154: properly announce promisc mode 2022-10-17 16:54:37 +02:00
settings.c
shell.c
spi.c
uart.c