Skip to content

split WPAN specific options into own command #5750

Closed
jfischer-no wants to merge 2 commits intoRIOT-OS:masterfrom
jfischer-no:pr@iwpan
Closed

split WPAN specific options into own command #5750
jfischer-no wants to merge 2 commits intoRIOT-OS:masterfrom
jfischer-no:pr@iwpan

Conversation

@jfischer-no
Copy link
Copy Markdown
Contributor

This PR splits WPAN specific options into own command (iwpan, similar on Linux). #5487

Currently it is the reduced version of ifconfig (sc_netif.c). The next step would be the removal of overlaps from sc_netif.c

@jfischer-no jfischer-no added Area: network Area: Networking State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR labels Aug 15, 2016
@miri64
Copy link
Copy Markdown
Member

miri64 commented Aug 15, 2016

Didn't we say iw instead of iwpan? Also (but don't know if that's possible right now): I would prefer a GNRC-independent solution (so pure netdev2).

@jfischer-no
Copy link
Copy Markdown
Contributor Author

Didn't we say iw instead of iwpan?

Yes but, iw command is specifically for 802.11 MAC on linux, iwpan was introduced for 802.15.4 (http://wpan.cakelab.org/). In order to prevent possible confusions, I opted for iwpan 😄

Also (but don't know if that's possible right now): I would prefer a GNRC-independent solution (so pure netdev2).

I do not know if it makes sense, I am happy with net_gnrc_netapi for now.

💭 It is more accurate to interface with the MAC and not with netdev2. The current set of the commands would be possibly the same (common) for all the 802.15.4 MACs, plus additional MAC specific commands. Interfacing with netdev2 enables direct control over e.g. radio back-end, and I do not know for what it is needed except for testing. ❓

@miri64
Copy link
Copy Markdown
Member

miri64 commented Aug 16, 2016

💭 It is more accurate to interface with the MAC and not with netdev2. The current set of the commands would be possibly the same (common) for all the 802.15.4 MACs, plus additional MAC specific commands. Interfacing with netdev2 enables direct control over e.g. radio back-end, and I do not know for what it is needed except for testing. ❓

Okay, then maybe later move it to #5511 as soon as that one is somewhat stable. My argument is more about stack-independence than about the layer.

@miri64
Copy link
Copy Markdown
Member

miri64 commented Aug 30, 2016

I tested and it works (though ifconfig still shows IEEE 802.15.4 related stuff, too still). Question remains: what do we do with non-IEEE 802.15.4 radios? Do we duplicate the code that overlaps? Can we find a common module?

@miri64
Copy link
Copy Markdown
Member

miri64 commented Oct 18, 2016

@jfischer-phytec-iot Ping?

@miri64 miri64 added this to the Release 2016.10 milestone Oct 18, 2016
@miri64
Copy link
Copy Markdown
Member

miri64 commented Oct 31, 2016

Postponed due to Feature Freeze.

@miri64 miri64 modified the milestones: Release 2017.01, Release 2016.10 Oct 31, 2016
@jfischer-no
Copy link
Copy Markdown
Contributor Author

I will unfortunately not have time for it, sorry, it needs new caretaker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants