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

3543 Commits

Author SHA1 Message Date
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
Leandro Lanzieri
3ce8efd4cb
Merge pull request #14138 from akshaim/Kconfig_mac
gnrc/mac : Expose configurations to Kconfig
2020-06-17 18:12:40 +02:00
Akshai M
25f778b552 gnrc/mac : Expose to Kconfig
Expose configurations to Kconfig

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-15 12:28:57 +05:30
Akshai M
9ddc9e0633 gnrc/mac : Move GNRC_MAC_NEIGHBOR_COUNT to 'CONFIG_' 2020-06-15 12:19:37 +05:30
Leandro Lanzieri
dbfe0d8ea1
gnrc/sock: Configure mbox size with exponent and add config doc group
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2. The macro now has the
GNRC prefix.

Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
d4cac38cc9
gnrc/tcp: Configure mbox size with exponent and add config doc group
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2.

Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
375cad38df
gnrc/sixlowpan: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
05962fe3ef
gnrc/netif: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
3dc7865c4e
gnrc/rpl: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:51 +02:00
Leandro Lanzieri
b0168f5fdd
gnrc/ipv6: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:50 +02:00
Akshai M
6450d9989e gnrc/pktbuf : Set Kconfig defaults and conditions
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30
Akshai M
cabcfae9e0 gnrc/pktbuf : Expose to Kconfig
Expose CONF_GNRC_PKTBUF_SIZE to Kconfig
2020-06-11 14:47:19 +05:30
Akshai M
5523d119b6 gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
Akshai M
065345a360 net/csma_sender:Expose configurations to Kconfig 2020-06-10 21:02:20 +05:30
Akshai M
55c5461073 net/csma_sender:Move CSMA_SENDER_BACKOFF_PERIOD_UNIT
Move CSMA_SENDER_BACKOFF_PERIOD_UNIT to 'CONFIG_' namespace
2020-06-10 20:37:54 +05:30
Akshai M
f130303ee0 net/csma_sender:Move CSMA_SENDER_MAX_BACKOFFS_DEFAULT
Move CSMA_SENDER_MAX_BACKOFFS_DEFAULT  to 'CONFIG_' namespace
2020-06-10 20:37:54 +05:30
Akshai M
ced72c9cf4 net/csma_sender:Move CSMA_SENDER_MAX_BE_DEFAULT
Move CSMA_SENDER_MAX_BE_DEFAULT to 'CONFIG_' namespace
2020-06-10 20:38:33 +05:30
Akshai M
1b1d2d7e3b net/csma_sender:Move CSMA_SENDER_MIN_BE_DEFAULT
Move CSMA_SENDER_MIN_BE_DEFAULT to 'CONFIG_' namespace
2020-06-10 20:38:04 +05:30
Martine Lenders
f9bed00701
Merge pull request #12738 from miri64/netif/enh/id-functions
netif: add functions to get and get by identifier
2020-06-09 15:12:06 +02:00
Martine Lenders
9270f31859
Merge pull request #14071 from akshaim/Kconfig_pktdump
gnrc/pktdump : Expose Configurations to Kconfig
2020-06-09 11:13:36 +02:00
Akshai M
27e0d7cf11 gnrc/pktdump : Add 'CONFIG_' & expose to Kconfig
Introduced 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to hold exponent
value and made GNRC_PKTDUMP_MSG_QUEUE_SIZE dependant on
GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP.

Moved 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to 'CONFIG_' namespace.

Exposed configurations to Kconfig

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-09 13:31:29 +05:30