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

2057 Commits

Author SHA1 Message Date
Dennis Kirsch
8c25ffeba8 gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi 2016-10-17 10:11:08 +02:00
Peter Kietzmann
359f3b5fc7 Merge pull request #5897 from miri64/ieee802154/enh/cleanup
ieee802154: clean-up (Intra-PAN behavior + broadcast)
2016-10-04 14:10:00 +02:00
DipSwitch
6a484d19cb ndp: fix debug in message in gnrc_ndp_internal_send_nbr_sol 2016-10-03 11:56:22 +02:00
Martine Lenders
a0454b3787 ieee802154: remove need for IEEE802154_BCAST flag 2016-09-30 14:57:05 +02:00
Martine Lenders
9f29e56020 netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag 2016-09-30 13:09:26 +02:00
Martine Lenders
ff2f9983f0 Merge pull request #5880 from OlegHahm/fix_debug_newlines
debug: add missing line breaks
2016-09-28 15:21:28 +02:00
Martine Lenders
6f0018f66a Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Oleg Hahm
b428979a1d debug: add missing line breaks 2016-09-27 23:38:41 +02:00
Martine Lenders
5dad8f1edd gnrc_pktbuf: allow for 0-sized payload snips 2016-09-27 21:49:57 +02:00
Cenk Gündoğan
ad6677b33f gnrc_rpl: netstats_rpl: introduce statistics 2016-09-27 20:40:04 +02:00
Martine Lenders
9874a6d69a Merge pull request #5811 from makomi/gnrc
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
Matthias Kolja Miehl
95baea86d6 sys/net/gnrc: gnrc_zep: fix nullPointer error 2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340 sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope 2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637 sys/net/gnrc: gnrc_ipv6_ext: fix variableScope 2016-09-05 02:23:59 +02:00
Martine Lenders
b43ffab953 Merge pull request #5515 from miri64/csma_sender/fix/adaptations
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Peter Kietzmann
cd548cad46 Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
9ba68cc88d Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
smlng
c1fe8d5d9d gnrc_rpl: fix prefix length 2016-08-25 16:35:17 +02:00
Martine Lenders
2c5fbab3ff Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Martine Lenders
bd230d3b63 gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function 2016-08-18 13:25:07 +02:00
Martine Lenders
b869102450 gnrc_udp: consider netif header in send dispatch 2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1 gnrc_udp: add missing duplitation step 2016-08-15 17:23:19 +02:00
Martine Lenders
72d177074b gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration 2016-08-12 14:06:58 +02:00
Martine Lenders
cf11a0dab7 Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
49521dcfd9 Merge pull request #5495 from miri64/netdev2/enh/type-changes
netdev2: some parameter type changes
2016-08-05 14:10:13 +02:00
Martine Lenders
d587046462 Merge pull request #5551 from miri64/gnrc_ipv6/enh/copy-flags
gnrc_ipv6: copy user flags from old netif headers
2016-08-05 14:09:31 +02:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
Johann Fischer
d111f1f465 netopt.c: extend _netopt_strmap 2016-07-27 00:15:27 +02:00
Martine Lenders
f844008a12 gnrc_netif_hdr: print flags 2016-07-26 21:06:36 +02:00
Martine Lenders
6d72cdb595 gnrc_ipv6: copy user flags from old netif headers
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Oleg Hahm
a2b9defc8b gnrc ipv6: convenient function to get the header 2016-07-22 16:34:52 +02:00
ec897a868c core, gnrc_netreg: remove redundant or unneeded clist.h include 2016-07-18 13:17:31 +02:00
Martine Lenders
e9bbd54f58 Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Yonezawa-T2
0de34c91c6 gnrc_ipv6: validates payload size 2016-06-07 10:01:23 +09:00
Martine Lenders
3c9e8ac80d csma_sender: allow for multi-interface configuration 2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e csma_sender: assure preconditions 2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea csma_sender: port to netdev2 2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c csma_sender: doc fixes 2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae csma_sender: some style fixes 2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b csma_sender: proper prefixing for public functions and macros 2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c csma_sender: adapt for changes in master 2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e csma_sender: fix dependencies 2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca Merge pull request #4178 from rousselk/csma-sender
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
Martine Lenders
98949f5cb4 Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640 Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad sixlowpan_print: fix dump for elided source/destination address 2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01 Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0 Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93 gnrc_sixlowpan_iphc: propagate UDP decode error 2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3 gnrc_sixlowpan_iphc: fix compile error for debug output 2016-06-03 11:33:08 +09:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
3ad195963d drivers: netdev2: rename isr_arg 2016-06-02 11:11:40 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
Cenk Gündoğan
0613c8faf4 gnrc_rpl: validation configurable on compile-time 2016-06-01 09:07:55 +02:00
Cenk Gündoğan
25baea1e50 gnrc_rpl: separate validation from msg handling 2016-06-01 09:05:24 +02:00
Cenk Gündoğan
2f9a37a624 gnrc_rpl: move len macros to header file 2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0 Merge pull request #5440 from cgundogan/pr/auto_init/rpl
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639 Implement NETOPT_ACK_REQ configuration option.
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Cenk Gündoğan
1b4607ab43 auto_init: initialize gnrc_rpl 2016-05-31 22:13:32 +02:00
Cenk Gündoğan
5c42d430ec rpl_p2p: rm non-existing fib flag 2016-05-31 11:03:19 +02:00
Oleg Hahm
6707c20b7d netstats: initial import of IPv6 netstats 2016-05-25 14:44:53 +02:00
Cenk Gündoğan
218ec47426 Merge pull request #5447 from cgundogan/pr/ndp/check_null
gnrc_ndp: check nc_entry before using it
2016-05-18 07:30:21 +02:00
Oleg Hahm
00ebb4b2ed gnrc: netapi: assert for correct ACK msg type 2016-05-17 22:33:49 +02:00
Cenk Gündoğan
1791ef5581 gnrc_ndp: check nc_entry before using it 2016-05-17 09:52:16 +02:00
Martine Lenders
4a13324abb Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Martine Lenders
b8787b64c4 Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750 Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be gnrc_ipv6: fix asserts for NHC 2016-04-22 10:11:38 +02:00
Yonezawa-T2
3e70191aee Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Francesco Ermini
9fa4684203 drivers/xbee: encryption support
add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix sc_netif.c

