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

48 Commits

Author SHA1 Message Date
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
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
Martine Lenders
7bbb5d62b0 6lowpan IPHC: set dest context to DCI field not SCI 2015-09-24 23:21:15 +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
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
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
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
542c1e82ac gnrc_sixlowpan_nd: fix 6ctx option check 2015-09-22 14:36:44 +02:00
Martine Lenders
3448569eb8 Merge pull request #3916 from OlegHahm/6lowpan_rtr_adv_mc_timer
6lowpan nc: rtr sol timer expects an interface
2015-09-22 11:28:44 +02:00
Oleg Hahm
f0e2f50713 6lowpan nc: rtr sol timer expects an interface 2015-09-22 10:53:08 +02:00
Oleg Hahm
f3f4d61f93 sixlowpan nd: 6LBR shouldn't send rtr sol over 6lo 2015-09-21 23:21:22 +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
Oleg Hahm
effe7bbde0 6lowpan: 6LBR need to initialize rtr adv interval 2015-09-20 21:42:20 +02:00
Martine Lenders
f3b9e5fa8e gnrc_sixlowpan_nd_router: cast before shifting
`avr-gcc` was complaining about shifting the value out of the width of
type. This is a fix for that.
2015-09-20 16:04:30 +02:00
Martine Lenders
b3c16b3abc Merge pull request #3892 from authmillenon/gnrc_sixlowpan_nd/fix/nd-state-machine
gnrc_sixlowpan_nd: activate NC state machine
2015-09-19 04:04:45 +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
79c1240590 gnrc_sixlowpan_nd: activate NC state machine 2015-09-18 00:12:19 +02:00
Oleg Hahm
d8824bd0c5 6lowpan nd: tentative NCE is like no NCE 2015-09-17 12:47:56 +02:00
Oleg Hahm
3c6202e8ed sixlowpan nd: ignore empty eui64 in neighbor cache 2015-09-17 11:11:26 +02:00
Oleg Hahm
d7546d0f0c sixlowpan nd: add missing breaks for switch-case 2015-09-17 11:11:26 +02:00
Martine Lenders
108043594a Merge pull request #3846 from OlegHahm/6lbr_address_resolution
6lowpan nd: always perform l2 lookup for 6LBR
2015-09-17 10:14:12 +02:00
Martine Lenders
371240e8de Merge pull request #3874 from authmillenon/gnrc_sixlowpan_nd/fix/resched-nbr-sol
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 10:07:41 +02:00
Oleg Hahm
60be8fac83 sixlowpan nd: check for a potential NCE first 2015-09-17 08:56:28 +02:00
Oleg Hahm
3fee605300 6lowpan nd: always perform l2 lookup for 6LBR 2015-09-17 08:47:56 +02:00
Martine Lenders
1761b7b648 Merge pull request #3873 from OlegHahm/sixlowpan_nd_router_lifetime
6lowpan nd: set router lifetime to a default value
2015-09-17 02:30:31 +02:00
Oleg Hahm
a1158092a4 sixlowpan nd: move set_rtr_adv function to router 2015-09-17 02:08:52 +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
Martine Lenders
b1e98e3337 gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations 2015-09-17 01:28:11 +02:00
Oleg Hahm
b28dd897f2 6lowpan nd: set router lifetime to a default value 2015-09-17 01:23:37 +02:00
Oleg Hahm
dbb754e131 6lbr: check registered flag only for 6LoWPAN ifs 2015-09-16 23:58:55 +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
Oleg Hahm
dc225e2861 6lowpan nd: check for link-local first 2015-09-11 22:56:23 +02:00
Martine Lenders
4da5c8095c gnrc: adapt for gnrc_sixlowpan_nd_border_router 2015-09-11 16:45:43 +02:00
Martine Lenders
e6c96cde53 gnrc_sixlowpan_nd_border_router: initial import 2015-09-11 16:45:38 +02:00
Martine Lenders
a6625e86d3 gnrc_sixlowpan: document behavior for blackbox testing 2015-09-11 11:28:33 +02:00
Martine Lenders
639fd0068e Merge pull request #3807 from OlegHahm/sixlowpan_nd_rtr_sol
gnrc: 6lowpan: router solicitation retransmission fixes
2015-09-10 13:54:56 +02:00
Oleg Hahm
46939f9c25 6lowpan: boundaries for rtr sol retransmissions
Also avoid setting the retransmission time to 0.
2015-09-10 13:16:17 +02:00
Martine Lenders
132f5e1b9c gnrc_sixlowpan_nd_router: initial import 2015-09-10 02:13:44 +02:00
Martine Lenders
2a1c243ad2 gnrc_sixlowpan_nd: initial import 2015-09-08 20:37:36 +02:00
Martine Lenders
52c57be621 gnrc_sixlowpan: don't send packets that exceed maximum datagram size 2015-08-21 22:51:54 +02:00
Martine Lenders
ab9d57dec5 gnrc_sixlowpan_iphc: set correct length for IPv6 header 2015-08-20 12:35:44 +02:00
Martine Lenders
6dc125e08b gnrc_sixlowpan: compare with actual packet size for fragmentation
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00