1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8584 Commits

Author SHA1 Message Date
Oleg Hahm
b1ae07ca82 6lowpan: replace duplicate function call
datagram_size is already set to the value returned by gnrc_pkt_len(), no need to call it again.
2015-09-25 22:42:28 +02:00
Oleg Hahm
478a5e5030 make: add dependency to vtimer for gnrc netif ipv6 2015-09-25 19:22:29 +02:00
Thomas Eichinger
7b3d1a728e Merge pull request #3924 from kaspar030/msp430fxyz_use_uart_stdio
cpu: make msp430fxyz use uart stdio
2015-09-25 14:37:21 +02:00
Martine Lenders
5cf4bd661b Merge pull request #3968 from authmillenon/gnrc/fix/6lbr
6LBR: fixes
2015-09-25 12:04:39 +02:00
Martine Lenders
a225987d3e gnrc 6Lo-ND rtr: fix array sizes for 6LBR 2015-09-25 11:26:58 +02:00
d9414fdab4 cpu: msp430fxyz: switch back to uart_stdio 2015-09-25 11:09:19 +02:00
Martine Lenders
e526433f20 Merge pull request #3962 from Kijewski/scan-build_kinda_inplies_that_assertions_should_be_enabled_doesnt_it__well_in_either_case_this_pr_fixes_issue_3960
make: enable `assert()` in `make scan-build`
2015-09-25 11:06:24 +02:00
Martine Lenders
893008f1e2 gnrc_ndp_internal: fix variable scope 2015-09-25 10:53:13 +02:00
Martine Lenders
217f8a26d8 gnrc_ndp_internal: fix coding style 2015-09-25 10:52:51 +02:00
Martine Lenders
39ade25511 gnrc_ndp_internal: prevent non-terminating loop 2015-09-25 10:51:01 +02:00
161a76680f Merge pull request #3923 from kaspar030/add_threadsafe_ringbuffer
sys: add threadsafe ringbuffer
2015-09-25 10:32:52 +02:00
Martine Lenders
d93e0f803f Merge pull request #3965 from authmillenon/gnrc_6lo_nd_rtr/fix/foreign-pios
GNRC 6LR: don't include PIOs for other interface's prefixes
2015-09-25 09:31:23 +02:00
aa321eb3f0 sys: uart_stdio: use thread-safe ringbuffer 2015-09-25 09:08:34 +02:00
185f63f768 sys: add thread-safe ringbuffer implementation 2015-09-25 09:08:34 +02:00
Martine Lenders
8621407f00 GNRC 6LR: don't include PIOs for other interface's prefixes 2015-09-25 01:11:53 +02:00
Martine Lenders
884f2c768a Merge pull request #3964 from authmillenon/gnrc_ndp/fix/ltime-0
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 01:02:30 +02:00
Martine Lenders
3048df2187 Merge pull request #3961 from authmillenon/gnrc_sixlowpan_iphc/fix/dci-field
6lowpan IPHC: set dest context to DCI field not SCI
2015-09-25 00:29:02 +02:00
Martine Lenders
16151b06f7 gnrc_ndp: lifetimes might be 0 in RA options 2015-09-25 00:07:51 +02:00
René Kijewski
d0294dd70e make: enable assert() in make scan-build
Compare scan-build's [documentation][1]:

> ALWAYS analyze a project in its "debug" configuration
>
> Most projects can be built in a "debug" mode that enables assertions.
> Assertions are picked up by the static analyzer to prune infeasible
> paths, which in some cases can greatly reduce the number of false
> positives (bogus error reports) emitted by the tool.

Closes #3960.

  1: http://clang-analyzer.llvm.org/scan-build.html#recommended_debug
