Skip to contentSkip to conversation

website: add opentask section in developing

PATCH Superseded Alexander Aring 2 participants 8 messages Apr 8, 2015 – Apr 12, 2015 IEEE 802.15.4

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Alexander Aring

author maintainer
#0 lore raw

PATCH 1/1 website: add opentask section in developing

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +23 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]
+** Whatever you want and find
+* rework
+** missing features in nl802154, crypto etc.
+** new frame parsing style in mac802154 and ieee802154 based on mac80211 frame parsing design. Draft is https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c[mac802154 rx] and
+https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c[6LoWPAN]. crypto need to be done at first, otherwise I can't test it.
+** remove cb context from dev_hard_header and introduce generic header generation functions like https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/header_ops.c#L80[header_ops]. Here too, crypto need to be done at first.
+* systemd
+** add basic functionality for nl802154 and 6lowpan setup in systemd-networkd
+* devicetree extended addr setting, draft is here http://www.spinics.net/lists/linux-wpan/msg01503.html[ieee802154: add usual way to get extended address via device tree]
+* RPL? - not our job, need to go through ipv6 netdev community, but we should do something to have a "started" mainline solution.
+
 Rework
 ~~~~~~
 
Signature · 1 line
2.3.5
#1 lore raw
Quoted 26 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +10 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 144

Quoted 10 lines
website/index.txt +10 -0
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]
+** Whatever you want and find
+* rework
+** missing features in nl802154, crypto etc.
+** new frame parsing style in mac802154 and ieee802154 based on mac80211 frame parsing design. Draft is https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c[mac802154 rx] and
+https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c[6LoWPAN]. crypto need to be done at first, otherwise I can't test it.
+** remove cb context from dev_hard_header and introduce generic header generation functions like https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/header_ops.c#L80[header_ops]. Here too, crypto need to be done at first.
+* systemd
+** add basic functionality for nl802154 and 6lowpan setup in systemd-networkd

...and network-manager ?

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 146

Quoted 2 lines
website/index.txt +2 -0
+* devicetree extended addr setting, draft is here http://www.spinics.net/lists/linux-wpan/msg01503.html[ieee802154: add usual way to get extended address via device tree]
+* RPL? - not our job, need to go through ipv6 netdev community, but we should do something to have a "started" mainline solution.

Not that I'm qualified to comment on this but to me it's a very useful list since it answers some questions I was about to ask. Cheers,
-- Guido

#5 lore raw
In reply to Alexander Aring
Quoted 18 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +2 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 136

Quoted 10 lines
website/index.txt +10 -0
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]

I've started to add some tracing at:

https://github.com/agx/linux-wpan-next/commits/features/trace

will post the patch here once I've finished the rdev part. Cheers,
-- Guido

author maintainer
#2 lore raw
In reply to Guido Günther
Quoted 31 lines · Guido Günther
Quoted 30 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +14 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]
+** Whatever you want and find
+* rework
Quoted 9 lines

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 144

Quoted 6 lines
website/index.txt +6 -0
+** missing features in nl802154, crypto etc.
+** new frame parsing style in mac802154 and ieee802154 based on mac80211 frame parsing design. Draft is https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c[mac802154 rx] and
+https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c[6LoWPAN]. crypto need to be done at first, otherwise I can't test it.
+** remove cb context from dev_hard_header and introduce generic header generation functions like https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/header_ops.c#L80[header_ops]. Here too, crypto need to be done at first.
+* systemd
+** add basic functionality for nl802154 and 6lowpan setup in systemd-networkd

...and network-manager ?

ok. I recently send a Patchv2 which also includes the network-manager. Also there is an idea to simple add _one_ 6lowpan interface on a wpan interface, when ieee802154_6lowpan.ko module is loaded. This is easy to implement, question is here: "Is this a good idea or not". If somebody maybe we should do this by default and user can also disable this handling by module parameter.

Quoted 5 lines

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 146

