zephyr/drivers
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
..
adc coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
audio drivers: audio: mpxxdtyy: Convert to new DT_INST macros 2020-03-26 11:55:52 -05:00
bluetooth drivers: bluetooth: hci: spi: Convert to new DT_INST macros 2020-03-30 14:49:27 -05:00
can kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
clock_control drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
console timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
counter drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
crypto drivers: stm32: Convert STM32 drivers to new DT_INST macros 2020-03-26 12:22:12 -05:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
dma drivers: dma: sam0: fix macro definition 2020-03-30 08:32:17 -05:00
eeprom global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
entropy drivers: entropy: Add DTS support to native-posix fake entropy driver 2020-04-02 06:42:26 -05:00
espi timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
ethernet coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
flash timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
gpio drivers: gpio: cmsdk_ahb: Convert driver to be full DTS based 2020-04-03 04:11:36 -05:00
hwinfo drivers: litex: Convert litex drivers to new DT_INST macros 2020-03-30 12:49:43 -05:00
i2c drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
i2s kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
ieee802154 net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
interrupt_controller drivers: intc: intc_shared_irq: Convert to new DT_INST macros 2020-03-30 14:39:56 -05:00
ipm drivers: ipm: ipm_mhu: Fix typo bug in IRQ_CONNECT 2020-03-31 19:28:47 -05:00
kscan drivers: kscan: add support for the interrupt on the ft5336 2020-04-02 16:48:15 -05:00
led timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
led_strip drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
lora coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
modem coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
net net: Enable PM settings on network devices 2020-03-27 14:48:30 +02:00
neural_net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pcie global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
peci drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
pinmux drivers: pinmux: stm32: add pin for UART5 on H7 series 2020-03-30 12:58:10 -05:00
ps2 drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
ptp_clock kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pwm drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
sensor coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
serial drivers: serial: sifive: use DT_INST_LABEL macro 2020-04-02 16:54:43 -05:00
spi drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
timer driver: timer: st_stm32: fix build with the new timeout API 2020-04-02 10:22:10 +02:00
usb drivers: usb: usb_dw: Convert to new DT_INST macros 2020-03-30 08:29:30 -05:00
video kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
watchdog drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
wifi coccinelle: re-run timeout conversion semantic patch 2020-04-02 19:47:51 +03:00
CMakeLists.txt drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00
Kconfig drivers: peci: Add Kconfig for PECI driver 2020-03-13 18:53:04 +02:00