Francisco Molina
7623a9820a
sys/net/ieee802154/radio.h: add TX_START
2020-10-22 14:54:53 +02:00
ae7a41a60c
Merge pull request #15270 from benpicco/sys/fac-gcd
...
sys/frac: make gcd32() public
2020-10-22 13:00:29 +02:00
Bas Stottelaar
ffb929d811
sys/*: remove unused assert.h include
2020-10-22 11:29:27 +02:00
Benjamin Valentin
b770304e25
sys/frac: make gcd32() public
...
A function to calculate the greatest common divisor is generally useful.
In turn declare the internal `frac_long_divide()` as `static`, it's
not used anywhere outside this module and has no public header.
2020-10-22 11:10:14 +02:00
benpicco
04ad9ac6b9
Merge pull request #15214 from janosbrodbeck/pr/ble_ipv6_mtu
...
net/netif/gnrc_netif: allow larger IPv6 MTU than minimum for BLE
2020-10-21 23:25:27 +02:00
Benjamin Valentin
671c882d4f
gnrc_netif_ieee802154_create: make name argument const
...
`gnrc_netif_create()` already expects a `const` name parameter,
also make the name parameter in `gnrc_netif_ieee802154_create()` const.
2020-10-21 19:49:34 +02:00
Martine Lenders
9e4c508ed9
Merge pull request #15218 from maribu/tsrb-fix
...
sys/tsrb: Make thread-safe
2020-10-20 18:32:49 +02:00
János Brodbeck
5a75eb29c3
net/netif/gnrc_netif: allow larger IPv6 MTU than minimum for BLE
2020-10-20 14:20:51 +02:00
e20dc64ff3
Merge pull request #15135 from bergzand/pr/riotboot/flashwrite_raw
...
riotboot/flashwrite: add flashpage_raw capabilities
2020-10-20 13:05:56 +02:00
55b0f0b6a8
riotboot/flashwrite: add flashpage_raw compatibility
...
This adds optional usage of periph_flashpage_raw for the
riotboot/flashwrite module. This removes the need to buffer a full
flashpage page, instead it must buffer two times the
FLASHPAGE_RAW_BLOCKSIZE. One is used to buffer the current write block,
the other buffers the first chunk (offset zero, page zero). This first
chunk is written when finalizing the flash operation.
Care must be taken that, when using the skiplength, the number of bytes
skipped is always a multiple of the FLASHPAGE_RAW_BLOCKSIZE.
2020-10-20 11:22:56 +02:00
Jose Alamos
217dc9e6e0
ieee802154/submac: receive IEEE 802.15.4 addresses on init
2020-10-19 15:18:35 +02:00
José Alamos
fc8961ec27
Merge pull request #15081 from akshaim/PR_LoRaWAN_IN_865
...
net/lorawan : Support for IN865 region, Improve debugging
2020-10-16 12:22:18 +02:00
benpicco
0f726b17d5
Merge pull request #15228 from jia200x/pr/hal_read_func
...
ieee802154/radio: add `read` function
2020-10-15 21:31:10 +02:00
benpicco
4edf5c7cbd
Merge pull request #15208 from benpicco/ieee802154_submac-etx
...
netdev/ieee802154_submac: add retransmission reporting
2020-10-15 14:31:54 +02:00
Benjamin Valentin
87151db891
ieee802154_submac: mark retrans as invalid if driver does not report it
2020-10-15 13:26:42 +02:00
Jose Alamos
b796d9805d
ieee802154/submac: adapt to radio hal API change
2020-10-14 18:07:28 +02:00
Jose Alamos
ee5adad401
ieee802154/radio: replace indication mechanism
2020-10-14 18:07:28 +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
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
János Brodbeck
4e35f473a4
sock/dtls: fix return value of sock_dtls_session_create()
2020-10-09 23:12:05 +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
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
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
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
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
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
7cf6943eab
net/ieee802154: add config for default CCA threshold
2020-10-01 10:55:55 +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
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
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
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
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
a00314bfc4
riotboot: Add function to retrieve the slot size
2020-09-29 15:18:52 +02:00
fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
...
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
72ef2086b5
suit: Group the HAVE_COMPONENTS flag with the others
2020-09-29 13:09:32 +02:00
d9cf10c109
suit: Introduce per-component flags
2020-09-29 13:09:32 +02:00
Marian Buschsieweke
27c1c453f7
sys: Module to access architecture details
...
Add a platform independent way to access architecture details. Currently only
macros to query word size, word sized integer types, and a type qualifier for
aligning variables to word boundaries are provided.
2020-09-29 12:33:59 +02:00
70b160713e
ztimer: add comment explaining ztimer_spin() logic
2020-09-29 11:53:35 +02:00
07a1dde684
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 11:23:28 +02:00
Juergen Fitschen
62fb4a2ade
Merge pull request #13661 from jue89/feature/evtimer_on_ztimer
...
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-27 14:07:04 +02:00
cdf45f9798
suit: Move policy check to before fetch
...
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
Juergen Fitschen
dfec601dea
sys/evtimer: adjusted documentation for evtimer_on_ztimer
2020-09-25 18:55:01 +02:00
Francisco
ad9e35c445
Merge pull request #14436 from bergzand/pr/suit/ietf_v7
...
SUIT: Upgrade to draft-ietf-suit-manifest-09
2020-09-24 21:57:24 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
Juergen Fitschen
838d1007b3
gnrc/mac/timeout: add missing include
2020-09-24 13:06:47 +02:00
Benjamin Valentin
bb2b6adb7e
sys/evtimer: copy warning from xtimer
...
Callbacks from evtimer are still executed in interrupt context.
While xtimer warns about this, evtimer leaves the user unsuspecting.
Copy the warning from xtimer to keep users vigilant.
2020-09-24 11:52:56 +02:00
Juergen Fitschen
c3a20f8fb8
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-24 11:30:26 +02:00
Francisco
f3a5ee69e0
Merge pull request #14936 from kaspar030/ztimer_sleep_adjust
...
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-22 14:56:56 +02:00
MichelRottleuthner
cdd1cd3ea2
Merge pull request #14978 from pokgak/xtimer/remove_set_absolute
...
xtimer: remove _xtimer_set_absolute
2020-09-21 10:03:25 +02:00
benpicco
aac05cb393
Merge pull request #15024 from chrysn-pull-requests/declare-ull-constant
...
ipv6: Declare unsigned long long literal
2020-09-15 16:57:24 +02:00
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
fb7e285acd
ztimer: add ztimer_spin()
...
This adds a simple busy waiting function intended for blocking, but very
precise short delays.
2020-09-11 00:18:59 +02:00
benpicco
f75ca11968
Merge pull request #14802 from jia200x/pr/nrf52840_radio_hal
...
nrf52840: implement Radio HAL
2020-09-10 18:07:51 +02:00
Jose Alamos
c74ee68674
net/ieee802154.h: add IFS constants
2020-09-10 17:01:13 +02:00
Jose Alamos
4944d136c2
ieee802154_hal: add cap for register retention during off
2020-09-10 14:07:49 +02:00
Jose Alamos
4db4d44304
ieee802154_hal: remove misplaced note
2020-09-10 13:42:20 +02:00
2fbd85b798
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-09 12:50:51 +02:00
Jose Alamos
4ad75216dd
ieee802154_hal: add missing const qualifiers
2020-09-09 11:17:44 +02:00