Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig

From: Xue Liu
Date: Mon Dec 17 2018 - 03:50:54 EST


Hello Jian-Hong,

Thanks for your work in LoRaWAN.
I have a question about the architecture of your module. AFAIK LoRaWAN
is already the MAC Layer above the LoRa technology. Why do you want to
make a new layer called "maclorawan" ?

Regards,

Xue Liu


On Sun, 16 Dec 2018 at 11:20, Jian-Hong Pan <starnight@xxxxxxxxxxxx> wrote:
>
> List LORAWAN and MACLORAWAN in menuconfig and make they can be built.
>
> Signed-off-by: Jian-Hong Pan <starnight@xxxxxxxxxxxx>
> ---
> V2:
> - Split the LoRaWAN class module patch in V1 into LoRaWAN socket and
> LoRaWAN Soft MAC modules
>
> net/Kconfig | 2 ++
> net/Makefile | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/net/Kconfig b/net/Kconfig
> index cf2e651ee31d..03b3ff306778 100644
> --- a/net/Kconfig
> +++ b/net/Kconfig
> @@ -224,6 +224,8 @@ source "net/6lowpan/Kconfig"
> source "net/ieee802154/Kconfig"
> source "net/mac802154/Kconfig"
> source "net/lora/Kconfig"
> +source "net/lorawan/Kconfig"
> +source "net/maclorawan/Kconfig"
> source "net/sched/Kconfig"
> source "net/dcb/Kconfig"
> source "net/dns_resolver/Kconfig"
> diff --git a/net/Makefile b/net/Makefile
> index e80b84313851..9d5515965a8f 100644
> --- a/net/Makefile
> +++ b/net/Makefile
> @@ -63,6 +63,8 @@ obj-$(CONFIG_6LOWPAN) += 6lowpan/
> obj-$(CONFIG_IEEE802154) += ieee802154/
> obj-$(CONFIG_MAC802154) += mac802154/
> obj-$(CONFIG_LORA) += lora/
> +obj-$(CONFIG_LORAWAN) += lorawan/
> +obj-$(CONFIG_MACLORAWAN) += maclorawan/
>
> ifeq ($(CONFIG_NET),y)
> obj-$(CONFIG_SYSCTL) += sysctl_net.o
> --
> 2.20.0
>


--