2015-09-24 23:51:05 +02:00
Martine Lenders
7bbb5d62b0 6lowpan IPHC: set dest context to DCI field not SCI 2015-09-24 23:21:15 +02:00
Martine Lenders
6c61266bed Merge pull request #3958 from authmillenon/gnrc_ipv6_nc/fix/leave-unmanaged
gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED
2015-09-24 22:40:44 +02:00
Martine Lenders
225dcaaf34 gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED 2015-09-24 21:21:25 +02:00
Hauke Petersen
187e318da9 Merge pull request #3912 from thomaseichinger/pr/samr21-xpro_serial_port
boards/samr21-xpro: define serial port for OS X
2015-09-24 18:01:46 +02:00
Oleg Hahm
aba11407f1 Merge pull request #3957 from OlegHahm/6lowpan_DO_gc
6lowpan: do garbage collect unreachable NCEs
2015-09-24 17:57:17 +02:00
Oleg Hahm
cc0101472e 6lowpan: do garbage collect unreachable NCEs
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Oleg Hahm
ad1b5b4c94 Merge pull request #3955 from daniel-k/pr/at86rf2xx_phr_compliance
at86rf2xx: mask MSB in PHR for 802.15.4 compliance
2015-09-24 17:22:15 +02:00
Hauke Petersen
f7057da00d Merge pull request #3909 from gebart/pr/k60-delete-old-devio
cpu/k60: remove leftover files from old syscall implementation
2015-09-24 16:29:07 +02:00
daniel-k
e754963c52 at86rf2xx: mask MSB in PHR for 802.15.4 compliance 2015-09-24 16:21:42 +02:00
Hauke Petersen
177dd5fd84 Merge pull request #3885 from authmillenon/socket_base/clean/rm
socket_base: remove deprecated header files
2015-09-24 16:14:06 +02:00
Martine Lenders
8b2e4d5ffa socket_base: remove deprecated header files 2015-09-24 15:45:37 +02:00
Martine Lenders
000892773f Merge pull request #3882 from authmillenon/pkg/clean/oonf_api
oonf_api: adapt for new sockets
2015-09-24 15:44:10 +02:00
Martine Lenders
ae46d5d6a0 Merge pull request #3953 from OlegHahm/6lowpan_slaac_fixes
6lowpan: make SLAAC work
2015-09-24 14:14:41 +02:00
Oleg Hahm
63fda9e900 6lowpan: remove tentative flag for local addresses
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Oleg Hahm
c5b1156909 IPv6 nd: missing parameter for debug function 2015-09-24 13:17:21 +02:00
Oleg Hahm
bb287ae7e8 6lowpan netif: set prefixes for 6LBR first
By adding a newly added prefix first, it is assured that the following router advertisement will already disseminate it via the PIO.
2015-09-24 13:15:38 +02:00
Hauke Petersen
026503d229 Merge pull request #3952 from gebart/pr/kinetis-timer-channel-return
kinetis: timer: return error if timer channel is not zero.
2015-09-24 11:49:54 +02:00
Hauke Petersen
7cb3f9bd5e Merge pull request #3716 from kaspar030/ng_cc110x
drivers: add cc110x driver
2015-09-24 11:49:38 +02:00
Joakim Nohlgård
015098d2c2 kinetis: timer: return error if timer channel is not zero. 2015-09-24 06:46:34 +02:00
Martine Lenders
5e2b4b6b23 Merge pull request #3951 from OlegHahm/6lowpan_nd_pio_fixes
6lowpan nd: PIO fixes
2015-09-24 02:52:45 +02:00
Martine Lenders
109b2ab522 Merge pull request #3950 from authmillenon/gnrc_sixlowpan_iphc/fix/set-mcast-ctx
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:33:16 +02:00
Oleg Hahm
fee9ad77cb ipv6: init addresses w/ infinite validity time 2015-09-24 02:27:42 +02:00
Oleg Hahm
9b7b1bae37 6lowpan: prefixes are initially all null pointers
Since the prefixes list stores pointers, one need to check for null pointers first.
2015-09-24 02:27:42 +02:00
Oleg Hahm
ba023aecb8 6lowpan nd: use correct upper limit for iterating
While iterating over the prefixes the wrong upper limit was used for the for loop.
2015-09-24 02:27:42 +02:00
Martine Lenders
3c69d7bec3 Merge pull request #3949 from OlegHahm/iphc_set_DAC
6lowpan IPHC: set stateful compression mode f. dst
2015-09-24 02:25:48 +02:00
Martine Lenders
1372b9b779 gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp 2015-09-24 02:15:35 +02:00
Oleg Hahm
e9d6eb8170 6lowpan IPHC: set stateful compression mode f. dst
For destionation addresses the stateful compression mode bit wasn't set.
2015-09-24 02:15:21 +02:00
Martine Lenders
dd7b96c840 Merge pull request #3750 from authmillenon/shell/feat/6ctx
shell_commands: provide command for 6Lo context administration at 6LBR
2015-09-24 02:08:35 +02:00
Martine Lenders
3536c84844 oonf_api: adapt for new sockets 2015-09-24 02:04:11 +02:00
Oleg Hahm
845c02204c Merge pull request #3948 from OlegHahm/netif_add_no_mc_na
6lowpan: do not send NSs for new MC addresses
2015-09-24 01:50:18 +02:00
Martine Lenders
dd69fd0cd3 gnrc_ndp_internal: add missing include 2015-09-24 01:36:54 +02:00