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

969 Commits

Author SHA1 Message Date
Martine Lenders
281b0ba46e Merge pull request #4343 from kb2ma/misc/fix-checksum
Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.
2015-12-03 13:16:12 +01:00
Hauke Petersen
0b15943cc1 Merge pull request #4373 from haukepetersen/opt_ipv6_addr
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-03 12:11:14 +01:00
Oleg Hahm
c96c5dda24 IPv6 netif: documentation ammendment 2015-12-02 18:11:55 +01:00
Oleg Hahm
b366e59c87 conn: add function to find the best source address
...and use it in POSIX sendto() function.
2015-12-02 18:11:55 +01:00
Ken Bannister
835a2d8a27 Add inet_csum_slice() to fix checksum for a sliced layer 4 payload
Padding for an odd number of bytes was not calculated properly.
2015-12-02 05:53:52 -05:00
Hauke Petersen
da39b3e939 net/gnrc/ipv6: de-inlined ipv6_addr_equal 2015-12-01 18:54:35 +01:00
Hauke Petersen
6134dc80fd sys/phydat: fixed typos in documentation 2015-12-01 14:34:59 +01:00
e53dc6f5e2 Merge pull request #3538 from haukepetersen/add_sensif_actif
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Oleg Hahm
218b3a4c3a Merge pull request #4138 from rousselk/netopt-cca-threshold
Add a netopt for getting and setting CCA threshold
2015-12-01 01:47:14 +01:00
Hauke Petersen
6d14d429e6 sys: added SAUL registry 2015-11-30 20:33:53 +01:00
Hauke Petersen
786895a378 sys: added module for handling physical data 2015-11-30 20:33:53 +01:00
Lucas Jenss
ddaa9863f2 Add 256 byte block hamming code implementation 2015-11-30 20:08:36 +01:00
Kévin Roussel
be49059c65 Add NETOPT_CCA_THRESHOLD option to the 'netopt_t' list 2015-11-30 13:07:00 +01:00
Martine Lenders
63770e17b5 Merge pull request #4352 from authmillenon/doc/fix/gnrc_netdev2
gnrc_netdev2: fix documentation
2015-11-27 16:25:20 +01:00
Martine Lenders
8d94765c20 gnrc_netdev2: fix documentation 2015-11-27 15:07:57 +01:00
Martine Lenders
ce06027760 gnrc_netdev2: remove unrequired forward declaration 2015-11-27 15:07:57 +01:00
Martine Lenders
2b6bea0196 Merge pull request #4299 from authmillenon/gnrc_netif_hdr/opt/un-inline
gnrc_netif_hdr: un-inline build function
2015-11-27 15:07:29 +01:00
Martine Lenders
507b4381d2 Merge pull request #4335 from authmillenon/gnrc_netdev2/enh/namescheme
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 14:16:42 +01:00
Martine Lenders
74722888f6 gnrc_netif_hdr: un-inline build function 2015-11-27 13:19:50 +01:00
Martine Lenders
3c00cec299 gnrc_netdev2: harmonize naming scheme to rest of GNRC 2015-11-27 13:03:37 +01:00
test
5bb6df9c6d doc: ndp: remove GNRC_ from PIO flags 2015-11-26 23:40:30 +01:00
René Kijewski
ab3345ac5a Merge pull request #4321 from kaspar030/cleanup_posix
sys: cleanup posix compat code
2015-11-26 20:39:30 +01:00
Martine Lenders
7af2a62b12 Merge pull request #4110 from authmillenon/posix/api/i4109
posix_semaphore: make API POSIX compliant and port to xtimer (+ fixes)
2015-11-24 15:04:44 +01:00
Martine Lenders
d104cff214 sema: port to xtimer 2015-11-24 10:46:06 +01:00
fab1681735 sys: div: add div/mod 44488 (needed for minstd prng) 2015-11-24 06:52:39 +01:00
test
1f2c674026 rpl: reuse timer for periodic daos 2015-11-20 10:06:07 +01:00
41ece232fa sys: remove obsolete posix_io code 2015-11-20 00:43:57 +01:00
Hauke Petersen
421e69030a Merge pull request #4315 from haukepetersen/doc_periph_fixes
doc: various fixes related to 'periph'
2015-11-19 22:59:26 +01:00
BytesGalore
6292b165b8 Merge pull request #4297 from cgundogan/pr/rpl/cleanup_refactor
rpl: reuse _lt_timer for cleanup
2015-11-19 21:01:03 +01:00
Hauke Petersen
95086da431 doc/drivers/sys: fixed all refs to drivers_periph_xx 2015-11-19 16:09:25 +01:00
127495b1b2 Merge pull request #4311 from kaspar030/remove_div_u32_by_10
sys: div: remove div_u32_by_10() (and _mod_10())
2015-11-19 15:35:29 +01:00
e98237a26f sys: div: remove div_u32_by_10() 2015-11-19 13:29:10 +01:00
test
bbe1b6f125 rpl: reuse xtimer for cleanup 2015-11-17 19:00:18 +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
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
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
ce6b6b84fc rpl: decrease default numbers 2015-11-09 14:56:51 +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
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
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
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
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
1293e7a8b9 sys: fmt: initial commit of simple string formatting library 2015-10-29 19:18:24 +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
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
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
Cenk Gündoğan
4297972054 nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer 2015-10-28 15:24:45 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
a689867031 rpl: leaf node operation 2015-10-05 11:34:39 +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
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
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
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
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
75a6c63137 Merge pull request #3975 from OlegHahm/doxygen_fixes_and_cleanup
Doxygen: some fixes and cleanup
2015-09-27 20:01:03 +02:00
Oleg Hahm
f035bced0c doc: put network devices and sensors in subgroups 2015-09-27 18:25:43 +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
Oleg Hahm
526f6fd5f8 doc: fix doxygen group for some gnrc headers 2015-09-25 21:07:16 +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
185f63f768 sys: add thread-safe ringbuffer implementation 2015-09-25 09:08:34 +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
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
Martine Lenders
dd69fd0cd3 gnrc_ndp_internal: add missing include 2015-09-24 01:36:54 +02:00
Martine Lenders
fda6155071 Merge pull request #3615 from authmillenon/conn/feat/initial
conn: Initial import of a light-weight network application API
2015-09-21 20:47:08 +02:00
Martine Lenders
ef9acf6aee gnrc: add GNRC-specific conn implementation 2015-09-21 16:56:27 +02:00
Martine Lenders
b87a3eab89 conn: Initial import of a light-weight network application API 2015-09-21 16:56:27 +02:00
Oleg Hahm
682bde25d9 6lowpan nd: check right NCE in AR handling
When checking the address registration option, the address has to be passed in order to check the correct neighbor cache entry.
2015-09-21 09:25:12 +02:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
Oleg Hahm
e15bdd257a debug: replace __FILE__ by RIOT_RELATIVE_FILE 2015-09-20 01:51:47 +02:00
Martine Lenders
802e229bcb gnrc_sixlowpan_nd: register new addresses for AAC 2015-09-18 00:23:12 +02:00
Martine Lenders
1682b76866 gnrc_ndp_internal: adapt nbr_sol send function to get src 2015-09-18 00:23:12 +02:00
Martine Lenders
15e6e65b11 Merge pull request #3841 from OlegHahm/slip_write_blocking
gnrc slip: use blocking uart writing
2015-09-17 13:55:56 +02:00
Oleg Hahm
73fe4d4e55 gnrc slip: use blocking uart writing 2015-09-17 11:48:43 +02:00
Martine Lenders
a19a04c753 Merge pull request #3853 from OlegHahm/6lowpan_nd_router_fixes
6lowpan nd router fixes
2015-09-17 01:37:39 +02:00
Oleg Hahm
af0ed51559 Merge pull request #3839 from OlegHahm/6lr_fixes
6lowpan nd: router fixes
2015-09-17 00:43:40 +02:00
Oleg Hahm
b15660033a sixlowpan nd: send actually router advertisements 2015-09-16 23:59:43 +02:00
Oleg Hahm
596ef55641 6lowpan nd: join all routers multicast group
A 6LR should join the all routers multicast group as soon as it turns
into a router which is indicated by setting the router advertisement
flag.
2015-09-16 23:53:08 +02:00
a719e7d61f sys: xtimer: some updates
- more robust underflow protection in xtimer_usleep_until()
- use relative target in xtimer_spin()
- honour reference in isr when spinning until timer target
- add XTIMER_BACKOFF to xtimer_spin_until() target when backing off in
  _timer_set_absolute()
