mirror of
https://github.com/apache/nuttx.git
synced 2026-09-23 07:14:28 +08:00
Merged in antmerlino/nuttx/mac802154_ackhandling (pull request #619)
mac802154: Adds ackreq flag to TX descriptor for use by radio driver. The radio layer is responsible for a full "transaction". Because of differences in radio capabilites, the radio must be responsible for the handling of acks and retransmissions. This commit simply passes the ackreq meta-data flag along to the radio. Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
62e89e0f8d
commit
ec4bb7b990
@@ -84,6 +84,7 @@ struct ieee802154_txdesc_s
|
||||
|
||||
enum ieee802154_frametype_e frametype;
|
||||
|
||||
bool ackreq; /* Are we requesting an ACK? */
|
||||
bool framepending; /* Did the ACK have the frame pending bit set */
|
||||
uint32_t purgetime; /* Time to purge transaction */
|
||||
uint8_t retrycount; /* Number of remaining retries. Set to macMaxFrameRetries
|
||||
|
||||
Reference in New Issue
Block a user