6lowpan: move shared settings to lowpan_netdev_setup
authorAlexander Aring <alex.aring@gmail.com>
Fri, 2 Oct 2015 18:28:04 +0000 (20:28 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Oct 2015 12:25:34 +0000 (14:25 +0200)
commit4d6a6aed22f91b35c14a6717d42953f260090175
treea46218f707707855d768261f1a18da7f7da3d386
parent26d46dffbe2cd0a023aa6192708f80cd796af107
6lowpan: move shared settings to lowpan_netdev_setup

This patch moves values for all lowpan interface to the shared
implementation of 6lowpan. This patch also quietly fixes the forgotten
IFF_NO_QUEUE flag for the bluetooth 6LoWPAN interface. An identically
commit is 4afbc0d ("net: 6lowpan: convert to using IFF_NO_QUEUE") which
wasn't changed for bluetooth 6lowpan.

All 6lowpan interfaces should be virtual with IFF_NO_QUEUE, using EUI64
address length, the mtu size is 1280 (IPV6_MIN_MTU) and the netdev type
is ARPHRD_6LOWPAN.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/6lowpan.h
net/6lowpan/core.c
net/bluetooth/6lowpan.c
net/ieee802154/6lowpan/core.c