Quoted 2 lines
website/index.txt +2 -0
+* devicetree extended addr setting, draft is here http://www.spinics.net/lists/linux-wpan/msg01503.html[ieee802154: add usual way to get extended address via device tree]
+* RPL? - not our job, need to go through ipv6 netdev community, but we should do something to have a "started" mainline solution.

Not that I'm qualified to comment on this but to me it's a very useful list since it answers some questions I was about to ask.

Thanks.

- Alex

author maintainer
#6 lore raw
In reply to Guido Günther

Hi,

Quoted 32 lines · Guido Günther
Quoted 18 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +2 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 136

Quoted 10 lines
website/index.txt +10 -0
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]

I've started to add some tracing at:

Quoted 3 lines

https://github.com/agx/linux-wpan-next/commits/features/trace

will post the patch here once I've finished the rdev part.

cool! I really like that, thanks.

One thing which I see now: You need to care about the byteorder. Don't know if there is some magic in the background which do when you say it's a __leFOO type. Otherwise you need to call __leFOO_to_cpu(xxx) before, for printouts or equals checks. For equal checks with a static value it's important to run the conversion on the static value, then it's converted at compile time.

General you can check byteorder with sparse, try to run:

make C=2 net/ieee802154/ net/mac802154/

in your kernel src tree.
(very imporant the last '/', I always forget it and then asking myself why it's not working.)

- Alex

author maintainer
#7 lore raw
Quoted 37 lines · Alexander Aring

Hi,

Quoted 34 lines · Guido Günther
Quoted 18 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +2 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 136

Quoted 10 lines
website/index.txt +10 -0
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]

I've started to add some tracing at:

https://github.com/agx/linux-wpan-next/commits/features/trace

Quoted 8 lines
Quoted 1 line

will post the patch here once I've finished the rdev part.

cool! I really like that, thanks.

One thing which I see now: You need to care about the byteorder. Don't know if there is some magic in the background which do when you say it's a __leFOO type. Otherwise you need to call __leFOO_to_cpu(xxx) before, for printouts or equals checks. For equal checks with a static value it's

printouts with hex values should also have some filled zero's before.

Example panid format string should be "0x%04x".

- Alex

#3 lore raw
In reply to Alexander Aring
Quoted 42 lines · Alexander Aring
Quoted 31 lines · Guido Günther
Quoted 30 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +14 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]
+** Whatever you want and find
+* rework
Quoted 9 lines

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 144

Quoted 6 lines
website/index.txt +6 -0
+** missing features in nl802154, crypto etc.
+** new frame parsing style in mac802154 and ieee802154 based on mac80211 frame parsing design. Draft is https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c[mac802154 rx] and
+https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c[6LoWPAN]. crypto need to be done at first, otherwise I can't test it.
+** remove cb context from dev_hard_header and introduce generic header generation functions like https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/header_ops.c#L80[header_ops]. Here too, crypto need to be done at first.
+* systemd
+** add basic functionality for nl802154 and 6lowpan setup in systemd-networkd

...and network-manager ?

Quoted 6 lines

ok. I recently send a Patchv2 which also includes the network-manager. Also there is an idea to simple add _one_ 6lowpan interface on a wpan interface, when ieee802154_6lowpan.ko module is loaded. This is easy to implement, question is here: "Is this a good idea or not". If somebody maybe we should do this by default and user can also disable this handling by module parameter.

It sounds great for 6loWPAN but I don't know what e.g. ZigBee and other users think about this. Are there any known ones?
Cheers,
-- Guido

author maintainer
#4 lore raw
Quoted 50 lines · Guido Günther
Quoted 42 lines · Alexander Aring
Quoted 31 lines · Guido Günther
Quoted 30 lines · Alexander Aring

This patch adds an open task section in developing. So maybe if somebody has too much time he/she can pick tasks from it and send patches.

---
 website/index.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
