1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

drivers/netdev: revise return values of .confirm_send()

This commit is contained in:
Benjamin Valentin 2024-11-15 14:16:37 +01:00
parent 77c4a24bcf
commit dbd52079e1

View File

@ -468,10 +468,12 @@ typedef struct netdev_driver {
* frame delimiters, etc. May be an estimate for performance * frame delimiters, etc. May be an estimate for performance
* reasons.) * reasons.)
* @retval -EAGAIN Transmission still ongoing. (Call later again!) * @retval -EAGAIN Transmission still ongoing. (Call later again!)
* @retval -ECOMM Any kind of transmission error, such as collision * @retval -EHOSTUNREACH Layer 2 ACK timeout
* detected, layer 2 ACK timeout, etc. * @retval -EBUSY Medium is busy. (E.g. Auto-CCA failed / timed out,
* collision detected)
* @retval -ENETDOWN Interface is not connected / powered down
* @retval -EIO Any kind of transmission error
* Use @p info for more details * Use @p info for more details
* @retval -EBUSY Medium is busy. (E.g. Auto-CCA failed / timed out)
* @retval <0 Other error. (Please use a negative errno code.) * @retval <0 Other error. (Please use a negative errno code.)
* *
* @warning After netdev_driver_t::send was called and returned zero, this * @warning After netdev_driver_t::send was called and returned zero, this