mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Merged in merlin17/nuttx/ieee802154 (pull request #351)
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
@@ -78,6 +78,7 @@ struct mac802154dev_txframe_s
|
||||
{
|
||||
struct ieee802154_frame_meta_s meta;
|
||||
FAR uint8_t *payload;
|
||||
uint16_t length;
|
||||
};
|
||||
|
||||
#endif /* CONFIG_WIRELESS_IEEE802154 */
|
||||
|
||||
@@ -585,15 +585,6 @@ struct ieee802154_frame_meta_s
|
||||
|
||||
uint8_t msdu_handle; /* Handle assoc. with MSDU */
|
||||
|
||||
/* Number of bytes contained in the MAC Service Data Unit (MSDU)
|
||||
* to be transmitted by the MAC sublayer entity
|
||||
* Note: This could be a uint8_t but if anyone ever wants to use
|
||||
* non-standard frame lengths, they may want a length larger than
|
||||
* a uint8_t.
|
||||
*/
|
||||
|
||||
uint16_t msdu_length;
|
||||
|
||||
struct
|
||||
{
|
||||
uint8_t ack_tx : 1; /* Acknowledge TX? */
|
||||
|
||||
Reference in New Issue
Block a user