ieee 802.15.4: Add a pool-based memory allocator for RX frame meta-data.

This commit is contained in:
Gregory Nutt
2017-05-05 12:50:34 -06:00
parent 0eb7ec046e
commit 3fcdc28a59
6 changed files with 468 additions and 0 deletions
@@ -652,10 +652,13 @@ struct ieee802154_data_conf_s
struct ieee802154_data_ind_s
{
FAR struct ieee802154_data_ind_s *flink;
struct ieee802154_addr_s src; /* Source addressing information */
struct ieee802154_addr_s dest; /* Destination addressing infromation */
uint8_t lqi; /* Link Quality Index */
uint8_t dsn; /* Data Sequence Number */
uint8_t pool; /* Memory pool (Needed for deallocation) */
uint32_t timestamp; /* Time of received frame */
#ifdef CONFIG_IEEE802154_SECURITY