zephyr/samples/net
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
..
cloud net: samples: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
common license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dhcpv4_client cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
dns_resolve cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
eth_native_posix cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
gptp samples: net: gptp: Remove Kconfig MAC address for sam_e70_xplained 2020-03-31 08:08:29 -05:00
gsm_modem samples: net: gsm_modem: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
ipv4_autoconf cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
lldp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
lwm2m_client samples: lwm2m_client: Convert to new DT_INST macros 2020-03-30 16:40:01 -05:00
mdns_responder cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mqtt_publisher cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
openthread/ncp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
promiscuous_mode cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
sockets samples/net: Enable power management statistics for frdm k64f 2020-04-02 11:07:45 +03:00
stats cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
syslog_net cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
telnet cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
updatehub lib: updatehub: Fix buffer sizes 2020-03-30 16:54:29 +03:00
vlan cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
wifi samples: net: wifi: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
wpan_serial net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
wpanusb net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
zperf cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
net.rst