- doxygen updates
2015-09-16 12:34:31 +02:00
9203115cdc sys: xtimer: fix xtimer_spin_until() for <32bit timers, add safety microsecond to xtimer_spin() 2015-09-16 11:13:41 +02:00
bd19a903ab sys: xtimer: add slow-timer-read compensation + test application 2015-09-16 11:13:41 +02:00
691fe95546 sys: xtimer: use XTIMER_SHIFT in mask, add doxygen 2015-09-16 10:58:56 +02:00
5a485c3f73 sys: net: fib: switch to xtimer 2015-09-16 10:58:56 +02:00
Cenk Gündoğan
50392b6256 rpl: switch to xtimer 2015-09-16 10:58:56 +02:00
e27ce2465f sys: xtimer: add xtimer_wakeup64 2015-09-16 10:58:54 +02:00
5e7036eed9 sys: introduce vtimer_compat 2015-09-16 10:58:51 +02:00
2cee6b036b sys: remove vtimer 2015-09-16 10:58:51 +02:00
Cenk Gündoğan
052ad7cd51 trickle: switch to xtimer 2015-09-16 10:58:50 +02:00
Cenk Gündoğan
4b7a3ed236 rpl/structs.h: include vtimer 2015-09-16 10:58:50 +02:00
Oleg Hahm
f8f74468b3 Merge pull request #3822 from authmillenon/ipv6_addr/enh/opt-ipv4-sup
ipv6_addr: make IPv4 compatible addresses optional
2015-09-15 10:47:36 +02:00
Oleg Hahm
f762d2aab2 Merge pull request #3830 from DipSwitch/fix_udp_documentation
doc: Fix documentation for UDP
2015-09-13 19:10:45 +02:00
Martine Lenders
e7bbbf080b Merge pull request #3813 from OlegHahm/sixlowpan_nd_router_deps
gnrc: 6lowpan-nd: some broken router dependencies
2015-09-12 15:58:11 +02:00
DipSwitch
684eff4541 doc: Fix documentation for UDP 2015-09-12 12:54:56 +02:00
Martine Lenders
85c1c17090 ipv6_addr: make IPv4 compatible addresses optional 2015-09-11 20:03:46 +02:00
Martine Lenders
93a92dfa03 Merge pull request #3134 from authmillenon/ng_sixlowpan/feat/6lo-nd
gnrc_sixlowpan_nd_border_router: initial import of border router behavior of 6LoWPAN-ND
2015-09-11 19:58:36 +02:00