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

7413 Commits

Author SHA1 Message Date
Marian Buschsieweke
6a4e61f8c4
Merge pull request #14196 from benpicco/sc_bootloader
shell_commands: provide command to reboot to bootloader
2020-06-03 20:21:07 +02:00
benpicco
3a1ee4983c
Merge pull request #14010 from benpicco/at86rf215-mr-ofdm
drivers/at86rf215: implement MR-OFDM
2020-06-03 16:39:04 +02:00
Benjamin Valentin
036d2e2d81 shell_commands: provide command to reboot to bootloader
Make the triggering of the bootloader available as a shell command.
2020-06-03 16:10:31 +02:00
Benjamin Valentin
25a34a1897 ieee802154: add definitions & config options for MR-OFDM
Define options for IEEE 802.15.4g MR-OFDM as well as shell commands
to set them via ifconfig.
2020-06-03 15:58:50 +02:00
Leandro Lanzieri
7262b1d4d9
Merge pull request #14126 from akshaim/Kconfig_tcp
gnrc/tcp : Expose configurations to Kconfig
2020-06-03 08:32:26 +02:00
954ac22c45
Merge pull request #13865 from benpicco/usb_custom_id
USB VID/PID: allow for boards to define default custom VID/PID
2020-06-02 18:42:37 +02:00
Benjamin Valentin
bc12d2e3b9 USB VID/PID: allow for boards to define default custom VID/PID
For boards that have terminals in their shipped configurations it makes sense
to reuse those VID/PIDs when providing a terminal in RIOT as well.

That affects the builtin-peripherals IDs and not the custom specified ones.

Co-authored-by: chrysn <chrysn@fsfe.org>
2020-06-02 14:17:55 +02:00
Francisco
cf7125d4cf
Merge pull request #14172 from benpicco/sys/net/gnrc/netif/gnrc_netif_relax_assert
gnrc_netif: relax 6lo MTU assertion for 802.15.4g
2020-06-02 13:53:36 +02:00
Akshai M
c191b009a3 gnrc/tcp : Expose to Kconfig
Expose configurations to Kconfig
2020-06-02 15:46:44 +05:30
Akshai M
badeb74d16 gnrc/tcp : Move GNRC_TCP_DEFAULT_WINDOW to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
49df2258e3 gnrc/tcp : Move GNRC_TCP_PROBE_UPPER_BOUND to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
d6904349a9 gnrc/tcp : Move CONFIG_GNRC_TCP_PROBE_LOWER_BOUND to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
27f9d2def6 gnrc/tcp : Move GNRC_TCP_RTO_K to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
e42cc62edc gnrc/tcp : Move GNRC_TCP_RTO_B_DIV to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
f704a1e5c9 gnrc/tcp : Move GNRC_TCP_RTO_A_DIV to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
f25c21988d gnrc/tcp : Move GNRC_TCP_RTO_GRANULARITY to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
c599c65124 gnrc/tcp : Move GNRC_TCP_RTO_UPPER_BOUND to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
ea79c71ce8 gnrc/tcp : Move GNRC_TCP_RTO_LOWER_BOUND to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
648247592c gnrc/tcp : Move GNRC_TCP_RCV_BUFFERS to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
e8b13ab44d gnrc/tcp : Move GNRC_TCP_MSS to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
d0145292aa gnrc/tcp : Move GNRC_TCP_MSS_MULTIPLICATOR to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
0b3e0de03e gnrc/tcp : Move GNRC_TCP_MSL to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
01dd8e4fa8 gnrc/tcp : Move GNRC_TCP_CONNECTION_TIMEOUT_DURATION to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
b5e95f6c49 gnrc/tcp : Update documentation
Add compile time parameters to doxygen group 'net_gnrc_conf'
2020-06-02 15:46:44 +05:30
benpicco
5055a1ef30
Merge pull request #13898 from nmeum/pr/fuzzing-gcoap
Add fuzzing application for gcoap
2020-05-30 18:40:37 +02:00
Benjamin Valentin
840be824d4 gnrc_netif: relax 6lo MTU assertion for 802.15.4g
802.15.4g devices have a 2047 byte PDU.
So the assertion `netif->ipv6.mtu == IPV6_MIN_MTU` is too strict here.

This is only enforced on init, so changing the modulation at run-time
did not catch this bug.

To test, use e.g. `at86rf215` with

    CFLAGS += -DAT86RF215_DEFAULT_PHY_MODE=IEEE802154_PHY_MR_OQPSK

