Hi Marcel, On Mon, Dec 29, 2014 at 10:18:32PM -0800, Marcel Holtmann wrote: > Hi Alex, > > > This patch series contains structural changes according the ieee802154 > > directory. The current situation is that this directory contains stuff > > about ieee802154 6lowpan, ieee802154 address family and netlink interface. > > This patch series introduce now sub directories for 6lowpan and af802154 > > implementation to getting a better overview about these implementations. > > The ieee802154 directory contains stuff for nl802154, netlink and sysfs > > only. > > > > Alexander Aring (5): > > ieee802154: create af802154 sub-directory > > ieee802154: af802154: rename internal header > > ieee802154: af802154: rename af_ieee802154 to core > > ieee802154: create 6lowpan sub-directory > > ieee802154: 6lowpan: rename internal header > > > > net/ieee802154/{reassembly.h => 6lowpan/6lowpan_i.h} | 6 +++--- > > net/ieee802154/{ => 6lowpan}/6lowpan_rtnl.c | 2 +- > > net/ieee802154/6lowpan/Makefile | 3 +++ > > net/ieee802154/{ => 6lowpan}/reassembly.c | 2 +- > > net/ieee802154/Makefile | 6 ++---- > > net/ieee802154/af802154/Makefile | 3 +++ > > net/ieee802154/{af802154.h => af802154/af802154_i.h} | 6 +++--- > > net/ieee802154/{af_ieee802154.c => af802154/core.c} | 2 +- > > net/ieee802154/{ => af802154}/dgram.c | 2 +- > > net/ieee802154/{ => af802154}/raw.c | 2 +- > > 10 files changed, 19 insertions(+), 15 deletions(-) > > rename net/ieee802154/{reassembly.h => 6lowpan/6lowpan_i.h} (85%) > > rename net/ieee802154/{ => 6lowpan}/6lowpan_rtnl.c (99%) > > create mode 100644 net/ieee802154/6lowpan/Makefile > > rename net/ieee802154/{ => 6lowpan}/reassembly.c (99%) > > create mode 100644 net/ieee802154/af802154/Makefile > > rename net/ieee802154/{af802154.h => af802154/af802154_i.h} (93%) > > rename net/ieee802154/{af_ieee802154.c => af802154/core.c} (99%) > > rename net/ieee802154/{ => af802154}/dgram.c (99%) > > rename net/ieee802154/{ => af802154}/raw.c (99%) > > the move of the 6lowpan stuff into net/ieee802154/6lowpan/ I can understand. That should be an optional piece. And I assume for 802.15.4 the 6LoWPAN support is more complex since it has to do segmentation and reassembly. > ok. > The net/ieee802154/af802154/ part seems pointless to me. What is this trying to achieve? I see that you can build af_802154.ko as a separate module. Which is something that I have not realized until now. So this is something that is intentional. So having ieee802154.ko and ieee802154_6lowpan.ko by itself without the socket is something that is functional? > Yes, the address family functionality can be a separate module. ieee802154_6lowpan.ko doesn't depends on the address family functionality. If only ieee802154.ko would built without address family and ieee802154_6lowpan.ko then it might be used for receiving monitor mode. I would change that but add a "default y" to the address family module. > If so, I find the naming of af_802154.ko and net/ieee802154/af802154/ rather complicated and convoluted. Would ieee802154_socket.ko net/ieee802154/socket/ not something more logical split in this regard? > Don't know, I would keep the naming style to avoid confusing current users. On the other hand, I think there are not many users outside and I like the name socket. Many people knows sockets and doesn't know what a (socket) "address family" is. I will send a second version of this patch series according these changes. - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html