linux-wpan.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 bluetooth-next 0/2] ieee802154: multiple lowpan interface support and fix mac setting
@ 2015-07-31 11:11 Alexander Aring
  2015-07-31 11:11 ` [PATCHv2 bluetooth-next 1/2] ieee802154: 6lowpan: remove multiple lowpan support Alexander Aring
  2015-07-31 11:11 ` [PATCHv2 bluetooth-next 2/2] mac802154: fix wpan mac setting while lowpan is there Alexander Aring
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Aring @ 2015-07-31 11:11 UTC (permalink / raw)
  To: linux-wpan; +Cc: kernel, Alexander Aring

Hi,

this patch series contains two patches. At first we remove the multiple
lowpan interface support. I don't see any use case for that, if somebody
has an use case for it. Please report your use case.

Currently it's broken to update the wpan mac address while having a lowpan
interface on the top. The first patch will introduce some easy mechanism
to access the lowpan interface inside the lower mac802154 layer. When the
mac802154 changes the mac address then it will updated also on the lowpan
interface, if the wpan interface belongs to a lowpan interface.

Another idea would be maybe to react on the lowpan_device_event, when a
wpan interface updates his address, but this doesn't work because the
lowpan interface need to be down to update the mac setting, otherwise the
SLAAC address will not be updated.

- Alex

changes since v2:
 - fix handling in patch 2/2 that we will check at first that the lowpan
   interface is down. Otherwise we had return -EBUSY and wpan interface
   address was updated and not the lowpan interface address.
 - change subject at patch 2/2 from "fix wpan mac setting while lowpan" to
   "fix wpan mac setting while lowpan is there". I don't use "up", because
   it was broken before, doesn't matter if the interface was up or down.
 - add several tested-by and reviewed-by tags

Alexander Aring (2):
  ieee802154: 6lowpan: remove multiple lowpan support
  mac802154: fix wpan mac setting while lowpan is there

 include/net/cfg802154.h            |  3 ++
 net/ieee802154/6lowpan/6lowpan_i.h |  6 ----
 net/ieee802154/6lowpan/core.c      | 67 +++++++++++---------------------------
 net/ieee802154/6lowpan/rx.c        | 38 +++++----------------
 net/mac802154/iface.c              | 15 +++++++++
 5 files changed, 45 insertions(+), 84 deletions(-)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-01  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 11:11 [PATCHv2 bluetooth-next 0/2] ieee802154: multiple lowpan interface support and fix mac setting Alexander Aring
2015-07-31 11:11 ` [PATCHv2 bluetooth-next 1/2] ieee802154: 6lowpan: remove multiple lowpan support Alexander Aring
2015-08-01  0:34   ` Michael Richardson
2015-08-01  8:46     ` Alexander Aring
2015-07-31 11:11 ` [PATCHv2 bluetooth-next 2/2] mac802154: fix wpan mac setting while lowpan is there Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).