From e03f7278bc3e7c3fc5c4612831113bc538ebc74e Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Thu, 7 Mar 2019 17:09:55 +0100 Subject: [PATCH] gnrc_netif.h: add lorawan component --- sys/include/net/gnrc/netif.h | 6 ++++++ 1 file changed, 6 insertions(+) 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