fixes #14164
2020-05-29 15:59:23 +02:00
Martine S. Lenders
c7916e11e6
sock_dtls: add missing whitespace to doc 2020-05-26 20:36:57 +02:00
Martine S. Lenders
880c42e236
sock_dtls: introduce UDP sock getter 2020-05-26 20:29:33 +02:00
Sören Tempel
bab916d084 sock_async_evnet: add comment to fuzzing termination condition 2020-05-26 17:24:45 +02:00
Sören Tempel
a8b0491751 gnrc_pktbuf_malloc: add comment to fuzzing termination condition 2020-05-26 17:24:44 +02:00
Sören Tempel
f37c1fd9dd gnrc_sock: add comment to fuzzing termination condition 2020-05-26 17:24:43 +02:00
Sören Tempel
3314388417 sock_async_event: Implement termination condition for fuzzing
See: 65c7bbf76d.
2020-05-26 17:24:40 +02:00
Sören Tempel
729e0f95ac gnrc_sock: Export prevpkt and rename it to gnrc_sock_prevpkt
This is a perquisite for fuzzing applications using sock_async_event.
2020-05-26 17:24:39 +02:00
chrysn
2c62fec96e saul/doc: Warn about and deprecate saul_reg_rm
saul_reg_rm can not be used safely unless in tight coordination with the
application. This points out the issue, puts the onus of making sure
nobody calls vanishing registrations on the device driver and deprecates
the call (as the requirements for correct usage are practically
impossible to fulfull for a generic driver).
2020-05-25 16:16:11 +02:00
Martine Lenders
e011e3ed38
Merge pull request #14043 from pokgak/pr/sock_dtls/send_api_change
sock_dtls: add timeout to sock_dtls_send and add sock_dtls_session_init
2020-05-22 14:33:54 +02:00
Aiman Ismail
3ad2724f44 sock_dtls: fix vera++ warnings on line length 2020-05-22 14:06:38 +02:00
Aiman Ismail
b5b7955743 sock_dtls: add sock_dtls_session_init()
deprecates sock_dtls_session_create()
2020-05-22 14:06:12 +02:00
Hauke Petersen
9ad65786dd sys/phydat: added phydat_to_json converter 2020-05-20 15:29:24 +02:00
Hauke Petersen
3e4229cd31 phydat: add verbose unit_to_str function 2020-05-20 15:29:24 +02:00
Hauke Petersen
7764754686 phydat: fixes to phydat_str.c
- add some missing unit strings to phydat_unit_to_str
- fixed doxygen group and file description
2020-05-20 15:23:21 +02:00
benpicco
70543bba1d
Merge pull request #13275 from miri64/gnrc_ipv6_ext_opt/feat/initial
gnrc_ipv6_ext_opt: initial import
2020-05-20 14:35:58 +02:00
Martine S. Lenders
d04621fc43
gnrc_ipv6_ext_opt: initial import
This provides header parsing for IPv6 hop-by-hop and destination
options according to [RFC 8200].

[RFC 8200]: https://tools.ietf.org/html/rfc8200#section-4.2
2020-05-20 12:34:04 +02:00
Martine S. Lenders
166315dcc2
ipv6_ext_opt: initial import of IPv6 options extension headers 2020-05-20 12:34:04 +02:00
Benjamin Valentin
3974a04623 gnrc/nib: add NIB event bus
Add a message bus where threads can listen for nib events.

Currently only the GNRC_IPV6_NIB_EVENT_ADDR_VALID event is
implemented which informs subscribers that an address got
valid.
2020-05-20 10:44:11 +02:00
Benjamin Valentin
85100ad61a gnrc_netif: add message bus to interface
Allow threads to listen for events on an interface.
2020-05-20 10:44:11 +02:00
benpicco
f3dddd6127
Merge pull request #14068 from miri64/sock_util/enh/netif-str2ep
sock_util: add interface descriptor parsing to str2ep
2020-05-19 23:59:32 +02:00
Leandro Lanzieri
7032984a81
Merge pull request #14101 from benpicco/ieee802154-oqpsk_high_rate
net/netopt: clarify documentation of NETOPT_OQPSK_RATE
2020-05-19 16:46:22 +02:00
Benjamin Valentin
d8efcca81e net/netopt: clarify documentation of NETOPT_OQPSK_RATE
802.15.4 only specifies one rate of 250 kbit/s for O-QPSK.
Everything else is a proprietary extension.
2020-05-19 16:39:15 +02:00
Leandro Lanzieri
16113afb1e
Merge pull request #14026 from miri64/gnrc_netif/fix/deps
gnrc_netif: use gnrc_netif-submodules to pull in upper-layer struct members
2020-05-19 16:36:18 +02:00
Martine S. Lenders
5e8f8ddc4a
gnrc_netif: introduce gnrc_netif_mac pseudo-module for gnrc_mac members
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00