[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181224153205.ycr2zdrjbyklulfh@x220t>
Date: Mon, 24 Dec 2018 10:32:05 -0500
From: Alexander Aring <aring@...atatu.com>
To: Xue Liu <liuxuenetmail@...il.com>
Cc: Andreas Färber <afaerber@...e.de>,
Jian-Hong Pan <starnight@...cu.edu.tw>,
"David S . Miller" <davem@...emloft.net>,
Alan Cox <gnomes@...rguk.ukuu.org.uk>,
linux-lpwan@...ts.infradead.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Marcel Holtmann <marcel@...tmann.org>,
Dollar Chen <dollar.chen@...ec.com>,
Ken Yu <ken.yu@...wireless.com>,
linux-wpan - ML <linux-wpan@...r.kernel.org>
Subject: Re: [PATCH v5 6/6] net: lorawan: List LORAWAN in menuconfig
Hi,
On Tue, Dec 18, 2018 at 02:50:58PM +0100, Xue Liu wrote:
> Hello Andreas,
>
> On Mon, 17 Dec 2018 at 15:19, Andreas Färber <afaerber@...e.de> wrote:
> >
> > Hello Xue Liu,
> >
> > Am 17.12.18 um 09:50 schrieb Xue Liu:
> > > 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" ?
> >
> > I had asked Jian-Hong to separate between his soft-MAC implementation
> > and the common bits needed to drive hard-MAC implementations found on
> > several of the hardware modules made available to me.
> >
> As a reference Linux 802.11 uses cfg80211 to talk with hard-MAC devices.
> We may also use the name “cfglora” for hard-MAC implementation.
>
There exists also a cfg802154. :-)
Note that cfg80211 is also for providing a backwardscompatibility to the
wireless ioctl() interface.
In theory it's simple:
netlink API -> SoftMAC (macFOOBAR layer) -> cfgFOOBAR implementation -> driver layer
\-> HardMAC (driver layer) -> cfgFOOBAR implementation
The "difficult" part is providing one userspace interface for both
either SoftMAC layer and all HardMAC drivers.
There both maintainers need to be synchronized.
As a side note I want to mention that the 802.15.4 subsystem supports
currently a HardMAC transceiver in the SoftMAC layer. We don't have
quite HardMAC support yet but are somehow prepared according the
wireless architecture above.
The people who did that didn't wanted to investigate time to implement a
whole HardMAC layer, as I told them when we support more in the SoftMAC
layer it will break their transceiver... so they was fine with that as
warning it seems. :-)
- Alex
Powered by blists - more mailing lists