Martine Lenders
f2e1c1ac87
Merge pull request #15209 from brummer-simon/gnrc_tcp-cleanup_debug_messages
...
gnrc_tcp: Overhaul all debug messages
2020-10-14 17:42:19 +02:00
Simon Brummer
0cc06a5993
gnrc_tcp: Overhaul all debug messages
2020-10-14 16:58:53 +02:00
Francisco Acosta
05b089b3c4
gnrc_netif: remove unused event_netdev_t
struct
2020-10-14 14:46:35 +02:00
Akshai M
2c526a7d29
net/lorawan : Expose to Kconfig
...
Expose LORAMAC_REGION_XX_XXX to Kconfig as a choice
2020-10-14 00:16:47 +05:30
Akshai M
1a54238244
gnrc/lorawan : Improve debugging
...
gnrc_lorawan.c, gnrc_lorawan_mlme.c : Add additional debug
statements
net/gnrc/lorawan/region.h : Added debug statements
2020-10-14 00:16:47 +05:30
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros
2020-10-13 13:32:53 +02:00
Martine Lenders
d491e827fb
gnrc_pkt: introduce packet list operations
...
Up until now `utlist.h` is used to manipulate the packet list within a
GNRC pkt snip. Since I always wanted to see if there would be an
advantage when using `core`'s `list.h`, I provide this
`gnrc_pktsnip_t`-specific API to manipulate the packet list. It has the
additional advantage of type safety and that future steps could
encapsulate those operations.
2020-10-13 13:32:53 +02:00
Marian Buschsieweke
0d0b14de29
sys/tsrb: Make thread-safe
...
Drop the requirement of having only one writer and one reader, as the name of
the ring-buffer does not indicate any limitation on the thread-safety. The
two-threads-one-buffer kind of ring buffer can be reintroduced with a different
name.
2020-10-13 10:32:41 +02:00
Akshai M
874d7d15cb
gnrc/lorawan : Add RX1DROffset for IN865 region
...
Co-authored-by: José Alamos <jialamos@uc.cl>
2020-10-13 13:40:49 +05:30
Akshai M
35e9612d02
gnrc/lorawan : Add IN_865 channel frequencies
2020-10-13 13:38:19 +05:30
Akshai M
d23441f740
net/lorawan : Add support for IN865 Channel
...
Add CONFIG_LORAMAC_REGION_EU_868 and CONFIG_LORAMAC_REGION_IN_865.
Define xx_RX2_DR and xx_RX2_FREQ. Update documentation.
2020-10-13 13:38:19 +05:30
Sören Tempel
af03cd8f4f
gnrc_netif: add missing gnrc_netif_release() to early return
...
The gnrc_netif_ipv6_addr_add_internal() function unconditionally
acquires the global netif rmutex lock but doesn't release this lock on
this specific path (i.e. if gnrc_netif_ipv6_group_join_internal failed).
This can cause a deadlock as no other thread will afterwards be capable
of acquiring the netif lock.
2020-10-13 04:42:52 +02:00
d92f280add
Merge pull request #15211 from miri64/gnrc_tcp/cleanup/utlist-pkt-func
...
gnrc_tcp: use gnrc_pktsnip_search_type() to search for snips
2020-10-13 13:18:02 +02:00
Martine Lenders
d105a67b9f
gnrc_tcp: use gnrc_pktsnip_search_type() to search for snips
2020-10-13 11:37:34 +02:00
János Brodbeck
4e35f473a4
sock/dtls: fix return value of sock_dtls_session_create()
2020-10-09 23:12:05 +02:00
benpicco
3384c327a7
Merge pull request #15194 from miri64/gnrc_netif_raw/fix/netif-hdr
...
gnrc_netif_raw: add NETIF header on receive
2020-10-09 14:35:54 +02:00
Martine Lenders
6991ad5910
gnrc_netif_raw: add NETIF header on receive
...
... to give upper layer a hint on the interface the packet came from.
2020-10-09 11:51:18 +02:00
Martine Lenders
453403cc8f
Merge pull request #15083 from benpicco/drivers/enc28j60-regster
...
drivers/enc28j60: register with netdev
2020-10-08 15:39:31 +02:00
Martine Lenders
b11acf1940
Merge pull request #15155 from benpicco/gnrc/rpl-TODO
...
gnrc/rpl: document implementation status
2020-10-08 13:35:06 +02:00
Benjamin Valentin
868c07158e
gnrc/rpl: document implementation status
...
This copies the information from #3662 to the documentation.
Makes it more discoverable and let's people manage their
expectations.
2020-10-08 12:10:05 +02:00
Benjamin Valentin
1afe72a5e5
drivers/enc28j60: register with netdev
2020-10-08 10:36:56 +02:00
benpicco
ab37c9fba1
Merge pull request #14949 from benpicco/drivers/mrf24j40-register
...
drivers/mrf24j40: register with netdev
2020-10-08 10:33:37 +02:00
Francisco
3918d714ce
Merge pull request #13624 from wosym/pr/candev_mcp2515
...
tests/candev: add mcp2515 + driver/mcp2515: add driver
2020-10-08 09:45:40 +02:00
Benjamin Valentin
988ee1648f
drivers/mrf24j40: register with netdev
2020-10-07 16:39:39 +02:00
Martine Lenders
bcd59f9789
Merge pull request #15161 from brummer-simon/gnrc_tcp-hide_global_variables
...
gnrc_tcp: Hide remaining global variables
2020-10-06 14:10:14 +02:00
Martine Lenders
2aaca12d06
Merge pull request #15160 from brummer-simon/gnrc_tcp-reduce_scope_of_receive_buffer
...
gnrc_tcp: reduce scope of receive buffer
2020-10-06 14:09:15 +02:00
José Alamos
7bb566f306
Merge pull request #15157 from akshaim/PR_LoRaWAN_Bugfix
...
gnrc/lorawan : Bug fix for zero CFList
2020-10-06 10:44:21 +02:00
Karl Fessel
9a89b84c2c
Makefile.dep: sort dependencies
...
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Akshai M
b4594ffe32
gnrc/lorawan : Bug fix for zero CFList
...
Correct check for CFlist and then conditinally process CFList.
2020-10-05 21:51:33 +05:30
Simon Brummer
7b1629553f
gnrc_tcp: Hide remaining global variables
2020-10-05 16:13:13 +02:00
Leandro Lanzieri
e1418e0972
Merge pull request #14065 from jia200x/pr/improve_gnrc_lorawan
...
gnrc_lorawan: refactor
2020-10-05 15:56:00 +02:00
Simon Brummer
a29666f87c
gnrc_tcp: reduce scope of receive buffer
2020-10-05 15:07:02 +02:00
Simon Brummer
aec5586021
gnrc_tcp: Fix typo in config.h
2020-10-05 14:59:11 +02:00
benpicco
2cab6b9f18
Merge pull request #14500 from brummer-simon/gnrc_tcp-replace_xtimer_with_evtimer
...
gnrc_tcp: Replace xtimer with evtimer
2020-10-05 13:58:39 +02:00
Fabian Hüßler
069f88eeb6
sys/crypto: OCB add const
2020-10-05 12:32:51 +02:00
Fabian Hüßler
8ded1b8c3c
sys/crypto: CTR add const
2020-10-05 12:32:51 +02:00
Fabian Hüßler
a9295ae531
sys/crypto: CCM add const
2020-10-05 12:32:51 +02:00
Fabian Hüßler
83d391f6b1
sys/crypto: CBC and ECB add const
2020-10-05 12:32:51 +02:00
Wouter Symons
757f810118
drivers/mcp2515: complete driver + adapt to 2020 RIOT API
2020-10-03 15:20:42 +02:00
Vincent Dupont
62a9929f9b
mcp2515: add a driver for the mcp2515 SPI CAN controller
...
This driver implements the candev interface
2020-10-03 15:20:42 +02:00
chrysn
6350d22bc9
net/gcoap: Register additional resources head-first
...
This simplifies (written and compiled) code by doing a head rather than
a tail insertion of the new listener into gcoap's list.
As handling of listeners without a link_encoder is now fixed,
gcoap_get_resource_list can handles this now without having to manually
skip over the .well-known/core handler (which is not the first entry any
more now).
Incidentally, this allows the user to install a custom handler for
.well-known/core, as the default handler is now evaluated last.
2020-10-02 21:04:25 +02:00
chrysn
e3db58f013
net/gcoap: Avoid endless loop on error
...
The NULL case can not regularly be reached (because regularly
gcoap_register_listener sets thel link_encoder to a default one), but if
it is (eg. because an application unsets its link_encoder to hide a
resource set at runtime), the existing `continue` is a good idea (skip
over this entry) but erroneously created an endless loop by skipping the
advancement step.
2020-10-02 20:53:05 +02:00
chrysn
10592f2bb1
Merge pull request #15146 from chrysn-pull-requests/coap_link_flag-reference
...
net/gcoap: Fix reference to COAP_LINK_FLAGS in documentation
2020-10-02 20:48:49 +02:00
chrysn
07a5a79f40
net/gcoap: Fix reference to COAP_LINK_FLAGS in documentation
2020-10-02 19:11:07 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
...
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00
José Alamos
f30da14341
Merge pull request #15007 from akshaim/Kconfig_lora
...
net/lora : Expose configurations to Kconfig
2020-10-02 11:01:52 +02:00
44f8d82571
sys/ztimer: fix typo 'functinality' -> 'functionality'
2020-10-02 08:16:14 +02:00
c2685e4e3c
sys/shell/sht1x: fix typo 'presicion' -> 'precision'
2020-10-02 08:15:56 +02:00
13a897e2c7
sys/posix/pthread: fix typo 'defore' -> 'before'
2020-10-02 08:15:31 +02:00
fce6e4032d
sys/zptr: fix typos
...
- 'bounderies' -> 'boundaries'
- 'compressable' -> 'compressible'
- 'Substracts' -> 'Subtracts'
2020-10-02 08:15:00 +02:00
8507989931
sys/xtimer: fix typo 'occcured' -> 'occurred'
2020-10-02 08:14:02 +02:00
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
3186c8973f
sys/can: fix typo 'theoritical' -> 'theoretical'
2020-10-02 08:09:37 +02:00
eefcfd16e2
sys/arduino: fix typo 'adress' -> 'address'
2020-10-02 08:09:14 +02:00
a7656a51b7
suit: Move common storage.c to module directory
2020-10-01 19:40:14 +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
7cf6943eab
net/ieee802154: add config for default CCA threshold
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
Francisco
b5c51d244e
Merge pull request #14909 from OTAkeys/pr/conn_can_clean_up
...
can: add proper checks for ifnum validity
2020-10-01 09:22:28 +02:00
3cf082d59b
Merge pull request #15110 from bergzand/pr/suit/storage_backend
...
SUIT: Introduction of a payload storage API for SUIT manifest payloads
2020-09-30 22:47:33 +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
b57365cc7f
net/lora : Update documentation
2020-09-30 20:00:03 +05:30
Akshai M
4dbbd9311d
net/lora : Remove unused macro 'LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT'
2020-09-30 20:00:03 +05:30
Akshai M
aa83367b4b
net/lora : Expose to Kconfig
2020-09-30 20:00:03 +05:30
Akshai M
399273dba5
net/lora : Move 'LORA_PAYLOAD_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
1629b11801
net/lora : Mode as bool 'LORA_PAYLOAD_CRC_ON_DEFAULT'
...
Modelled 'LORA_PAYLOAD_CRC_ON_DEFAULT' as bool. Introduced
'CONFIG_LORA_PAYLOAD_CRC_OFF_DEFAULT' to invert logic and
tagged 'LORA_PAYLOAD_CRC_ON_DEFAULT' for deprecation
2020-09-30 20:00:03 +05:30
Akshai M
889828ae87
net/lora : Model as bool 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT'
...
Move 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
e329588be4
net/lora : Move 'LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
acd601ebb9
net/lora : Model as bool 'LORA_FREQUENCY_HOPPING_DEFAULT'
...
Move 'LORA_FREQUENCY_HOPPING_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
00cc04f596
net/lora : Model as bool 'LORA_IQ_INVERTED_DEFAULT'
...
Move 'LORA_IQ_INVERTED_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
a161476041
net/lora : Move 'LORA_CR_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_CR_DEFAULT' to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
aaeed98277
net/lora : Move 'LORA_SF_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
349d20349d
net/lora : Move 'LORA_BW_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_BW_DEFAULT" to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
979700cd45
net/lora : Move 'LORA_SYMBOL_TIMEOUT_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
de1ad1e8cf
net/lora : Move 'LORA_PREAMBLE_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Marian Buschsieweke
d68437249f
Merge pull request #15096 from benpicco/eui64_to_eui48
...
net/eui64: add eui64_to_eui48()
2020-09-30 16:15:14 +02:00
b72d510690
suit/transport/mock: Use common storage backend
2020-09-30 14:32:27 +02:00
edeffdcd54
suit: Adapt manifest handling to use common storage backend
2020-09-30 14:32:27 +02:00
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
a29eaf557f
suit/storage/flashwrite: Add riotboot flashwrite storage backend
2020-09-30 13:32:39 +02:00
9ce2ba1c55
suit/storage/ram: Introduce RAM storage backend for SUIT
2020-09-30 13:32:38 +02:00
7742750abd
suit: Introduce generic storage backend
...
This commit introduces a common storage backend for SUIT manifest
payloads. Different backends can be compiled into a single firmware.
Degending on the component name in the SUIT manifest, a storage backend
is selected by the parser.
2020-09-30 13:32:38 +02:00
Vincent Dupont
b4f29035ce
native/can: fix CAN init
...
Native CAN device was not properly ported to periph_can interface.
This commit fixes this by renaming all needed structures and files so
auto_init_can can initialize the native device. FEATURES_PROVIDED is
also updated for native.
2020-09-30 12:59:03 +02:00
Vincent Dupont
98c39d5104
can: add proper checks for ifnum validity
...
Most functions were using asserts, but in some cases it might not be a
programmatic error to pass an invalid ifnum. This makes sure the code
does not crash by testing it at runtim and returning an error.
2020-09-30 12:59:02 +02:00
Benjamin Valentin
307ea6224a
net/eui48: add eui64_to_eui48()
...
Provide helper function to mangle a EUI-64 into an EUI-48.
This can be useful to get predictable, locally unique addreses.
2020-09-30 11:18:36 +02:00
Benjamin Valentin
d7943a49aa
net/eui48: reorder code
...
Move eui48_set_local() and eui48_clear_group() to the top so we can
use it later in the file.
2020-09-30 11:18:34 +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
2dab6c7b30
Merge pull request #15111 from maribu/xtimer-assert
...
sys/{x,z}timer: assert() successful initialization of periph_timer
2020-09-30 08:52:34 +02:00
aa6e64316c
Merge pull request #15053 from kaspar030/ztimer_periodic
...
sys/ztimer: add periodic timers API
2020-09-29 23:58:51 +02:00
548c4f02fc
sys/ztimer: add ztimer_periodic
2020-09-29 23:04:39 +02:00
Marian Buschsieweke
a206df5399
Merge pull request #15104 from maribu/platform
...
sys/architecture: New module to access architecture internals in platform-independent way
2020-09-29 18:12:34 +02:00
ea007ada05
suit: Mark conversion function arguments as const
...
Small cleanup to mark arguments of the conversion functions for param to
cbor and vice versa as const where possible
2020-09-29 15:18:57 +02:00
f05c5f7708
riotboot/flashwrite: Add force flush to storage function
2020-09-29 15:18:56 +02:00