diff --git a/sys/include/net/gnrc/netif.h b/sys/include/net/gnrc/netif.h index cf73747852..53225b0230 100644 --- a/sys/include/net/gnrc/netif.h +++ b/sys/include/net/gnrc/netif.h @@ -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