Skip to content

ieee802154: drop multiple lowpan support per wpan interface

Alexander Aring linux-wpan 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ieee802154: 6lowpan: remove multiple lowpan per wpan supportinclude/net/cfg802154.h net/ieee802154/6lowpan/6lowpan_i.h net/ieee802154/6lowpan/core.c +1 more+30 -860 replies
2/2mac802154: fix wpan mac setting while lowpan is therenet/mac802154/iface.c+15 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStefan Schmidt
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCHv3 bluetooth-next 0/2] ieee802154: drop multiple lowpan support per wpan interface

Hi,

this patch series contains two patches. At first we remove the multiple lowpan interface per wpan 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 v3:
- remove "extern struct list_head lowpan_devices;" in net/ieee802154/6lowpan/6lowpan_i.h
- change commit messages that we remove multiple wpan interfaces per wpan interface only. When you have two or more wpan interface you can still have multiple lowpan interfaces.

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 per wpan support
mac802154: fix wpan mac setting while lowpan is there

 include/net/cfg802154.h            |  3 ++
 net/ieee802154/6lowpan/6lowpan_i.h |  8 -----
 net/ieee802154/6lowpan/core.c      | 67 +++++++++++---------------------------
 net/ieee802154/6lowpan/rx.c        | 38 +++++----------------
 net/mac802154/iface.c              | 15 +++++++++
 5 files changed, 45 insertions(+), 86 deletions(-)
Signature · 1 line
2.5.0