Skip to content

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Jul 25, 2017

Does what it says on the bin (+ port auto_init_netdev_tap non-intrusively for testing).

Depends on #7370.

This PR is part of the network layer remodelling effort:
PR dependencies

@miri64
Copy link
Member Author

miri64 commented Aug 21, 2017

Rebased to current master and current dependencies

miri64 added a commit to miri64/RIOT that referenced this pull request Aug 21, 2017
@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from c75a035 to eb8a023 Compare October 6, 2017 11:49
miri64 added a commit to miri64/RIOT that referenced this pull request Oct 6, 2017
@miri64
Copy link
Member Author

miri64 commented Oct 6, 2017

Rebased to current master and current dependencies

@miri64
Copy link
Member Author

miri64 commented Oct 6, 2017

Again..

@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from eb8a023 to 5e81c93 Compare October 6, 2017 15:53
miri64 added a commit to miri64/RIOT that referenced this pull request Oct 6, 2017
@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from 5e81c93 to 918fc7d Compare October 6, 2017 15:56
miri64 added a commit to miri64/RIOT that referenced this pull request Oct 6, 2017
@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from 918fc7d to a228df4 Compare October 10, 2017 08:38
miri64 added a commit to miri64/RIOT that referenced this pull request Oct 10, 2017
@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

And again...

miri64 added a commit to miri64/RIOT that referenced this pull request Oct 10, 2017
@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from a228df4 to 930f2c5 Compare October 10, 2017 09:43
@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

Rebased to current master, no longer waiting for other PR

@miri64 miri64 added Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 10, 2017
@miri64 miri64 added the GNRC label Oct 10, 2017
miri64 added a commit to miri64/RIOT that referenced this pull request Oct 10, 2017
@x3ro x3ro added the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Oct 10, 2017
Copy link
Contributor

@x3ro x3ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good mostly, but where is set mentioned. E.g. I only figured out through the source that I can do ifconfig 6 set key .... I've found that I can get the set usage with just running ifconfig <if> set without parameters, but ifconfig 6 help doesn't seem to mention set.

@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

Looks good mostly, but where is set mentioned. E.g. I only figured out through the source that I can do ifconfig 6 set key .... I've found that I can get the set usage with just running ifconfig <if> set without parameters, but ifconfig 6 help doesn't seem to mention set.

I'm not sure what you mean. If you type ifconfig help I get:

ifconfig help
ifconfig help
usage: ifconfig [<if_id>]
usage: ifconfig <if_id> set <key> <value>
      Sets an hardware specific specific value
      <key> may be one of the following
       * "addr" - sets (short) address
       * "addr_long" - sets long address
       * "addr_short" - alias for "addr"
       * "cca_threshold" - set ED threshold during CCA in dBm
       * "channel" - sets the frequency channel
       * "chan" - alias for "channel"
       * "csma_retries" - set max. number of channel access attempts
       * "encrypt" - set the encryption on-off
       * "hop_limit" - set hop limit
       * "hl" - alias for "hop_limit"
       * "key" - set the encryption key in hexadecimal format
       * "mtu" - IPv6 maximum transition unit
       * "nid" - sets the network identifier (or the PAN ID)
       * "page" - set the channel page (IEEE 802.15.4)
       * "pan" - alias for "nid"
       * "pan_id" - alias for "nid"
       * "power" - TX power in dBm
       * "retrans" - max. number of retransmissions
       * "src_len" - sets the source address length in byte
       * "state" - set the device state

usage: ifconfig <if_id> [-]{ack_req|autoack|autocca|csma|encrypt|mac_no_sleep|fwd|iphc|preload|promisc|raw|rtr_adv
usage: ifconfig <if_id> add [anycast|multicast|unicast] <ipv6_addr>[/prefix_len]
usage: ifconfig <if_id> del <ipv6_addr>

There is a really long nice section about set

@x3ro
Copy link
Contributor

x3ro commented Oct 10, 2017

Oh seems like this is different when you type ifconfig 6 help. I always tried the latter.

@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

Will provide something

@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

Ok. I added a specific if-branch for help now (before it was just the default that caused the output, so it was just a coincident ifconfig help outputed actual help ;-))

@x3ro
Copy link
Contributor

x3ro commented Oct 10, 2017

🎉 squash please

@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from 2dc8bb2 to 7682882 Compare October 10, 2017 18:11
@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

Done

@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from 7682882 to 8c0e779 Compare October 10, 2017 18:13
@miri64 miri64 force-pushed the gnrc_netif2/feat/sc branch from 8c0e779 to 489a3cf Compare October 10, 2017 18:15
@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 10, 2017
@miri64
Copy link
Member Author

miri64 commented Oct 10, 2017

The @ingroup auto_init_gnrc_netif change was already pointed out in a previous PR. I reverted that after your ACK. I hope that is ok.

@miri64 miri64 merged commit c8a0256 into RIOT-OS:master Oct 10, 2017
@miri64 miri64 deleted the gnrc_netif2/feat/sc branch October 10, 2017 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants