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

3271 Commits

Author SHA1 Message Date
e98237a26f sys: div: remove div_u32_by_10() 2015-11-19 13:29:10 +01:00
80b8d2ed37 Merge pull request #4306 from kaspar030/make_fmt_not_use_div_10
sys: fmt: use standard / for division by 10, not div.h
2015-11-19 13:23:45 +01:00
f2a2656bac sys: fmt: use standard / for division by 10, not div.h 2015-11-18 19:00:13 +01:00
Oleg Hahm
bfb6c0c95d Merge pull request #4286 from kaspar030/make_newlib_use_xtimer
sys: newlib: use xtimer_now64() for gettimeofday()
2015-11-17 21:08:01 +01:00
test
bbe1b6f125 rpl: reuse xtimer for cleanup 2015-11-17 19:00:18 +01:00
Cenk Gündoğan
20364ff36c Merge pull request #4293 from BytesGalore/fib_sc_remove_misleading_flags
fib: shell removed to set flags automatically to IP type
2015-11-17 18:57:19 +01:00
Cenk Gündoğan
cb8f50ce40 Merge pull request #4292 from OlegHahm/fib_rpl_config
fib: make FIB size dependent on existence of RPL
2015-11-17 18:53:11 +01:00
test
37709d27e5 rpl: directly iterate through fib entries for DAO 2015-11-17 18:48:30 +01:00
Martine Lenders
5f04675403 Merge pull request #4284 from authmillenon/gnrc_ipv6/enh/addr-res-without-nd
gnrc_ipv6: get l2addr from NC if no ND present
2015-11-17 17:59:58 +01:00
BytesGalore
711677eb7b fib: shell removed to set flags automatically to IP type 2015-11-17 17:10:36 +01:00
Oleg Hahm
e4244a29ff fib: make FIB size dependent on existence of RPL
Also, enables to configure the FIB size from the applicatin
2015-11-17 16:48:04 +01:00
Martine Lenders
c7ebcbbda2 gnrc_ipv6: get l2addr from NC if no ND present 2015-11-17 16:20:58 +01:00
Thomas Eichinger
77ef14e4d7 Merge pull request #4273 from LudwigKnuepfer/pr/doc_sys_fix
cpu/native: malloc.h for osx: fix doxygen, move
2015-11-17 14:40:48 +01:00
Martine Lenders
6595e8c57f Merge pull request #4174 from authmillenon/gnrc_ndp_internal/fix/send-ras-without-pio
gnrc_ndp_internal: send RAs even when there are no PIOs
2015-11-17 14:01:55 +01:00
f23f3c0d2f sys: newlib: use xtimer_now64() for gettimeofday() 2015-11-17 12:50:48 +01:00
Oleg Hahm
46dc908fcb gnrc 6lowpan: exclude CTX if not part of the app
This removes dependencies to 6LoWPAN context module if an application is built without support for it.