website/index.txt +14 -0
index 2f007d5..9cf2ca3 100644
@@ -122,6 +122,29 @@ All patches should be send to <[email protected]> and based on bluetoot
 For wpan-tools checkout the https://github.com/linux-wpan/wpan-tools[wpan-tools] repository. Also send patches to <[email protected]> for it with a "wpan-tools" tag.
 The same for https://github.com/linux-wpan/wpan-misc[wpan-misc].
 
+Open Tasks
+~~~~~~~~~~
+
+* There is a lot of missing features for enum definition to some string definition in iwpan which can be lookup in 802.1.54 standard. Words say more than numbers...
+** channel/page to frequency
+** cca modes/opts
+** no aret mode for max_frame_retires -1
+** etc
+* Missing features which wireless has and wpan not. Since we based our implementation on wireless we should sync "good patches" from wireless branch.
+** Something like http://www.spinics.net/lists/netdev/msg321088.html[net: nl80211 - pass name_assign_type to rdev_add_virtual_intf()]
+** trace functionality for rdev/driver_ops http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/wireless/rdev-ops.h[rdev-ops.h] and
+http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git/tree/net/mac80211/driver-ops.h[driver-ops.h]
+** Whatever you want and find
+* rework
Quoted 9 lines

website/index.txt All patches should be send to <[email protected]> and based on bluetoot · line 144

Quoted 6 lines
website/index.txt +6 -0
+** missing features in nl802154, crypto etc.
+** new frame parsing style in mac802154 and ieee802154 based on mac80211 frame parsing design. Draft is https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/mac802154/rx.c[mac802154 rx] and
+https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/6lowpan/rx.c[6LoWPAN]. crypto need to be done at first, otherwise I can't test it.
+** remove cb context from dev_hard_header and introduce generic header generation functions like https://github.com/linux-wpan/linux-wpan-next/blob/wpan_rework_rfc/net/ieee802154/header_ops.c#L80[header_ops]. Here too, crypto need to be done at first.
+* systemd
+** add basic functionality for nl802154 and 6lowpan setup in systemd-networkd

...and network-manager ?

Quoted 6 lines

ok. I recently send a Patchv2 which also includes the network-manager. Also there is an idea to simple add _one_ 6lowpan interface on a wpan interface, when ieee802154_6lowpan.ko module is loaded. This is easy to implement, question is here: "Is this a good idea or not". If somebody maybe we should do this by default and user can also disable this handling by module parameter.

Quoted 2 lines

It sounds great for 6loWPAN but I don't know what e.g. ZigBee and other users think about this. Are there any known ones?

I don't know ZigBee users, the full mac functionality is currently not available. There is still much to do. Also if you think "then I will use simple RAW sockets" that doesn't work at the moment, no support for all parsing frametypes and coordinator iftype should be activated and set the address filtering option on phy which allow "coordinator address filtering on phy".

btw.
A "coordinator" iftype exists and I planed to activate this interface after removing the old netlink interface stuff. Then a coordinator interface would be set the "phy address filtering" for coordinator parsing like a coordinator and not like a "node", this differs. But this is a little issue which is in my mind right now, there is of course more complicated stuff.

The other users: there may some exists... because there are already questions for using the RAW/DGRAM sockets for 802.15.4. But real commercial products? No, I don't know commercial products which using the raw/dgram sockets.

To the question what ZigBee users and others users think about this:

If they don't like it then they should not load ieee802154_6lowpan.ko module, put it on blacklisted modules or should deactivate the auto interface generation while interface up via module parameter.

Current behaviour is that ip add link ... type lowpan will load automatically the ieee802154_6lowpan.ko, so I think the most users would add the ieee802154_6lowpan as automatically module which should load at bootime. Or the ieee802154 subsystem will try to request the module while loading ieee802154 subsystem module, which is maybe better. So there is no need to setup some 6LoWPAN connection (In case of what we support right now) when probing of 802.15.4 is successful. Okay the user need to setup some pan_id (must), etc (optional if using phy/driver defaults).

- Alex