Sebastian Meiling
e8a0b75ffd
Merge pull request #8334 from haukepetersen/fix_xtimer_remduplicatsetdecl
...
sys/xtimer: remove duplicat _xtimer_set declaration
2018-01-09 16:00:58 +01:00
Martine Lenders
810608e414
Merge pull request #8335 from OTAkeys/pr/can_fix_fall_through
...
can: fix fall through error
2018-01-09 15:59:30 +01:00
Hauke Petersen
6b526f05de
sys/xtimer: remove duplicat _xtimer_set declaration
2018-01-09 15:43:59 +01:00
Martine Lenders
03fdaaeb8c
Merge pull request #8338 from haukepetersen/add_event_timeoutclear
...
sys/event/timeout: add timeout_clear() function
2018-01-09 15:40:40 +01:00
Hauke Petersen
cef3d307c7
sys/event/timeout: fixed typos and line lengths
2018-01-09 15:21:40 +01:00
Hauke Petersen
03dccb568d
sys/event/timeout: add timeout_clear() function
2018-01-09 15:21:29 +01:00
MichelRottleuthner
198ced4933
pkg/fatfs: integrate diskio layer to mtd interface
2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af
pkg/fatfs: add vfs integration
2018-01-09 14:46:40 +01:00
dd9e75a469
sys/net/loramac: add device class enum
2018-01-09 14:21:09 +01:00
Vincent Dupont
fb393905dd
can: fix fall through error
2018-01-08 18:07:31 +01:00
Martine Lenders
e888e47a0c
Merge pull request #8325 from miri64/gnrc_netif/enh/add-nrfmin-iid
...
gnrc_netif: add nrfmin IID support
2018-01-05 13:29:19 +01:00
Martine Lenders
c6833704dc
gnrc_netif: add nrfmin IID support
...
Adds a `nrfmin` case to IID generation, so an IID can be generated
from a `nrfmin` device's (short) address (the long address is just
4-time repetition of the short address).
2018-01-05 13:06:35 +01:00
Martine Lenders
3a493436ba
gnrc_netif: generalize IID generation for short addresses
...
Moves setting of addresses of length lesser than 3 to a function that
initializes the first 5 byte of the IID with `00:00:00:ff:fe` and then
fills up the rest with zeroes and the given short address.
2018-01-05 13:06:35 +01:00
Martine Lenders
cee9a9c173
gnrc_ipv6_nib: fix nrfmin module check
...
The module is called `nrfmin` not `netdev_nrfmin`. As such this compile
path was never included, even if the `nrfmin` module was present.
2018-01-05 10:40:25 +01:00
9843b37ec9
sys/net/loramac: rename network session key
2017-12-22 17:12:12 +01:00
Sebastian Meiling
5f8e37ee2b
Merge pull request #8294 from cladmi/pr/sys/crypto/ccm/fixup_docstring
...
sys/crypto/ccm: fix docstring value for 'nonce_len'
2017-12-21 13:34:25 +01:00
Gaëtan Harter
29f5de38d1
Merge pull request #8288 from zhuoshuguo/gnrc_lwmac_revise_doc_brief
...
gnrc_lwmac: revise brief description.
2017-12-20 13:46:34 +01:00
Gaëtan Harter
5e22f61cda
sys/crypto/ccm: fix docstring value for 'nonce_len'
...
From RFC3610 - 2.1.2:
A nonce N of 15-L octets
(where L: Number of octets in length field)
2017-12-19 18:24:44 +01:00
Martine Lenders
2f78a0cc7c
Merge pull request #8281 from zhuoshuguo/gnrc_gomach_add_description
...
gnrc_gomach: add a brief description of GoMacH's features.
2017-12-19 15:20:14 +01:00
zhuoshuguo
56d5a02631
gnrc_lwmac: revise doc's brief naming.
2017-12-19 15:10:30 +01:00
zhuoshuguo
f8b1583737
gnrc_gomach: add a brief description of GoMacH's features.
2017-12-19 14:56:01 +01:00
Martine Lenders
ac99782d53
Merge pull request #8279 from zhuoshuguo/gnrc_gomach_add_allo_slot_limit
...
gnrc_gomach: add flexible number limit for allocating slots.
2017-12-19 12:33:02 +01:00
17ac0fa3a7
Merge pull request #8101 from miri64/gnrc_netif2/opt/flag-checkers
...
gnrc_netif: assume flag settings on compile time
2017-12-19 12:10:25 +01:00
Martine Lenders
7b5a42ba58
gnrc_netif: assume flag settings on compile time
2017-12-19 12:04:36 +01:00
zhuoshuguo
0c53762a1f
gnrc_gomach: address comment.
2017-12-19 11:37:48 +01:00
Martine Lenders
a0aac0c971
Merge pull request #8282 from zhuoshuguo/gnrc_lwmac_revise_doc_naming
...
gnrc_lwmac: revise LWMAC's doc naming.
2017-12-19 11:09:31 +01:00
zhuoshuguo
28f266eaa6
gnrc_lwmac: revise doc naming.
2017-12-19 10:55:56 +01:00
smlng
800345b17e
net: fix output in gnrc_pktdump for ccnl
2017-12-19 10:37:05 +01:00
zhuoshuguo
a98c3f0d31
gnrc_gomach: add number limit for allocated slots.
2017-12-19 10:18:51 +01:00
tobhe
7af07bacff
random: added random_bytes function
2017-12-19 09:39:55 +01:00
Martine Lenders
2e93ba1c50
doc: Fix 'must not'/'may not' wording
...
I applied the following terminology and changed the wording in the doc
accordingly:
* must not: If the parameter is of the value it *must not* be it either
hits an assert or crashes the system.
* may not: The value can be that value, but the function will return an
error.
2017-12-19 09:00:12 +01:00
Martine Lenders
16013413be
Merge pull request #7592 from aabadie/loramac_definitions
...
sys/net: add some definitions for loramac
2017-12-18 20:30:25 +01:00
0512ac5f9c
sys/net: add some definitions for loramac
2017-12-18 18:26:16 +01:00
Martine Lenders
16374d0588
gnrc_netif: provide helper functions for NETOPT_IPV6_(ADDR|GROUP)
...
Since especially the setter for `NETOPT_IPV6_ADDR` and the getter for
both `NETOPT_IPV6_ADDR` and `NETOPT_IPV6_GROUP` isn't that obvious, I
decided to provided a helper function for those `gnrc_netapi_get/_set`
operations.
2017-12-18 17:06:55 +01:00
Martine Lenders
8a058d32f9
gnrc_netif: pass up returned error of internal function
...
If there is no space left on the interface, a user should be notified
about that when using `gnrc_netapi_set()`
2017-12-18 17:01:17 +01:00
3a572d82cd
Merge pull request #8252 from miri64/gnrc_netif/api/rename-ipv6_addr
...
gnrc_netif: rename IPv6 address "setters"
2017-12-18 17:00:31 +01:00
Sebastian Meiling
c24e87e47d
Merge pull request #8250 from kb2ma/gcoap/remote_in_request
...
net/gcoap: Track remote endpoint for all requests
2017-12-18 13:17:27 +01:00
Ken Bannister
062bc15f00
net/gcoap: Track remote endpoint for all requests
2017-12-18 06:24:58 -05:00
7727871923
sys/auto_init/saul: provide saul adaption to lis3mdl
2017-12-14 18:18:34 +01:00
d4d18d99af
sys/shell: adapt ifconfig to work with sx127x devices
2017-12-14 16:13:39 +01:00
5cf71e3096
sys/net/netopt: add NETOPT_CHANNEL_FREQUENCY option
2017-12-14 15:01:09 +01:00
Joakim Nohlgård
599ad3784c
Merge pull request #7345 from OTAkeys/pr/spiffs_statvfs
...
pkg/spiffs: implement statvfs and improve doc
2017-12-14 11:37:53 +01:00
PeterKietzmann
70810ae697
sys/netif: include release of iovec in gnrc_netif_raw
2017-12-13 17:29:10 +01:00
Martine Lenders
dbc577466e
Merge pull request #8256 from PeterKietzmann/pr_netif_raw_pkt_release
...
sys/netif: add missig pkt release in gnrc_netif_raw
2017-12-13 16:27:28 +01:00
PeterKietzmann
6295e4a7c9
sys/netif: add missig pkt release in gnrc_netif_raw
2017-12-13 15:44:39 +01:00
PeterKietzmann
4bd1d0ec9f
shell/netif: extend set state option
2017-12-13 15:26:03 +01:00
Martine Lenders
2ae30cf582
gnrc_netif: rename IPv6 address "setters"
...
This renames the following functions
* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`
by appending the suffix `_internal`.
\## Reasoning
I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.
\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.
```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
01a82c870e
Merge pull request #8237 from miri64/doc/fix/nanocoap-group
...
nanocoap: fix doxygen grouping
2017-12-12 10:51:19 +01:00
Hauke Petersen
e9334e6d2d
sys/timex: make NS_PER_US unsigned
2017-12-12 07:51:39 +01:00
Martine Lenders
93cb169c1f
Merge pull request #8235 from zhuoshuguo/gnrc_gomach_beacon_length_limit
...
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 16:17:47 +01:00
Martine Lenders
5a7d97635a
nanocoap: fix doxygen grouping
...
The doxygen group for the networking module is `net`, not `sys_net`.
By using `sys_net` nanocoap appears in the [module
root](https://doc.riot-os.org/modules.html ) of the documentation.
2017-12-11 15:50:17 +01:00
Martine Lenders
22da59b40a
Merge pull request #7437 from cgundogan/pr/ccn-lite_v2
...
pkg: ccn-lite: adapt to v2
2017-12-11 13:47:27 +01:00
zhuoshuguo
cebc995ec3
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 11:31:39 +01:00
0accd367bc
Merge pull request #8159 from aabadie/pr/auto_init_sx127x
...
sys/auto_init: add auto init implementation for sx127x radio devices
2017-12-10 16:28:31 +01:00
400dccfaa1
sys/net/netopt: remove unused NETOPT_DEVICE_MODE
2017-12-09 20:06:57 +01:00
Vincent Dupont
43a902b1ab
sys/fmt: fix overflow in fmt_u32_dec()
...
If the value was 10 digits long it caused an overflow in the multiply loop.
The case is now tested before looping over.
2017-12-07 17:48:05 -08:00
Martine Lenders
49c9d60724
gnrc_netapi: make doc a little more consistent
...
Throughout the documentation `gnrc_nettype_t` is referred to as a
"protocol type". The documentation for the functions
`gnrc_netapi_dispatch_*()` that were added later only refer to it as
"type".
This fix changes those to "protocol type" to make this clearer in the
context of these functions and unify it with the rest of the
documentation.
2017-12-06 18:10:10 +01:00
Martine Lenders
7745060ad9
Merge pull request #8209 from bergzand/pr/netifeth_oddebug
...
gnrc_netif: Fix compile errors when debug is enabled
2017-12-05 16:28:22 +01:00
039bdf2aa6
gnrc_netif: Fix debug printing in ieee802154
2017-12-05 14:49:48 +01:00
ef8222e4bd
gnrc_netif: Include od when debugging
2017-12-05 14:48:02 +01:00
Martine Lenders
5bdf3670e3
gnrc_ipv6: fix packet snip switch-up
2017-12-05 12:57:50 +01:00
40f43671bf
sys/auto_init: enable sx127x auto init
2017-12-01 18:09:49 +01:00
Cenk Gündoğan
b6581289a2
pkg: ccn-lite: adapt to v2
2017-12-01 16:14:27 +01:00
3367840fa2
sys/net/nanocoap: use submodules
2017-12-01 12:55:45 +01:00
84bc849014
sys: net: nanocoap: ignore Uri-Host option
2017-12-01 12:55:45 +01:00
7a636cb8e8
sys/net/gcoap: adapt to in-tree nanocoap
2017-12-01 12:55:45 +01:00
16bdbe5d32
sys: net: add nanocoap
2017-12-01 12:55:44 +01:00
Sebastian Meiling
73d9c460d3
Merge pull request #7336 from kb2ma/gcoap/confirm_infrastructure
...
net/gcoap: Create confirm request infrastructure and adapt existing messaging
2017-12-01 11:18:24 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
...
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
5a0e9bcca4
gnrc_netdev: remove remaining files and references
...
Somehow, these files were forgotten in my big cleanup in #7925 . This
fixes that.
2017-11-30 19:49:40 +01:00
zhuoshuguo
ea5aeeb10f
gomach: a robust traffic adaptive multichannel MAC for IoT.
2017-11-30 18:51:49 +01:00
Cenk Gündoğan
06782c4721
Merge pull request #8173 from bergzand/pr/gnrc_uhcpc_rpl
...
gnrc_uhcpc: initialize rpl root on prefix configuration
2017-11-30 13:15:49 +01:00
2ba110d8f7
gnrc_uhcpc: initialize rpl root on prefix configuration
2017-11-30 13:08:55 +01:00
Sebastian Meiling
8f7de7c2fe
Merge pull request #8179 from miri64/gnrc_ipv6_nib/api/NULL-l2addr
...
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set()
2017-11-29 21:07:39 +01:00
zhuoshuguo
e6409f025f
gnrc_lwmac: include lwmac headers when LWMAC defined.
2017-11-29 17:29:26 +01:00
Martine Lenders
7d20a80ba8
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set()
2017-11-29 17:26:45 +01:00
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
...
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
smlng
aa6e1711d4
net, lwmac: cleanup, restructured code
2017-11-28 17:28:40 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
...
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
...
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
...
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
...
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
fa64e93313
netdev: Represent RSSI as int16_t
2017-11-27 21:49:15 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-27 21:40:54 +01:00
Martine Lenders
6db9e15485
Merge pull request #7346 from smlng/net/gnrc_tcp/use_push
...
gnrc tcp: use push flag in send
2017-11-27 21:24:45 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
a32a2a93e1
gnrc_ipv6_nib: add interface parameter to nc_del function
2017-11-27 20:32:27 +01:00
Martine Lenders
1bb9c968ed
shell_commands: add interface to nib neigh del
command
...
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
...
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27
shell/nib: change prefix add lifetimes to seconds
2017-11-27 18:15:34 +01:00
866613309f
shell/nib: display optional arguments as optional
2017-11-27 18:15:34 +01:00
smlng
b455eece85
shell, neitf: fix output
2017-11-27 13:20:03 +01:00
smlng
5198788323
shell, nib: fix nib neigh delete
2017-11-27 11:09:49 +01:00
Martine Lenders
2f8223106b
gnrc_ipv6_nib: fix ms to sec conversion for sending NDP PIOs
2017-11-24 13:52:20 +01:00
Martine Lenders
973007ad38
gnrc_ipv6_nib: fix ltime > MAX / 1000 corner case in NDP PIOs as well
2017-11-24 13:52:19 +01:00
Martine Lenders
63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
...
Two edge cases were previously missed:
1. Infinite should stay infinite. Prefixes with infinite lifetimes
should be advertised as such. Likewise, should prefixes with
infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
longest possible lifetime below infinite (UINT32_MAX - 1)
This fixes that.
2017-11-24 13:45:26 +01:00
aff7d6ecd8
Merge pull request #8097 from miri64/gnrc_ipv6_nib/fix/reduce-unreachable-backoff
...
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying reach to it
2017-11-24 01:05:55 +01:00
Martine Lenders
97b0db61ca
gnrc_rpl: remove redundant iface variable
2017-11-24 00:20:32 +01:00
Martine Lenders
423fc74bd2
gnrc_rpl: fix check if DODAG-ID is on interface
2017-11-24 00:20:32 +01:00
Martine Lenders
279e19fe8a
gnrc_rpl: properly handle prefix list
2017-11-23 22:56:55 +01:00
3979ffcf1b
gnrc_rpl: Exclude routes without next hop from DAO packets
2017-11-23 19:29:07 +01:00
Martine Lenders
ec02458c55
gnrc_rpl: fix abandoned packet bug in transit option build
...
Due to the transit option build function being passed a NULL pointer,
the previous transit and target options are dropped (and never freed).
This fixes #8098 and #8126 .
2017-11-23 18:43:36 +01:00
smlng
df2b65a1dd
driver, hts221: add SAUL adaption
2017-11-22 11:33:54 +01:00
6df40262ca
Merge pull request #8103 from miri64/gnrc/doc/link-local-behavior
...
gnrc: note behavior for link-local addresses
2017-11-21 19:00:59 +01:00
Martine Lenders
1ac544268e
gnrc: note behavior for link-local addresses
2017-11-21 17:48:16 +01:00
Martine Lenders
4476d340f0
gnrc_ipv6_nib: remove trailing semicolon in ARSM macro
2017-11-21 17:21:34 +01:00
Martine Lenders
5b747e2629
gnrc_ipv6_nib: cap-off NS sent to prefent overflows
2017-11-21 17:21:34 +01:00
Martine Lenders
168228ddc9
gnrc_ipv6_nib: do not try to re-register to an unreachable router
2017-11-21 17:21:33 +01:00
Martine Lenders
61b539abf9
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying to it
...
When a neighbor becomes UNREACHABLE which causes neighbor solicitations
to be send only up to every minute. If the medium is very busy this can
easily get lost, basically causing the neighbor never to be reachable
again from the perspective of the sending node. To fix this the backoff
is reduced to its start value, every time a packet is sent to that
neighbor.
2017-11-21 11:38:45 +01:00
b561e84b7f
Merge pull request #8091 from miri64/gnrc_ipv6_nib/fix/rereg-retrans-unit
...
gnrc_ipv6_nib: fix retransmission timeout unit for address re-registration
2017-11-20 15:42:59 +01:00
e5cf4a5396
Merge pull request #8089 from miri64/gnrc_netif/fix/add-sol-nodes
...
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:35:49 +01:00
Martine Lenders
564d3c7581
gnrc_ipv6_nib: remove now duplicate join to sol. nodes
2017-11-20 14:22:55 +01:00
Martine Lenders
d4e60dae2e
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:22:55 +01:00
Martine Lenders
10b74740eb
gnrc_netif: fix GNRC_NETAPI_GET of arrays
...
The target array currently moves with the loop instead of with the
results. This fixes that.
2017-11-20 14:18:09 +01:00
Martine Lenders
8c4eb43701
gnrc_ipv6_nib: fix retrans. timeout unit for address re-registration
2017-11-20 13:52:37 +01:00
Martine Lenders
12261a3e69
gnrc_ipv6_nib: Remove stray assert() in _handle_aro()
...
This assertion doesn't make any sense. The function is called by
_copy_and_handle_aro() on a router which causes `nce` to be NULL
(because there is no NCE known yet) and then the function called
directly after (_reg_addr_upstream()) checks if `nce` might be NULL and
creates an NCE if necessary.
2017-11-20 06:41:08 +01:00
Martine Lenders
8a79b6739a
Merge pull request #8010 from cgundogan/pr/rpl_nib
...
gnrc_rpl: port to nib
2017-11-20 00:42:03 +01:00
Cenk Gündoğan
de5e0c677f
gnrc_netif: fix DEBUG output
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
3be5c9fdf3
nib: use correct fall through hint
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
5b5c479043
rpl: replace fib with nib
2017-11-20 00:35:17 +01:00
Martine Lenders
c61a520c1a
Merge pull request #8084 from bergzand/shell/netif-add-mld
...
shell_commands: Add multicast groups to ifconfig command
2017-11-20 00:09:20 +01:00
Martine Lenders
2a899c45ac
gnrc_ipv6_nib: make user added default route the primary one
2017-11-19 23:36:20 +01:00
20d050a42e
shell_commands: Add multicast groups to ifconfig command
2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ec671c0a32
Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv
...
shell: do not advertise reactively in 6ctx command
2017-11-19 02:22:31 +01:00
Martine Lenders
c5fc7c44cd
shell: do not advertise reactively in 6ctx command
...
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
2017-11-17 16:32:14 +01:00
Martine Lenders
0f9d266af2
shell: adapt nib route
command for route lifetime
2017-11-17 13:44:59 +01:00
Martine Lenders
e7bb0ed67f
gnrc_uhcpc: adapt for route lifetime
2017-11-17 13:44:18 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes
2017-11-17 13:43:18 +01:00
Martine Lenders
fb5851dde4
gnrc_ipv6_nib: actually timeout a default router
...
While the GNRC_IPV6_NIB_RTR_TIMEOUT is properly handled, it is actually
never fired. Moreover, the router lifetime is set, but never read.
This removes the router lifetime and switches it out for an evtimer
to does the GNRC_IPV6_NIB_RTR_TIMEOUT event.
2017-11-17 11:43:32 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp
2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code
2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures
2017-11-17 09:20:29 +01:00
Martine Lenders
7ecafb7909
Merge pull request #7961 from miri64/shell_commands/fix/sc_netif2
...
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-11-17 06:21:11 +01:00
Martine Lenders
bf8465c650
Merge pull request #7479 from miri64/gnrc_ipv6_nib/feat/ndp-rd
...
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 16:35:21 +01:00
Martine Lenders
ccb8462d94
gnrc_sixlowpan_nd: adapt for NIB
2017-11-16 15:49:21 +01:00
Martine Lenders
319c0f9d21
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 15:49:20 +01:00
Martine Lenders
f21a828502
ndp: sixlowpan_nd: provide more constants for default values
2017-11-16 15:49:20 +01:00
Martine Lenders
fbb70315cb
lwmac: fix issues reported by cppcheck
2017-11-16 15:07:08 +01:00
Martine Lenders
62a1f0848f
gnrc_netif2: make more complexer functions not inline
2017-11-16 14:44:23 +01:00
2a177ea6c8
sys/ps: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
Hauke Petersen
86501e5e86
sys/shell: remove x86_lspci shell command
2017-11-16 13:45:32 +01:00
3e4e3d261f
sys/posix: factor inet_*to* from header into .c file
2017-11-15 23:01:56 +01:00
Martine Lenders
e3ef42842e
cc110x: port to gnrc_netif2
2017-11-15 22:57:02 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
...
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Martine Lenders
90549108ca
gnrc_ipv6_nib: add exception in address resolution for SLIP
2017-11-15 20:03:30 +01:00
Martine Lenders
852cb5a791
gnrc_netif2: adapt setting of maximum packet size for slipdev
2017-11-15 16:19:15 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP)
2017-11-14 13:40:51 +01:00
Martine Lenders
546d05266e
xbee: port to gnrc_netif2
2017-11-14 12:01:16 +01:00
Peter Kietzmann
a2721c03c9
sys/od: add ASCII representation to memory dump
2017-11-14 09:22:02 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
...
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
Vincent Dupont
012264cb0e
shell/sc_rtc: remove rtc init command
2017-11-13 18:44:15 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
...
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
bf19ce6d55
gnrc_mac: fix non-obvious recursive include
2017-11-13 12:48:39 +01:00
Peter Kietzmann
89994604af
Merge pull request #7954 from smlng/cpu/atmega/adc
...
cpu, atmega_common: add periph/adc
2017-11-13 11:44:56 +01:00
Martine Lenders
1a0f4940fd
Merge pull request #7940 from miri64/posix/enh/move-time-to-module
...
posix: move time functions to their own module
2017-11-12 20:05:50 +01:00
Martine Lenders
0a0bb86f4a
posix: move time functions to their own module
2017-11-12 19:55:57 +01:00
Martine Lenders
c6428698b4
Revert "shell/ccnl: remove use of ccnl_wait_for chunk()"
2017-11-11 19:34:52 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
...
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Peter Kietzmann
69fe566a18
shell/ccnl: remove use of ccnl_wait_for chunk()
2017-11-10 15:27:47 +01:00
Laurent Navet
9de00af063
cpu/atmega_common: add adc driver
2017-11-10 14:19:08 +01:00
Ken Bannister
37f272bf2c
net/gcoap: Refactor lookup for outstanding request
...
Add support for a confirmable request and standardize token match.
2017-11-10 06:54:38 -05:00
Ken Bannister
70be8cd5bb
net/gcoap: Update copyright for 2017
2017-11-10 06:54:38 -05:00
Ken Bannister
0e93566814
net/gcoap: Update request memo struct for a confirmable request
2017-11-10 06:54:38 -05:00
Martine Lenders
d2ccbc85b0
Merge pull request #7957 from PeterKietzmann/pr_ipv6_hdr_fix
...
net/ipv6/hdr: fix issue #5944
2017-11-10 11:07:29 +01:00
68976f8f17
Merge pull request #7547 from kaspar030/use_luid_for_random_init
...
sys: random: use luid for random seed initalization
2017-11-09 21:32:32 +01:00
Martine Lenders
72db5e48f0
gnrc_ipv6_nib: fix for 'holey' NIB
...
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).
This fixes this behavior by making the assertion a check that is always
compiled in.
2017-11-09 15:28:56 +01:00
Vincent Dupont
92dfd8a347
shell_commands: fix rtc shell command
2017-11-09 13:11:55 +01:00
Vincent Dupont
f2466fb8dc
periph/rtc: move init from auto_init to periph_init
2017-11-09 12:56:43 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
c3141c46b6
gnrc_ndp2: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
89ec411b79
Revert "gnrc_uhcpc: fix dependencies"
2017-11-08 19:23:39 +01:00
c44f269ba0
sys: include: random: fix RANDOM_SEED_DEFAULT defines
2017-11-08 17:18:26 +01:00
Martine Lenders
c52fde668b
sys: random: make fallback seed configurable at compile time
2017-11-08 17:18:26 +01:00
ccf704bab8
sys: random: use luid to generate random seed
2017-11-08 17:18:26 +01:00
Martine Lenders
78985b4db2
gnrc_uhcpc: fix dependencies
...
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.
Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
Backport of #7722
2017-11-08 14:49:53 +01:00
PeterKietzmann
d7e58d4800
net/ipv6/hdr: fix issue #5944
2017-11-08 10:37:09 +01:00
be9e8614ef
sys/auto_init/saul: provide saul adaption to mpu9150
2017-11-08 09:09:21 +01:00
Martine Lenders
867aff211f
Merge pull request #7935 from zhuoshuguo/gnrc_lwmac_adjust_csma_flag
...
gnrc_lwmac: adjust error use of csma flag for transmit packet.
2017-11-07 23:13:44 +01:00
Martine Lenders
f6c9eb03c5
Merge pull request #7824 from Hyungsin/hamilton-tmp006
...
tmp006: optional raw values, low power mode, SAUL type
2017-11-07 22:51:56 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
b1e69a776f
Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos
...
tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
2017-11-07 18:16:55 +01:00
Lucas Jenss
069849f002
WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
...
In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?
Relates to #6473
2017-11-07 17:35:42 +01:00
Lucas Jenss
4bb12ba091
tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
...
_is_reachable is only used when GNRC_IPV6_NIB_CONF_ARSM
is enabled, and as such it must be guarded so that clang
doesn't complain about a unused function in case
GNRC_IPV6_NIB_CONF_ARSM is not set
Similar to #7910
Relates to 6473
2017-11-07 17:33:15 +01:00
Martine Lenders
6da479a4dd
Merge pull request #7186 from miri64/gnrc_pktbuf/enh/assert-users-gt-0
...
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:39:24 +01:00
Martine Lenders
f8c2078f94
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:27:44 +01:00
Martine Lenders
0954dba17d
Merge pull request #6000 from kaspar030/add_event_system
...
sys: add asynchronous event system
2017-11-06 14:25:18 +01:00
0e09213e53
sys/event: initial commit of handler-based event system
2017-11-06 14:19:31 +01:00
Martine Lenders
046f30b918
Merge pull request #7722 from miri64/gnrc_uhcpc/fix/dep
...
gnrc_uhcpc: fix dependencies
2017-11-06 11:21:55 +01:00
Martine Lenders
772ee47e28
Merge pull request #7790 from OTAkeys/pr/fix_can_set_get_filters
...
can/device: wake up device before getting/setting filters
2017-11-06 11:01:53 +01:00
Hyungsin
3dbe604d96
tmp006: optional raw values, low power mode, SAUL type
2017-11-06 00:04:50 -08:00
6f43e98b95
drivers/si70xx: cleanup and use pseudomodules
2017-11-05 18:13:19 +01:00
zhuoshuguo
6c57999b2b
gnrc_lwmac: adjust use of error CSMA flag for packet transmit.
2017-11-03 18:52:01 +01:00
b60bb03f2b
Merge pull request #7901 from kroesche/feature/ringbuf_doc_update
...
ringbuffer: add hint about tsrb to doc
2017-11-03 10:03:56 +01:00
Joe Kroesche
abb6913480
sys/include/tsrb.h: move usage doc to main API page.
...
Modified file doc header so that important info about usage and buffer
size show up on main API doc page instead of file doc page;
added comment in a couple of places to remind reader that buffer size
must be powewr of 2.
2017-11-02 21:59:37 -05:00
c02ee081d9
Merge pull request #7174 from miri64/gnrc_sock/fix/return-EINVAL-for-inval-sock
...
sock: specify invalid parameter error
2017-11-02 17:30:35 +01:00
Martine Lenders
ea27fe34d1
Merge pull request #7895 from zhuoshuguo/lwmac_port_to_netif2
...
gnrc_lwmac: port to gnrc_netif2
2017-11-01 16:10:56 +01:00
zhuoshuguo
c554d30b26
gnrc_lwmac: port to gnrc_netif2.
2017-11-01 15:40:47 +01:00