Also, includes a missing header.
2015-11-17 12:04:11 +01:00
Thomas Eichinger
32a2bacc8d shell/sc_netif: fix clang formating warning/error 2015-11-16 16:06:13 +01:00
Thomas Eichinger
6e3d2b6c53 net/fib: fix clang extra parantheses warning/error 2015-11-16 16:05:37 +01:00
Ludwig Knüpfer
a86866ea9f cpu/native: malloc.h for osx: fix doxygen, move 2015-11-15 12:14:59 +01:00
Cenk Gündoğan
f7934e336a Merge pull request #4238 from authmillenon/shell_command/fix/zep-deps
shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
2015-11-12 10:16:57 +01:00
Oleg Hahm
ee33e6941b shell ping6: do not try to parse address as count
The first parameter should be handled as count only if there are at least two parameters given.
2015-11-11 16:03:39 +01:00
Cenk Gündoğan
a88f72d0da Merge pull request #4245 from cgundogan/pr/gnrc_nettest/vtimer_xtimer
gnrc_nettest: use xtimer instead of vtimer
2015-11-10 12:21:48 +01:00
Cenk Gündoğan
01225ca9d5 gnrc_nettest: use xtimer instead of vtimer 2015-11-10 08:34:36 +01:00
Cenk Gündoğan
677c1304b9 zep: remove superfluous vtimer include 2015-11-10 08:13:11 +01:00
Cenk Gündoğan
f7166bbfd7 rpl: use uint32_t for the parent lifetime 2015-11-09 21:24:08 +01:00
BytesGalore
3153389e49 Merge pull request #4241 from cgundogan/pr/rpl/parent_lifetime_32
rpl: use uint32_t for the parent lifetime
2015-11-09 21:17:16 +01:00
Cenk Gündoğan
bf5e9b4351 rpl: use uint32_t for the parent lifetime 2015-11-09 20:28:31 +01:00
Cenk Gündoğan
b1f2f22898 rpl: uint32_t is sufficient for the DAO timer 2015-11-09 17:25:05 +01:00
Martine Lenders
fc831f0ec2 Merge pull request #4216 from cgundogan/pr/network_layer/remove_timex
net/gnrc/network_layer: remove timex_t
2015-11-09 16:27:24 +01:00
Cenk Gündoğan
4bcffbc2aa Merge pull request #4210 from authmillenon/shell/enh/xtimerfy-sc-icmpv6
shell: xtimerfy sc_icmpv6
2015-11-09 16:20:34 +01:00
Martine Lenders
33957f94fe shell: xtimerfy sc_icmpv6 2015-11-09 15:39:44 +01:00
Cenk Gündoğan
ce6b6b84fc rpl: decrease default numbers 2015-11-09 14:56:51 +01:00
Cenk Gündoğan
bf3a504691 nc: ndp: sixlowpan: remove timex.h include 2015-11-09 14:55:04 +01:00
Cenk Gündoğan
401e1b3814 sixlowpan: timex_t -> uint32_t 2015-11-09 14:55:04 +01:00
Cenk Gündoğan
34c3267bfe ndp: timex_t -> uint32_t 2015-11-09 14:55:04 +01:00
Cenk Gündoğan
5aaea3879f netif: ndp: gnrc_ipv6_netif_t::retrans_timer -> uint32_t 2015-11-09 14:55:04 +01:00
Cenk Gündoğan
b59fc825a3 netif: nc: ndp: gnrc_ipv6_netif_t::reach_time -> uint32_t 2015-11-09 14:55:01 +01:00
Cenk Gündoğan
47fe901187 ndp: timex -> uint32_t for probe delay time 2015-11-09 14:54:42 +01:00
Martine Lenders
fe94aa0216 shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
Currently it is included when gnrc_zep OR ipv6_addr are present
2015-11-09 13:09:30 +01:00
Martine Lenders
8fc736a58f Merge pull request #4223 from OlegHahm/shell_netif_ipv6
shell netif: set correct MTU
2015-11-04 13:09:23 +01:00
Oleg Hahm
ee0f64bf36 shell netif: support setting the IPv6 hop limit 2015-11-04 18:16:40 +09:00
Oleg Hahm
67def10a80 shell netif: set correct MTU 2015-11-04 18:15:12 +09:00
Hauke Petersen
9052a09831 sys/auto_init: fix stack size for encx24j600 stack 2015-11-02 23:45:16 +01:00
Cenk Gündoğan
be7a34b1b8 Merge pull request #3157 from BytesGalore/fib_host_prefix_flags
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 16:38:55 +01:00
Martine Lenders
7b059647c5 Merge pull request #4207 from jfischer-phytec-iot/fix@gnrc_conn_recvfrom
sys/net/gnrc/conn/gnrc_conn.c: release pkt in gnrc_conn_recvfrom
2015-11-02 16:22:50 +01:00
BytesGalore
523d1f87ca net/fib: Added network prefix flag to indicate a network destination 2015-11-02 15:57:39 +01:00
Cenk Gündoğan
42c5666357 Merge pull request #4186 from cgundogan/pr/ipv6/last_vtimers
network_layer: remove last occurences of vtimer
2015-11-02 15:42:50 +01:00
Johann Fischer
8b456c9f4f sys/net/gnrc/conn/gnrc_conn.c: release pkt in gnrc_conn_recvfrom 2015-11-02 15:19:27 +01:00
Cenk Gündoğan
47a02d9d07 ipv6: ndp: sixlowpan: remove vtimer includes 2015-11-02 15:02:08 +01:00
BytesGalore
f7ecbbca5c Merge pull request #4202 from cgundogan/pr/rpl/dio_send_pktbuf_refactor
rpl: refactor send_dao to use pktbuf properly
2015-11-02 12:59:20 +01:00
Cenk Gündoğan
1c92c6d933 Merge pull request #4205 from BytesGalore/fib_clean_fibtable_doxy
net/fib: changed the `fib_table_t` doxy to be a bit more informative
2015-11-02 12:52:25 +01:00
BytesGalore
24c48181b9 net/fib: changed the fib_table_t doxy to be a bit more informative 2015-11-02 11:21:32 +01:00
BytesGalore
6c49ec27e0 net/fib: use UNIVERSAL_ADDRESS_SIZE instead of substitute 2015-11-02 08:32:04 +01:00
Cenk Gündoğan
263c8feb20 rpl: release pkt in send_dao 2015-11-01 20:51:09 +01:00
Cenk Gündoğan
a2716fa1b1 rpl: refactor send_dio to use pktbuf properly 2015-11-01 20:50:00 +01:00
Oleg Hahm
c3c1a8162f Merge pull request #4194 from kaspar030/fix_gnrc_netreg_register_assertion
sys: net: gnrc_netreg: check for msg queue of registered thread, not …
2015-11-01 00:24:15 +09:00
3c5a36fe40 Merge pull request #3859 from OlegHahm/uart_stdio_uninitialized
stdio: remove superfluous mutex_lock in init
2015-10-31 12:17:13 +01:00
Oleg Hahm
ee8aae7593 uart_stdio:mutex_lock is no longer needed for init
...since the introduction of the new ringbuffer.
2015-10-31 19:53:54 +09:00
a6498cb165 sys: net: gnrc_netreg: check for msg queue of registered thread, not registering 2015-10-31 11:18:00 +01:00
Cenk Gündoğan
8af4a705b3 Merge pull request #4143 from OlegHahm/ping_live_stats
shell: periodic statitics for ping6
2015-10-31 07:19:27 +01:00
Oleg Hahm
af6d102162 shell: add ping6 parameter for periodic stats 2015-10-31 10:03:22 +09:00
Cenk Gündoğan
26e67b86b5 Merge pull request #4161 from kaspar030/add_fmt
sys: fmt: initial commit of simple string formatting library
2015-10-30 18:51:29 +01:00
Joakim Nohlgård
7635d3e94d netopt: Add support for IEEE 802.15.4 channel page option 2015-10-30 09:59:53 +01:00
39bb99e55d sys: fmt: add write() declaration (work around broken unistd.h) 2015-10-29 19:18:24 +01:00
1293e7a8b9 sys: fmt: initial commit of simple string formatting library 2015-10-29 19:18:24 +01:00
Cenk Gündoğan
78d5c1c6e5 rpl: check if dodag id is global or unique local 2015-10-29 13:11:26 +01:00
Cenk Gündoğan
206e027725 Merge pull request #3647 from BytesGalore/fib_source_routing
fib: initial source route support
2015-10-29 12:08:47 +01:00
Joakim Nohlgård
8b378d660f Merge pull request #4181 from gebart/pr/xtimer-small-cleanups
xtimer: small cleanups
2015-10-29 07:24:15 +01:00
Cenk Gündoğan
83e0c45259 Merge pull request #4176 from authmillenon/gnrc_ndp/fix/stop-rs-retransmissions-on-ra
gnrc_ndp: stop multicast RS retransmissions on RA reception
2015-10-28 21:40:28 +01:00
Cenk Gündoğan
3b825c2523 sixlowpan: use xtimer_now() instead of vtimer_now() 2015-10-28 21:15:11 +01:00
Cenk Gündoğan
023c0984b3 sixlowpan: switch ltimer to be an xtimer 2015-10-28 21:03:09 +01:00
Martine Lenders
23f8fecc04 Merge pull request #4157 from cgundogan/pr/nc/xtimer_nbr_sol_timer
nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer
2015-10-28 17:51:48 +01:00
Martine Lenders
45b30a8e91 posix_semaphore: make API POSIX compliant 2015-10-28 17:16:23 +01:00
Martine Lenders
5cef6bcc0a sema: apply rename to function and type names 2015-10-28 17:16:22 +01:00
Martine Lenders
ee4f79482a sem: rename to sema
To prevent name colisions with POSIX semaphores
2015-10-28 17:16:22 +01:00
Martine Lenders
4d6d48ca82 Merge pull request #4171 from authmillenon/gnrc_slip/fix/wired
gnrc_slip: set NETOPT_IS_WIRED
2015-10-28 15:53:17 +01:00
Cenk Gündoğan
4297972054 nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer 2015-10-28 15:24:45 +01:00
Martine Lenders
a4533920a7 Merge pull request #4177 from authmillenon/gnrc_ipv6_netif/fix/no-l2-addr
gnrc_ipv6_netif: don't skip rest of config for address less l2
2015-10-28 15:16:34 +01:00
Joakim Nohlgård
d1b4e7a70b xtimer: Rename _xtimer_now() -> _lltimer_now()
This matches _lltimer_set() and _lltimer_mask()
2015-10-28 13:54:54 +01:00
Joakim Nohlgård
d432bb42b0 xtimer: rename _mask -> _lltimer_mask 2015-10-28 13:52:25 +01:00
Joakim Nohlgård
07f95cfdfa xtimer: xtimer_spin_until(): value -> target 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
fb0322ee1b xtimer: Add spaces for readability 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e93840e68b xtimer: Use USEC_IN_NS for nanosleep 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
0fafe6c1a1 xtimer: small cleanups 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e8f33c2ca0 xtimer: Add parentheses to condition 2015-10-28 13:51:23 +01:00
Martine Lenders
f453d6461e gnrc_slip: set NETOPT_IS_WIRED
Fixes #4168
2015-10-28 13:41:51 +01:00
Martine Lenders
083c9442ab gnrc_ipv6_netif: don't skip rest of config for address less l2 2015-10-28 13:40:21 +01:00
Cenk Gündoğan
c78fd9f4ed Merge pull request #4159 from cgundogan/pr/netif/xtimer_rtr_adv_timer
netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer
2015-10-28 11:09:13 +01:00
Hauke Petersen
85e05d411e Merge pull request #4114 from haukepetersen/opt_periph_uart
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Peter Kietzmann
eaf1e29b31 Merge pull request #4179 from OlegHahm/ndp_l2_length_calculation
gnrc: ndp: fix calculation of L2 address length
2015-10-28 10:25:32 +01:00
Cenk Gündoğan
a979d0c72c netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer 2015-10-27 20:51:34 +01:00
Cenk Gündoğan
7490dc21a0 Merge pull request #4172 from cgundogan/pr/ndp/use_correct_timer
nc: ndp: add/use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle
2015-10-27 20:43:30 +01:00
BytesGalore
6c57582107 fib: initial source route support 2015-10-27 20:20:18 +01:00
Oleg Hahm
64a653496a gnrc: ndp: fix calculation of L2 address length
If no source address was provided by layer 2 or someone removed it, the calculation of its length is done using the length field from the Source/Target Link-layer Address option (https://tools.ietf.org/html/rfc4861#section-4.6.1). The length is specified as units of 8 octets. Hence, it should be multiplied by 8, not divided.
2015-10-27 20:13:50 +01:00
Martine Lenders
493597ec1d Merge pull request #3845 from cgundogan/pr/gnrc_sixlowpan_iphc/assert
gnrc_sixlowpan_iphc: move assert to a valid position
2015-10-27 20:11:47 +01:00
Cenk Gündoğan
c175273f96 Merge pull request #3693 from OlegHahm/remove_superfluous_icmpv6_hdr_build_functions
icmpv6: remove superfluous header build functions
2015-10-27 20:06:02 +01:00
Martine Lenders
7b6de128f7 Merge pull request #4149 from cgundogan/pr/ipv6/init_suffix
ipv6: initialize iid
2015-10-27 20:01:05 +01:00
Martine Lenders
8722699fb2 gnrc_ndp: stop multicast RS retransmissions on RA reception
6LoWPAN interfaces already do that, other interface happily continue
multicasting RSs even if a router was found.
2015-10-27 19:37:12 +01:00
Martine Lenders
ae567efc9a gnrc_ndp_internal: send RAs even when there are no PIOs 2015-10-27 19:33:52 +01:00
Cenk Gündoğan
fac55ca258 Merge pull request #4158 from cgundogan/pr/netif/xtimer_rtr_sol_timer
netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer
2015-10-27 19:27:43 +01:00
Cenk Gündoğan
b993914534 nc: ndp: add and use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle 2015-10-27 17:15:52 +01:00
Hauke Petersen
19bb76f600 net/slip: adjusted to UART interface changes 2015-10-27 14:59:39 +01:00
Hauke Petersen
f2086dda9a sys/uart_stdio: adapted to UART interface changes 2015-10-27 14:59:37 +01:00
Oleg Hahm
a0dcbc6a3c posix: sockets: use correct datatypes for in6_addr
in6addr_any and in6addr_loopback are of type in6_addr
2015-10-27 11:39:11 +01:00
Cenk Gündoğan
d587cf9cd4 netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer 2015-10-26 21:03:38 +01:00
Cenk Gündoğan
59a8b929f6 nc: use xtimer for gnrc_ipv6_nc_t::nbr_adv_timer 2015-10-26 16:59:16 +01:00
Cenk Gündoğan
56534e28f8 Merge pull request #4150 from cgundogan/pr/ndp/assert_nc_entry
ndp/internal: add assert and use dst instead of tgt to determine nc_entry
2015-10-26 16:56:42 +01:00
Cenk Gündoğan
c5acf0227d ipv6/addr: initialize iid part of an ipv6 address 2015-10-26 16:54:45 +01:00
Cenk Gündoğan
2065537368 Merge pull request #4123 from cgundogan/pr/nc/xtimer_rtr_timeout
nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout
2015-10-26 15:46:01 +01:00
Cenk Gündoğan
609cf7fb12 ndp/internal: use dst instead of tgt to determine the nc_entry 2015-10-26 15:35:47 +01:00
Cenk Gündoğan
e72bde5805 ndp/internal: add assert to test for nc_entry if target is non-unicast 2015-10-26 15:18:58 +01:00
Martine Lenders
5b37e1ad0c Merge pull request #4124 from cgundogan/pr/netif/xtimer_valid_timeout
netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout
2015-10-26 12:23:05 +01:00
Martine Lenders
1e87c078da Merge pull request #4010 from OlegHahm/gnrc_netapi_assert_queue
gnrc netreg: make message queue mandatory
2015-10-26 11:31:03 +01:00
Cenk Gündoğan
0258f29a5e nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout 2015-10-26 11:27:07 +01:00
Martine Lenders
4002db15d6 Merge pull request #4121 from cgundogan/pr/nc/xtimer_type_timeout
nc: use xtimer for gnrc_ipv6_nc_t::type_timeout
2015-10-26 11:11:37 +01:00
Oleg Hahm
2e342c7e9b gnrc netreg: make message queue mandatory
Any thread that registers for gnrc events (i.e. incoming packets) must provide a message queue.
2015-10-26 10:54:05 +01:00
Oleg Hahm
1d47cb6826 shell: move stats printing into its own function 2015-10-25 23:58:57 +00:00
Oleg Hahm
025c85f8dc shell: simplify ping6 parameter parsing
Removes some duplication.
2015-10-23 14:59:06 +00:00
Cenk Gündoğan
054bca637c Merge pull request #3737 from cgundogan/pr/rpl/instance_dodag_refactoring
rpl: refactoring of instances and dodags
2015-10-22 16:55:46 +02:00
Cenk Gündoğan
40e504de65 nc: use xtimer for gnrc_ipv6_nc_t::type_timeout 2015-10-22 15:55:46 +02:00
Cenk Gündoğan
9faa50201b Merge pull request #4050 from authmillenon/gnrc_pktbuf_static/enh/stats-chunk-addr
gnrc_pktbuf_static: print chunk addresses in stats
2015-10-22 15:53:12 +02:00
Martine Lenders
cffdb1c8e2 timex: introduce USEC_IN_NS constant 2015-10-21 19:45:58 +02:00
Cenk Gündoğan
d64fdbba3a rpl: refactoring of instances and dodags 2015-10-21 18:02:16 +02:00
BytesGalore
df54d2dbfb Merge pull request #4073 from cgundogan/pr/rpl/shell_cleanup_fix
sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice
2015-10-21 17:29:30 +02:00
Cenk Gündoğan
0146c1b1b9 netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout 2015-10-20 22:55:12 +02:00
Cenk Gündoğan
f796f6339c nc: minor doc fix 2015-10-20 22:02:21 +02:00
Cenk Gündoğan
beb3321132 nc: remove unused rtr_sol_timer 2015-10-20 19:05:42 +02:00
Martine Lenders
4e90fdf505 Merge pull request #4111 from cgundogan/pr/rpl/dao_refactoring_pktbuf
rpl: refactor dao sending to use appropriate pktbuf functions
2015-10-20 12:30:17 +02:00
Cenk Gündoğan
4412c3806b rpl: refactor dao sending to use appropriate pktbuf functions 2015-10-20 12:08:15 +02:00
Martine Lenders
3d4f373ba5 Merge pull request #3549 from authmillenon/sem/feat/initial
sem: initial import of a lightweight semaphore layer
2015-10-19 14:45:34 +02:00
Martine Lenders
de421cdf78 posix: use sem module for semaphore implementation 2015-10-19 14:12:31 +02:00
Martine Lenders
3ad9284357 sem: initial import of a lightweight semaphore layer 2015-10-19 14:12:30 +02:00
BytesGalore
8af6a6630d Merge pull request #4107 from cgundogan/pr/rpl/make_fib_rpl_aware
Introduce RPL awareness to fib entries
2015-10-19 11:50:19 +02:00
Cenk Gündoğan
7ecd6d4a8a fib: reduce scope of global vars to the scope of fib_table_t 2015-10-19 10:26:41 +02:00
Cenk Gündoğan
93d0c9a273 fib: fix doc 2015-10-18 21:41:42 +02:00
Cenk Gündoğan
298e0651ca rpl: use FIB_FLAG_RPL_ROUTE and inspect ext-flag of transit option 2015-10-18 21:16:31 +02:00
Cenk Gündoğan
5a4789573d fib: add flag to mark RPL routes 2015-10-18 21:00:30 +02:00
Thomas Eichinger
9a839c990a doc:netdev: mention get/set don't check for alignment of memory accessed 2015-10-16 12:14:56 +02:00
Ludwig Knüpfer
4ffbb89e66 doc: fix gnrc_ipv6_whitelist group and description 2015-10-13 19:55:29 +02:00
Joakim Nohlgård
ac1fcde44e Merge pull request #4066 from kaspar030/add_div
sys: add div.h, a header containing integer division functions
2015-10-13 15:10:15 +02:00
725473d9a6 sys: xtimer: make xtimer use div.h 2015-10-12 23:25:59 +02:00
35d06ac10c sys: add header for integer division using multiplication / shifts 2015-10-12 23:25:58 +02:00
Thomas Eichinger
7bf121903a Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026 netdev: add TX feedback events 2015-10-12 15:50:39 +02:00
Cenk Gündoğan
7e67f9e777 sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice 2015-10-09 14:27:18 +02:00
Cenk Gündoğan
dbe64987e1 Merge pull request #3688 from cgundogan/pr/rpl/leaf_node_operation
rpl: leaf/router node operation
2015-10-09 14:14:28 +02:00
Cenk Gündoğan
5d6ed7379d Merge pull request #3720 from cgundogan/pr/rpl/instance_id_generation
rpl: instance id generation
2015-10-08 16:39:55 +02:00
Cenk Gündoğan
bcb0d54028 Merge pull request #3758 from cgundogan/pr/bloom/static
sys/bloom: Pass buffer to bloom instead of using m/calloc
2015-10-08 16:35:28 +02:00
c2f6417bea sys: xtimer: add another safeguard against setting a timer in the past 2015-10-07 18:56:31 +02:00
Martine Lenders
a463279331 gnrc_pktbuf_static: print chunk addresses in stats 2015-10-05 14:18:56 +02:00
Cenk Gündoğan
e783191b2e sys/bloom: pass bitfield to bloom instead of allocating memory 2015-10-05 11:41:53 +02:00
Cenk Gündoğan
70c3be6f9e sc_gnrc_rpl.c: cmd for operation as leaf or router 2015-10-05 11:34:39 +02:00
Cenk Gündoğan
a689867031 rpl: leaf node operation 2015-10-05 11:34:39 +02:00
Oleg Hahm
9be2ea4285 Merge pull request #4028 from authmillenon/ifconfig/enh/6lo-ro
shell: ifconfig: fixes
2015-10-03 01:12:25 +02:00
Oleg Hahm
43c0d6129e shell ping: drop & consume duplicates immediately 2015-10-02 22:33:38 +02:00
Oleg Hahm
c92d35e1de shell: ping: set timeout to 1 second 2015-10-02 22:33:30 +02:00
Martine Lenders
1824f2d91a shell: ifconfig: remove unused variable 2015-10-02 16:45:21 +02:00
Martine Lenders
ef9a9b0e4f shell: ifconfig: make 6lo flag read-only 2015-10-02 16:43:03 +02:00
Oleg Hahm
df9457bd02 Merge pull request #4022 from OlegHahm/pktbuf_fixes
pktbuf: release correct snip in error case
2015-10-02 14:58:59 +02:00
Peter Kietzmann
10bddd5ca6 Merge pull request #3755 from daniel-k/pr/at30tse75x
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039 drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor 2015-10-02 13:34:21 +02:00
Oleg Hahm
f2e78453af gnrc IPv6: release correct pktsnip 2015-10-02 12:11:57 +02:00
Oleg Hahm
c309e43b73 gnrc pktbuf: satisfying my parentheses obsession 2015-10-02 12:10:43 +02:00
Oleg Hahm
e628fede2a ubjson: initialize variable
To get rid of a compiler warning.
2015-10-01 18:10:08 +02:00
Oleg Hahm
9b05f4e5c9 Merge pull request #4006 from OlegHahm/gnrc_netapi_nonblocking
gnrc netapi: switch to non-blocking IPC calls
2015-10-01 15:13:03 +02:00
Oleg Hahm
6532a761fe gnrc netapi: switch to non-blocking IPC calls
This is quite a major change for GNRC, but should prevent the system to hang completely due to full message queues.
2015-10-01 12:48:12 +02:00
Cenk Gündoğan
481fb7fc3b Merge pull request #4007 from cgundogan/pr/rpl/dao_entries_numof
rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries
2015-10-01 09:35:07 +02:00
Oleg Hahm
890d10181b Merge pull request #3768 from thomaseichinger/pr/osx_unitest_fixes
unittests: native: fixes for OS X
2015-10-01 08:47:25 +02:00
Oleg Hahm
e3045e8afe shell: drop duplicate ICMPv6 echo responses 2015-09-30 23:21:29 +02:00
Cenk Gündoğan
39da27915e rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries 2015-09-30 18:21:14 +02:00
Oleg Hahm
dbfe1c03cd Merge pull request #3991 from authmillenon/gnrc_netapi/fix/recover_msg
gnrc_netapi: recover from message send errors
2015-09-30 17:08:13 +02:00
Thomas Eichinger
9da61ab85a sys/ubjson: fix type definition for OS X
Header <sys/types.h> needs to be included for OS X to use size_t.
2015-09-30 15:29:32 +02:00
Thomas Eichinger
e93fd66dbb sys/cbor: change array initializer from const variable to #define
OS X clang complains "folded to constant array as an extension"
[-Wgnu-folding-constant]
2015-09-30 15:29:32 +02:00
Martine Lenders
001fdc5275 Merge pull request #3998 from gebart/pr/xtimer-long-term-fast-cpu-bug
sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
2015-09-30 12:40:08 +02:00
Cenk Gündoğan
d2a02ea582 Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats
gnrc_pktbuf_static: fix order of calling
2015-09-30 11:21:40 +02:00
Joakim Nohlgård
b365ab45cb sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
On a fast CPU with a slow timer (e.g. XTIMER_SHIFT > 0) it is possible
that now == _xtimer_now() when spinning for the overflow. In the extreme
case When this happens _next_period() will be called more than once
until the timer overflows for real.

Fault observed in real life when running on a 32.768 kHz timer on a
~96 MHz clocked mulle (Kinetis K60, Cortex-M4). _next_period() was
called 9 times during the same ISR call before the 32 kHz timer
overflowed.
2015-09-30 10:21:33 +02:00
Cenk Gündoğan
3f238980f7 rpl: incremental instance id generation 2015-09-29 19:34:59 +02:00
Cenk Gündoğan
f14ab00658 Merge pull request #3719 from cgundogan/pr/rpl/dodag_conf_prefix_info_request
rpl: make dodag_conf and prefix_info options requestable
2015-09-29 18:44:55 +02:00
Martine Lenders
f413e9b413 Merge pull request #3987 from authmillenon/gnrc_ipv6_nc/fix/undef-iface
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 18:29:35 +02:00
Cenk Gündoğan
6dce4e2069 Merge pull request #3983 from gebart/pr/rpl-debug-fix
rpl: Remove unused variable when building with ENABLE_DEBUG=1
2015-09-29 18:03:22 +02:00
Cenk Gündoğan
4cc5564c87 Merge pull request #3982 from authmillenon/gnrc_ipv6_whitelist/feat/initial
gnrc_ipv6_whitelist: initial import
2015-09-29 17:55:42 +02:00
Martine Lenders
891450d29d gnrc_netapi: recover from message send errors 2015-09-29 16:58:08 +02:00
Martine Lenders
7861434e34 gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal 2015-09-29 16:13:47 +02:00
Martine Lenders
e20451edd8 gnrc_pktbuf_static: fix order of calling 2015-09-29 15:27:49 +02:00
Joakim Nohlgård
b85ae4eeb3 rpl: Remove unused variable when building with ENABLE_DEBUG=1
Fixes
    /data/riotbuild/riotbase/sys/net/gnrc/routing/rpl/gnrc_rpl.c:28:13: error: 'addr_str' defined but not used [-Werror=unused-variable]
     static char addr_str[IPV6_ADDR_MAX_STR_LEN];
                  ^
when building with #define ENABLE_DEBUG (1)
2015-09-29 13:20:58 +02:00
effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Martine Lenders
a5c23f4c90 shell: provide shell command for whitelist 2015-09-28 16:59:53 +02:00
Martine Lenders
5291f3b2bd gnrc_ipv6_whitelist: initial import 2015-09-28 16:59:53 +02:00
Joakim Nohlgård
0c41304dcd sys/xtimer: Fix small typo in documentation 2015-09-28 14:23:27 +02:00
Joakim Nohlgård
983b299745 sys/xtimer: xtimer_set: Reduce scope on target variable 2015-09-28 14:23:23 +02:00
Joakim Nohlgård
7f254c6d12 sys/xtimer: rename _ms_to_sec -> _us_to_sec to reflect actual functionality
The function divides the argument by 1000000, (microsecond to seconds)
2015-09-28 14:23:16 +02:00
Oleg Hahm
4cfb8140e4 Merge pull request #3978 from LudwigOrtmann/pr/namechange
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Cenk Gündoğan
f4660e8ff5 rpl: request DODAG_CONF and PREFIX_INFO option from parent when joining a DODAG 2015-09-28 09:23:37 +02:00
Oleg Hahm
775a85565b Merge pull request #3976 from OlegHahm/6lowpan_unused_variable_fix
6lowpan: eliminate unused compiler warning
2015-09-27 21:01:06 +02:00
Oleg Hahm
57888f99a7 6lowpan: eliminate unused compiler warning
Fixes the bug that was introduced in b1ae07ca82 where the wrong datagram size was used.
2015-09-27 20:25:56 +02:00
Oleg Hahm
75a6c63137 Merge pull request #3975 from OlegHahm/doxygen_fixes_and_cleanup
Doxygen: some fixes and cleanup
2015-09-27 20:01:03 +02:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Oleg Hahm
f035bced0c doc: put network devices and sensors in subgroups 2015-09-27 18:25:43 +02:00
Oleg Hahm
71fd517aba Merge pull request #3972 from authmillenon/gnrc_ipv6/fix/multi-iface-dup
gnrc_ipv6: fix multi-interface packet duplication
2015-09-26 18:51:42 +02:00
Oleg Hahm
dad04d7635 Merge pull request #3963 from Kijewski/drop-skipjack
crypto: remove skipjack support
2015-09-26 11:50:20 +02:00
Joakim Nohlgård
49ef26dd7c Merge pull request #3971 from gebart/pr/xtimer-core-reference-now
xtimer-core: Use xtimer_now as reference time instead of future timer target
2015-09-26 07:13:43 +02:00
Martine Lenders
a19b0d8262 gnrc_ipv6: fix multi-interface packet duplication 2015-09-26 06:09:54 +02:00
Martine Lenders
f334a9aa1b gnrc_ipv6: remove unnecessary parameter to _send_multicast_over_iface 2015-09-26 06:09:37 +02:00
DipSwitch
9b726fe217 6low_frag: Fix RSSI, LQI and flags dropping in fragmentation reassembly 2015-09-26 01:06:02 +02:00
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
6f720306c9 doc: pnet should be part of POSIX sockets 2015-09-25 21:07:16 +02:00
Oleg Hahm
526f6fd5f8 doc: fix doxygen group for some gnrc headers 2015-09-25 21:07:16 +02:00
Joakim Nohlgård
75d0281ef3 xtimer-core: Use xtimer_now as reference time instead of future timer target 2015-09-25 16:12:06 +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
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
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
16151b06f7 gnrc_ndp: lifetimes might be 0 in RA options 2015-09-25 00:07:51 +02:00
René Kijewski
cecb4c8c56 crypto: remove skipjack support
Unused, unmaintained, buggy code for an unknown algorithm.
2015-09-25 00:05:18 +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
225dcaaf34 gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED 2015-09-24 21:21:25 +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
Martine Lenders
8b2e4d5ffa socket_base: remove deprecated header files 2015-09-24 15:45:37 +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
7cb3f9bd5e Merge pull request #3716 from kaspar030/ng_cc110x
drivers: add cc110x driver
2015-09-24 11:49:38 +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
dd69fd0cd3 gnrc_ndp_internal: add missing include 2015-09-24 01:36:54 +02:00
Martine Lenders
cc9aa3550d shell_commands: provide command for 6Lo context administration 2015-09-24 01:36:53 +02:00
Oleg Hahm
0cc4f57fc0 6lowpan: do not send NAs for new MC addresses 2015-09-24 00:03:06 +02:00
14d0ef6c4d drivers: add cc110x driver 2015-09-23 18:55:11 +02:00
Martine Lenders
771e7f40cd gnrc_ipv6_netif: a RA source MUST be link-local 2015-09-23 18:34:47 +02:00
Martine Lenders
320aa47200 Merge pull request #3876 from authmillenon/nhdp/enh/use-conn
nhdp: use conn instead of socket_base
2015-09-23 18:00:10 +02:00
Oleg Hahm
30885a2a2d pktbuf: correct size for printing chunk dumps 2015-09-23 16:44:45 +02:00
Martine Lenders
e06e85d65c gnrc_slip: reorder received packet correctly 2015-09-23 16:14:33 +02:00
Oleg Hahm
830bf36061 Merge pull request #3928 from authmillenon/gnrc_sixlowpan_nd/fix/opt-check
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-23 01:47:43 +02:00
Oleg Hahm
2a41861154 Merge pull request #3937 from OlegHahm/ipv6_nc_debug_fix
IPv6 nc: missing debug parameter
2015-09-22 23:35:13 +02:00
Martine Lenders
4508e22da8 Merge pull request #3646 from authmillenon/posix/feat/sockets
posix: redo socket API to use conn
2015-09-22 23:04:03 +02:00
Martine Lenders
624530c7d0 posix: redo socket API to use conn 2015-09-22 22:24:52 +02:00