fix rebase master interactive

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix rebase  conflict 4

fix same missing in patches changes

fix ascii to hex index parser

fix syntax rules

fix syntax issue 2

add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY

fix trailng white spaces
2016-04-20 17:43:09 +02:00
kYc0o
d071b2a23d Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Hauke Petersen
4ace70199e Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
8968b7602f gnrc_ndp: don't let addresses timeout
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe gnrc_ipv6: remove superfluous check for if_entry 2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db gnrc_sixlowpan_iphc: fix comparison signage 2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34 Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Martine Lenders
f86bf8c9cd gnrc_rpl: use non-stack variable for link-local matching 2016-04-18 17:14:27 +02:00
Oleg Hahm
8690a888f5 Merge pull request #5295 from OlegHahm/msg_init_queue_assert
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
d64b922db0 Revert "gnrc ipv6: replace check by assert"
This reverts commit 856e1ee0d2.
2016-04-17 14:06:54 +02:00
Oleg Hahm
bb35913840 core: assert correct msq queue size on creation
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
592558ff33 sys: net: gnrc: fix IS_WIRED netopt call 2016-04-13 15:22:36 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
af96279c40 gnrc/nhdp: Remove _t from struct names 2016-04-11 21:46:54 +02:00
edb5f08e5f sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix 2016-04-11 17:03:28 +02:00
8f2e1d2a3f sys: net: gnrc: uhcp: consider non-ethernet device as wireless 2016-04-11 17:03:28 +02:00
228d642abe sys: net: gnrc: uhcpc: only start if multiple interfaces found 2016-04-11 17:03:28 +02:00
376b5646ea sys: net: gnrc: uhcpc: fix pedantic errors 2016-04-11 17:03:28 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
Cenk Gündoğan
c0790aaa52 gnrc_sixlowpan_ctx: use correct member for ctx id in debug 2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1 Merge pull request #5191 from malosek/inet_csum_16bit_fix
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767 gnrc: use correct l2addr print len 2016-04-10 16:31:38 +02:00
Cenk Gündoğan
6f9d3a15ac gnrc_rpl: reduce scope of now 2016-04-08 19:55:07 +02:00
Oleg Hahm
a59e100d41 ieee802154: replace literals for lengths by macros 2016-04-04 15:24:47 +02:00
BytesGalore
8589e8f5bc fib: removed obsolete check for default route match 2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3 fib: use return constants for universal_address_compare() 2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68 gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet 2016-04-02 07:52:47 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Peter Kietzmann
dcafbb8d0c Merge pull request #4835 from authmillenon/netdev2_test/feat/init
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b netdev2_test: initial import
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00