zephyr/tests/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
..
6lo cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
all cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
arp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
buf cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
checksum_offload cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
context net: tests: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
dhcpv4 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ethernet_mgmt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
hostname cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
icmpv4 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
icmpv6 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ieee802154 net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
iface cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ip-addr cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ipv6 net: tests: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
ipv6_fragment cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
lib net: mqtt: Improve PUBLISH message length validation 2020-03-28 09:36:12 +02:00
mgmt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mld net: tests: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
neighbor cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
net_pkt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ppp/driver cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
promiscuous cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ptp/clock cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
route cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
shell cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
socket cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
tcp net: tests: Fix timeout passed to k_sleep() 2020-04-01 20:03:15 +03:00
traffic_class cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
trickle cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
tx_timestamp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
udp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
utils cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
vlan cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00