gnrc_netif.h: add lorawan component

This commit is contained in:
Jose Alamos 2019-03-07 17:09:55 +01:00
parent a70b1858c4
commit e03f7278bc

View File

@ -34,6 +34,9 @@
#include "net/gnrc/netapi.h"
#include "net/gnrc/pkt.h"
#include "net/gnrc/netif/conf.h"
#ifdef MODULE_GNRC_LORAWAN
#include "net/gnrc/netif/lorawan.h"
#endif
#ifdef MODULE_GNRC_SIXLOWPAN
#include "net/gnrc/netif/6lo.h"
#endif
@ -76,6 +79,9 @@ typedef struct {
#ifdef MODULE_NETSTATS_L2
netstats_t stats; /**< transceiver's statistics */
#endif
#if defined(MODULE_GNRC_LORAWAN) || DOXYGEN
gnrc_netif_lorawan_t lorawan; /**< LoRaWAN component */
#endif
#if defined(MODULE_GNRC_IPV6) || DOXYGEN
gnrc_netif_ipv6_t ipv6; /**< IPv6 component */
#endif