zephyr/samples
Robert Lubos 1fb418df4c net: ieee802154_radio: Allow to specify TX mode
Even though radio driver can report in its capabilities that it does
support CSMA CA, there's no way in the driver to select how the frame
should be transmitted (with CSMA or without). As layers above radio
driver (Thread, Zigbee) can expect that both TX modes are available, we
need to extend the API to allow either of these modes.

This commits extends the API `tx` function with an extra parameter,
`ieee802154_tx_mode`, which informs the driver how the packet should be
transmitted. Currently, the following modes are specified:
* direct (regular tx, no cca, just how it worked so far),
* CCA before transmission,
* CSMA CA before transmission,
* delayed TX,
* delayed TX with CCA

Assume that radios that reported CSMA CA capability transmit in CSMA CA
mode by default, all others will support direct mode.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-04-03 14:07:41 +03:00
..
application_development cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
basic coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
bluetooth Bluetooth: samples: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
boards timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
cpp_synchronization kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
display timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
drivers coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
hello_world cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mpu cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
net net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
nfc/nfc_hello timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
philosophers timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
portability cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
posix cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
scheduler kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
sensor samples: sensor: sht3xd: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
shields coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
smp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
subsys samples: subsys: canbus: canopen: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
synchronization timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
testing/integration cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
userspace cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
video cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst samples: Add MetaIRQ dispatch sample 2020-02-06 23:06:28 -05:00