11aa30625f
sys/net/gnrc: fix typos
...
- 'Busses' -> 'Buses'
- 'wether' -> 'whether'
- 'inferface' -> 'interface'
- 'registartion' -> 'registration'
- 'divisable' -> 'dividable'
- 'anounce' -> 'announce'
2020-10-02 08:13:18 +02:00
benpicco
6cb8da7813
Merge pull request #14950 from jia200x/pr/ieee802154/submac
...
ieee802154_submac: add initial support for common MAC sub layer
2020-10-01 11:31:52 +02:00
Simon Brummer
132882df73
gnrc_tcp: Replace xtimer with evtimer
2020-10-01 11:30:00 +02:00
Jose Alamos
9ebc3f8bd8
auto_init/nrf52840: add support for SubMAC
2020-10-01 10:55:55 +02:00
Jose Alamos
1de5b34adf
auto_init/cc2538_rf: add support for SubMAC
2020-10-01 10:55:55 +02:00
Jose Alamos
e100a67099
ieee802154_submac: add initial implementation
2020-09-30 17:25:31 +02:00
Akshai M
a9f7b88624
net/lora : Change defaults
...
Change 'CONFIG_LORA_SF_DEFAULT' to 'SF7' and
'CONFIG_LORA_CR_DEFAULT' to 'LORA_CR_4_5' to
allow shorter air times and make it easier to meet country
specific regulations.
2020-09-30 20:00:03 +05:30
Akshai M
aa83367b4b
net/lora : Expose to Kconfig
2020-09-30 20:00:03 +05:30
Jose Alamos
fda73fdf0a
gnrc_lorawan: uncrustify files
2020-09-30 14:18:54 +02:00
Jose Alamos
71bda3bcd8
gnrc_lorawan: remove GNRC specific dependencies
2020-09-30 14:18:54 +02:00
Jose Alamos
0162a16d82
gnrc_lorawan: fix BUSY logic
2020-09-30 14:18:54 +02:00
Jose Alamos
2e6ba90435
gnrc_lorawan: refactor rx_done callback
2020-09-30 14:18:54 +02:00
Jose Alamos
5146261f03
gnrc_lorawan: rename radio event functions
2020-09-30 14:18:54 +02:00
benpicco
0bc80250cf
Merge pull request #15101 from benpicco/sys/net/uhcp-log
...
sys/net/uhcp: use LOG_xxx functions
2020-09-30 11:08:53 +02:00
Martine Lenders
9631576b22
gnrc_ipv6_nib: make ARO extra status codes also available without 6LN
2020-09-29 10:45:12 +02:00
Martine Lenders
04f6e06dd4
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
...
Non-routing 6LNs do not have to join the solicited nodes address, so
probing for a neighbor using that address may be in vain and only
spamming the LLN with unnecessary messages. RFC 6775 basically assumes
this in section 5.2:
> There is no need to join the solicited-node multicast address, since
> nobody multicasts NSs in this type of network.
2020-09-29 10:45:12 +02:00
Benjamin Valentin
f163f1580b
sys/net/uhcp: use LOG_ functions
...
Using `gnrc_border_router` with `uhcp` is quite noisy.
uhcpc will regularly refresh the prefix and print a bunch of status messages.
Allow the user to tone it down by setting a higher `LOG_LEVEL`.
For this, convert calls to `printf()` and `puts()` to `LOG_xxx()`.
This requires a dummy header for `uhcpd`.
2020-09-29 09:55:28 +02:00
Leandro Lanzieri
0cd94c7c67
sys/net: remove unused routing directory
2020-09-24 17:32:34 +02:00
Martine Lenders
555c62de51
gnrc_ipv6_nib: set NCE stale on incoming ARO
...
In accordance with RFC 6775, section 5.2 an NCE should be set STALE
when an ARO renews the address registration for the address:
> The routers SHOULD NOT garbage-collect Registered NCEs (see
> Section 3.4), since they need to retain them until the Registration
> Lifetime expires. Similarly, 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. A renewed ARO should mark the cache entry as
> STALE. Thus, for 6LoWPAN routers, the Neighbor Cache doesn't behave
> like a cache. Instead, it behaves as a registry of all the host
> addresses that are attached to the router.
2020-09-24 13:13:43 +02:00
Martine Lenders
711ea275e9
Merge pull request #15042 from maribu/gnrc_dont_include_xtimer_when_not_used
...
sys/net/gnrc/netif: Fix compilation on waspmote-pro
2020-09-23 13:37:36 +02:00
Martine Lenders
5e4c285323
Merge pull request #15056 from maribu/gnrc_pktbuf_static_alignment
...
sys/net/gnrc/pktbuf_static: Fix alignment
2020-09-22 17:07:07 +02:00
Marian Buschsieweke
28d4bf7751
sys/net/gnrc/pktbuf_static: Fix alignment
...
The buffer _pktbuf was previously only aligned to a 1 byte boundary. This could
result in run time issues.
2020-09-22 15:04:56 +02:00
Marian Buschsieweke
8a5d301caa
sys/net/gnrc/netif: Fix compilation on waspmote-pro
...
xtimer.h must not be included, when the xtimer module is not use. Otherwise
compilation on the waspmote-pro with https://github.com/RIOT-OS/RIOT/pull/14799
will not longer work. gnrc_netif_pktq includes xtimer.h and uses xtimer, but
gnrc_netif includes gnrc_netif_pktq.h regardless of whether gnrc_netif_pktq
is used. This makes sure that gnrc_netif_pktq.h is only included when actually
used.
2020-09-22 11:51:09 +02:00
Marian Buschsieweke
1d1b446d6b
sys/net/gnrc/netif: use IS_USED macro
2020-09-22 11:50:18 +02:00
Hauke Petersen
3b424858de
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 11:43:00 +02:00
Marian Buschsieweke
0cb274c1eb
sys/net/gnrc: Fix include of xtimer.h
...
Make sure xtimer.h is only included if the xtimer module is actually used, as
otherwise compilation for the waspmote-pro fails.
2020-09-16 19:55:43 +02:00
Francisco
cb6b65e7ff
Merge pull request #14886 from miri64/gnrc/fix/circ-deps
...
gnrc: remove circular module dependencies
2020-09-09 09:06:28 +02:00
Martine Lenders
ec436b9069
Merge pull request #14963 from miri64/gnrc_sock_ip/fix/sock
...
gnrc_sock_ip: fix NULL pointer dereference
2020-09-08 17:15:25 +02:00
Martine S. Lenders
7d47484170
gnrc_sock_ip: fix NULL pointer dereference
2020-09-08 13:05:10 +02:00
Martine S. Lenders
2cf5b3c185
gnrc_ipv6_hdr: make HDR_NETTYPE dependent on nettype module
...
In #13994 this was introduced but overlooked here.
2020-09-08 12:53:29 +02:00
Martine S. Lenders
0e3443d006
gnrc_netif: guard usage of gnrc_ipv6 member
2020-09-08 12:53:29 +02:00
Martine S. Lenders
4fe7bb003a
gnrc_ipv6_nib: add missing header includes
2020-09-08 12:53:29 +02:00
Benjamin Valentin
471e81d544
ieee802154: add definitions & config options for MR-FSK
2020-09-07 15:40:56 +02:00
benpicco
c7993b6140
Merge pull request #14961 from miri64/gnrc_rpl/fix/check-idx
...
gnrc_rpl: check index after fetching address from netif
2020-09-07 14:24:44 +02:00
benpicco
a084430be3
Merge pull request #14883 from miri64/gnrc_ipv6_nib/fix/ipv6_addr_idx-check
...
gnrc_ipv6_nib: check return value of gnrc_netif_ipv6_addr_idx()
2020-09-07 14:24:17 +02:00
benpicco
a336fdc918
Merge pull request #11263 from miri64/gnrc_netif/new/pktq
...
gnrc_netif: add packet to queue when device is busy
2020-09-07 13:59:58 +02:00
Leandro Lanzieri
40b52e1d72
Merge pull request #14321 from akshaim/Kconfig_cord
...
net/cord : Expose configurations to Kconfig
2020-09-07 11:45:17 +02:00
Martine S. Lenders
91dfee7ee0
gnrc_ipv6_nib: fix duplicate handling for ARO
...
When `nce` is NULL on the duplicate check, the later re-fetching of the
`nce` might result in an actual NCE entry that then contains a
duplicate, so we need to re-check the EUI-64 again as well.
2020-09-07 08:42:50 +02:00
Martine S. Lenders
f9c3e5f5a4
gnrc_ipv6_nib: check return value of gnrc_netif_ipv6_addr_idx()
...
And acquire exclusive network interface access when necessary.
Fixes #14752 .
2020-09-07 08:42:50 +02:00
Martine S. Lenders
f7913b3d47
gnrc_rpl: check index after fetching address from netif
2020-09-07 08:39:29 +02:00
Leandro Lanzieri
e24a64fd64
Merge pull request #14926 from akshaim/Kconfig_dtls
...
net/sock/dtls : Expose configuration to Kconfig
2020-09-04 14:49:23 +02:00
Akshai M
55fe4a464f
net/sock : Update documentation
...
Added net_sock_conf super group and updated sock_util to the super
group.
2020-09-04 16:29:13 +05:30
Akshai M
b8d2d30a6d
net/sock/dtls : Expose to Kconfig
2020-09-04 16:28:29 +05:30
Jose Alamos
b7929bf6e6
net/ieee802154: add default CSMA-CA params
2020-09-03 18:22:08 +02:00
Akshai M
bb8d3cd72b
sys/net/cord : Expose to Kconfig
...
Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-09-02 23:36:48 +05:30
Akshai M
536a99022c
sys/net/cord : Move 'CONFIG_CORD_EP' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
e09063e7f1
sys/net/cord : Move 'CORD_UPDATE_INTERVAL' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
de2d33f65b
sys/net/cord : Move 'CORD_LT' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Martine Lenders
a72d0ef3e8
gnrc_netif: add packet to queue when device is busy
...
... and also send on send error (i.e. when *medium* was busy)
2020-09-02 12:30:23 +02:00
Martine Lenders
7c7f667108
gnrc_netif: add a send queue
2020-09-02 12:30:22 +02:00
Francisco
6f84870c26
Merge pull request #14634 from benpicco/eui_provider
...
net/link_layer: implement EUI provider
2020-09-01 16:26:08 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
...
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
Martine S. Lenders
3b7bab1108
gnrc_ipv6_nib_nc: error on non-link-local address without ARSM
2020-09-01 11:12:55 +02:00
Martine S. Lenders
14efa3185b
gnrc_ipv6_nib: don't add dst from PL to NC without ARSM
2020-09-01 11:12:55 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
Benjamin Valentin
bca68ff484
net/link_layer: implement EUI provider
...
This adds the possibility to define EUI sources and assign them to
a network device.
2020-08-30 23:43:57 +02:00
Martine Lenders
4ba5367755
Merge pull request #7664 from zhuoshuguo/lwmac_radio_reinit
...
LWMAC: add re-initialize radio support.
2020-08-26 18:58:56 +02:00
benpicco
9f2475dc14
Merge pull request #14832 from maribu/sys-cleanup
...
sys: Cleanup access to internal variables
2020-08-26 17:07:19 +02:00
Akshai M
112514a4e8
net/skald : Expose to Kconfig
...
Expose configurations to Kconfig
2020-08-26 15:13:08 +05:30
Akshai M
4219036727
net/skald : Move 'SKALD_INTERVAL' to 'CONFIG_'
2020-08-26 15:12:07 +05:30
benpicco
2eb6d752df
Merge pull request #14770 from benpicco/netif_addr_to_str
...
net/netif: move gnrc_netif_addr_to/from_str() to netif
2020-08-25 18:52:55 +02:00
Martine Lenders
ec3464aaeb
Merge pull request #14788 from leandrolanzieri/pr/fuzzing/select_gnrc_pktbuf_malloc
...
fuzzing: select gnrc_pktbuf_malloc implementation
2020-08-25 16:05:46 +02:00
Leandro Lanzieri
ff8079b109
fuzzing: select gnrc_pktbuf_malloc implementation
2020-08-25 09:24:50 +02:00
Marian Buschsieweke
3b6fa61829
sys: Cleanup access to internal variables
...
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:
1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
functions
2020-08-24 20:28:11 +02:00
Hauke Petersen
d8aa76501a
net/gnrc/rpl: fix default route lifetime
...
On receiving a DIO message, RPL sets the lifetime for the default
route and the parent timeout event to the value. This leads to short
amounts of time whem the node looses its default route, while it
handles the parent timeout event to probe its parent.
This commit fixes this by adding time the node needs for probing
to the default route lifetime.
2020-08-24 17:53:00 +02:00
Hauke Petersen
05347190b9
net/gnrc/nib_ft.c: fix minor typo in comment
2020-08-21 16:06:04 +02:00
Martine Lenders
66de39a20a
gnrc_sixlowpan_frag_rb: Check possibly uninitialized pointers
2020-08-20 23:51:38 +02:00
Benjamin Valentin
decadc41a0
drivers/dose: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
4f19b54b7b
drivers/at86rf215: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
53eedc283b
drivers/at86rf2xx: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
39951a948e
net/netif: move gnrc_netif_addr_to/from_str() to netif
...
These functions are independent from GNRC and can be used by stack-agnistoc
code.
Avoid pulling in a GNRC dependency by moving those two helper functions to
`netif`.
The old function names are kept as `static inline` wrapper functions to avoid
breaking API users.
2020-08-16 23:52:32 +02:00
zhuoshuguo
d3c87d7bb9
lwmac: add re-initialize radio support.
2020-08-15 22:12:36 +08:00
Benjamin Valentin
d4aa8aad10
nanocoap: validate input with NDEBUG
...
A malformed or malicious CoAP request may contain invalid field lengths.
`nanocoap` protects with this by using `assert()`, which safely crashes
the application in debug mode.
In release mode the check is removed.
Instead of allowing arbitrary memory writes, return 0 on invalid inputs.
Discovered by [Coverity](https://scan3.coverity.com/reports.htm#v46910/p10250/fileInstanceId=38357789&defectInstanceId=9793779&mergedDefectId=297306 )
2020-08-11 15:54:23 +02:00
Benjamin Valentin
2ed7f66d33
gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0
...
Coverty scan found this:
> CID 298295 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands:
> (ipv6_hdr_get_fl(ipv6_hdr) & 255) >> 8 is 0 regardless of the values of its operands.
Looking at the code, this appears to be a copy & paste error from the previous line.
2020-08-11 14:09:28 +02:00
Benjamin Valentin
a9a0671232
gnrc_sixlowpan_iphc: fix Out-of-bounds read
...
Coverty scan found this:
> CID 298279 (#1 of 1): Out-of-bounds read (OVERRUN)
> 21. overrun-local: Overrunning array of 16 bytes at byte offset 64 by dereferencing pointer
The original intention was probably to advance the destination pointer by 4 bytes, not
4 * the destination type size.
2020-08-11 13:31:22 +02:00
acd47f0c1f
gnrc_tcp: abs() -> labs() for int32_t
...
Fixes compilation on msp430 and probably avr.
2020-08-05 14:32:58 +02:00
Leandro Lanzieri
7f1f8ae576
Merge pull request #14652 from akshaim/Kconfig_netif
...
net/netif : Expose configurations to Kconfig
2020-08-03 20:03:33 +02:00
Martine Lenders
b043e1fa64
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cppcheck-warning
...
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
2020-08-03 13:15:52 +02:00
Akshai M
1a844b3df6
net/netif : Expose configurations to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-08-03 16:10:00 +05:30
Akshai M
b52e3e1587
net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_'
2020-08-03 16:09:21 +05:30
Martine S. Lenders
5885293e9e
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
...
... which wasn't a false positive after all.
2020-08-03 12:29:06 +02:00
Benjamin Valentin
6af92ee113
gnrc/nib: fix _idx_dsts() calculation
...
Using pointer difference already gives us the number of elements of
size of what the pointer is pointing to.
Dividing by size will lead to the wrong (always 0) result.
2020-08-03 11:35:54 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
...
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
Jose Alamos
f3bdf7232d
netopt: add NETOPT_PDU_SIZE
2020-07-29 11:57:52 +02:00
Akshai M
0413a5881f
net/dhcpv6 : Expose to Kconfig
...
Expose configurations to Kconfig. Add conditional CFLAGS to avoid
conflicts with Kconfig.
2020-07-24 00:23:08 +05:30
Akshai M
1c37e11c0e
net/dhcpv6 : Move 'DHCPV6_CLIENT_PFX_LEASE_MAX' to 'CONFIG_'
2020-07-23 21:10:26 +05:30
Leandro Lanzieri
25723267f7
Merge pull request #14567 from akshaim/Kconfig_l2filter
...
net/l2filter : Expose configurations to Kconfig
2020-07-22 15:11:24 +02:00
Akshai M
9bed3c64e9
net/l2filter : Expose configurations to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-07-22 00:26:09 +05:30
Akshai M
caab4cd8c5
net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_'
2020-07-22 00:26:09 +05:30
Akshai M
0d52f81935
net/l2filter : Move 'L2FILTER_ADDR_MAXLEN' to 'CONFIG_'
2020-07-22 00:26:09 +05:30
Leandro Lanzieri
3920dd8c20
net/gcoap: Remove gcoap_finish
2020-07-17 16:33:19 +02:00
Leandro Lanzieri
60f7e3aadf
net/cord/lc: Replace usage of deprecated gcoap_finish
2020-07-17 10:01:55 +02:00
Leandro Lanzieri
f92c693682
net/cord/epsim: Replace usage of deprecated gcoap_finish
2020-07-17 09:51:34 +02:00
Akshai M
1ad76240c5
net/credman : Expose to Kconfig
...
Expose 'CONFIG_CREDMAN_MAX_CREDENTIALS' to Kconfig
2020-07-14 21:26:19 +05:30
Akshai M
774c18ea79
net/credman : Move 'CREDMAN_MAX_CREDENTIALS' to 'CONFIG_'
2020-07-14 21:26:19 +05:30
Jose Alamos
96ee1d2bf8
net/gnrc_netif_lorawan: fix unaligned copy
2020-07-13 16:57:26 +02:00
Leandro Lanzieri
cdc252ab7b
net/gnrc/nettest: Remove module
...
This module has been deprecated and scheduled for removal in release
2020.07.
2020-07-10 15:58:54 +02:00
Akshai M
c75df9c5ca
gnrc/lwmac : Expose to Kconfig
...
Expose configurations to Kconfig
2020-07-08 10:04:45 +05:30
Akshai M
a05eb3b4ad
gnrc/lwmac : Move GNRC_LWMAC_MAX_DATA_TX_RETRIES to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
cda7791a4b
gnrc/lwmac : Move GNRC_LWMAC_DATA_CSMA_RETRIES to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
e241141a92
gnrc/lwmac : Move GNRC_LWMAC_DATA_DELAY_US to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
1fe5acddc6
gnrc/lwmac : Move GNRC_LWMAC_WR_PREPARATION_US to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
85948925ba
gnrc/lwmac : Move GNRC_LWMAC_TIMEOUT_COUNT to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
3bd8dd4aa2
gnrc/lwmac : Move GNRC_LWMAC_BROADCAST_CSMA_RETRIES to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
65fa832e40
gnrc/lwmac : Move GNRC_LWMAC_MAX_RX_EXTENSION_NUM to 'CONFIG'
2020-07-08 10:04:45 +05:30
Akshai M
e38dca5d42
gnrc/lwmac : Move GNRC_LWMAC_TIME_BETWEEN_WR_US to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
1be3264ab3
gnrc/lwmac : Move GNRC_LWMAC_WAKEUP_INTERVAL_US to 'CONFIG_'
2020-07-08 10:04:45 +05:30
Akshai M
e9f270c78a
net/asymcute : Expose to Kconfig
2020-07-07 16:27:57 +05:30
Akshai M
8a6d2882f7
net/asymcute : Move 'ASYMCUTE_KEEPALIVE_PING' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
a1df2e33b0
net/asymcute : Move 'ASYMCUTE_N_RETRY' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
6dc5747c4b
net/asymcute : Move 'ASYMCUTE_T_RETRY' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
1753b84cba
net/asymcute : Move 'ASYMCUTE_KEEPALIVE' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
7ba0d3c76f
net/asymcute : Move 'ASYMCUTE_TOPIC_MAXLEN' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Martine Lenders
fdcf53e514
Merge pull request #10222 from pokgak/pr/add-cord-lc
...
net: add CoRE RD lookup client implementation
2020-07-07 12:44:37 +02:00
Aiman Ismail
869052dcd8
cord: add RD lookup client
2020-07-07 10:54:10 +02:00
Simon Brummer
122616ae7d
gnrc_tcp: add retransmission timer
2020-07-06 21:18:23 +02:00
Simon Brummer
67b22d8783
gnrc_tcp: requested changes
2020-07-04 09:21:50 +02:00
Simon Brummer
aa1c2e9cba
gnrc_tcp: rewrite API internal messaging
2020-07-04 09:20:43 +02:00
Martine Lenders
1245065afb
Merge pull request #14291 from brummer-simon/gnrc_tcp-move_rcv_buffer_handling
...
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 17:19:28 +02:00
Simon Brummer
9fe91f5c44
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 15:47:23 +02:00
Gunar Schorcht
b51ac69d0a
sys/net/gnrc: add netif support for ATWINC15x0 netdef driver
2020-06-26 12:33:38 +02:00
Gunar Schorcht
c95ebb63b4
sys/net: add NETOPT_RSSI for wireless channels
2020-06-26 12:33:38 +02:00
Martine Lenders
2bb9a392b4
Merge pull request #14358 from gschorcht/sys/net/gnrc/icmpv6/conditional_min_definition
...
gnrc/icmpv6: conditional definition of the MIN macro
2020-06-25 19:43:44 +02:00
Gunar Schorcht
a440ae7bd9
gnrc/icmpv6: redefinition of MIN macro
...
Since `min(a,b)` is a very frequently used function, several libraries such as ESP8266 SDK define a `MIN` macro in their header files. Therefore the `MIN` macro should be undefined before its definition to avoid compilation errors if it is defined anywhere else before.
2020-06-25 17:31:07 +02:00
Martine Lenders
49ab078c03
Merge pull request #14349 from miri64/lwip/enh/dual-stack
...
pkg/lwip: enable IPv4/IPv6 dual stack mode
2020-06-25 13:30:07 +02:00
Martine Lenders
2b1be158e3
Merge pull request #13837 from benpicco/dhcpv6-stale_replies
...
sys/net/dhcpv6: discard stale replies
2020-06-25 12:18:31 +02:00
Martine S. Lenders
ae7944f115
sock_util: introduce endpoint conversion aliases for TCP
2020-06-24 17:21:29 +02:00
Martine S. Lenders
78c816c6af
sock_util: fix IPv4 address parsing
...
There is no `SOCK_HAS_IPV4` define.
2020-06-24 18:36:42 +02:00
Benjamin Valentin
2d1160426d
sys/net/dhcpv6: discard stale replies
...
The DHCPv6 server might send reponses multiple times.
The DHCPv6 client will only handle the first response, if additional
responses are comming in they are left in the RX queue.
That results in the client always reading the response of a previous
transaction on any subsequent transactions.
In this case the client will try again, creating a new transaction - that
will again only read the previous response.
To fix this, discard previous responses by flushing the RX queue before
sending a new message to the DHCPv6 server.
fixes #13834
2020-06-21 22:07:32 +02:00
Akshai M
d2342b6e26
gnrc/gomach : Expose configurations to Kconfig
2020-06-18 21:21:50 +05:30
Akshai M
676a39cebb
gnrc/gomach : Move GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
89360577a0
gnrc/gomach : Move GNRC_GOMACH_T2U_RETYR_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
b9773263c0
gnrc/gomach : Move GNRC_GOMACH_REPHASELOCK_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
6b10059b8a
gnrc/gomach : Move GNRC_GOMACH_MAX_ALLOC_SENDER_NUM to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
3274a6b83e
gnrc/gomach : Move GNRC_GOMACH_RX_DUPCHK_UNIT_LIFE to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
a8cad3715d
gnrc/gomach : Move GNRC_GOMACH_CP_EXTEND_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
62a3be9eee
gnrc/gomach : Move GNRC_GOMACH_TX_BUSY_THRESHOLD to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
025c1e0509
gnrc/gomach : Move GNRC_GOMACH_VTDMA_SLOT_SIZE_US to 'CONFIG_'
2020-06-18 21:21:50 +05:30
Akshai M
9b7b3fef42
gnrc/gomach : Move GNRC_GOMACH_BCAST_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
6aa0418da4
gnrc/gomach : Move GNRC_GOMACH_PREAMBLE_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
48a2fc57e0
gnrc/gomach : Move GNRC_GOMACH_MAX_PREAM_INTERVAL_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
a0a6dc0e4e
gnrc/gomach : Move GNRC_GOMACH_NO_TX_ISR_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
ae175987d5
gnrc/gomach : Move GNRC_GOMACH_WAIT_RX_END_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
588200f515
gnrc/gomach : Move GNRC_GOMACH_CP_MIN_GAP_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
1505ea8e11
gnrc/gomach : Move GNRC_GOMACH_CP_RANDOM_END_US to 'CONIFG_'
2020-06-18 21:15:28 +05:30
Akshai M
e6da0bab49
gnrc/gomach : Move GNRC_GOMACH_SUPERFRAME_DURATION_US to 'CONFIG_'
2020-06-18 21:15:28 +05:30
Akshai M
ab3e197c3f
gnrc/gomach : Move GNRC_GOMACH_CP_DURATION_US to 'CONFIG_'
2020-06-18 21:07:30 +05:30
Martine Lenders
09d097c934
Merge pull request #14214 from btcven/2020_06_06-6lo-mtu
...
net/gnrc/netif: add option for non-std 6lo MTU
2020-06-18 15:25:01 +02:00
Jean Pierre Dudey
e1ef082d49
net/gnrc/netif: disable 6lo fragmentation when unneeded
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00
Jean Pierre Dudey
d47f4a1caa
net/gnrc/netif: add option for non-std 6lo MTU
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00