Mikolai Gütschow
076dcefb92
cpu/nrf52: fix RSSI calculation in nrf802154_radio
2024-08-28 12:39:15 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Marian Buschsieweke
edc43201db
tree-wide: fix typos in doc and comments
...
This should not change any generated binary
2023-10-16 12:17:48 +02:00
Jose Alamos
45ba9131c8
drivers/nrf802154: do not filter broadcast PAN ID
2022-06-29 17:39:30 +02:00
Jose Alamos
55dc62819a
drivers/nrf802154: fix CCA result
2022-06-29 17:32:45 +02:00
Jose Alamos
5a27241e22
drivers/nrf802154: fix variable initialization
2022-06-29 17:32:26 +02:00
Leandro Lanzieri
e48f957a52
cpu/nrf52/radio: fix confirm_op info cast
2022-03-23 19:07:49 +01:00
chrysn
716cd8f48b
cpu/nrf52 radio: Populate info
...
According to ieee802154_radio_confirm_transmit docs, the parameter of
confirm_op for IEEE802154_HAL_OP_TRANSMIT is to be populated as an out
parameter -- but this implementation unconditionally left info
unpopulated. Thus, when run with LLVM, _fsm_state_tx_process_tx_done
looked into an uninitialized info and thus crashed into failing
assertions.
Closes: https://github.com/RIOT-OS/RIOT/issues/17591
2022-01-30 16:13:04 +01:00
Jose Alamos
db815aa779
ieee802154/hal: migrate to request_op and confirm_op
2022-01-10 13:57:02 +01:00
Benjamin Valentin
39e6e19c9c
drivers/nrf802154: add ; after DEBUG()
2021-12-08 18:28:49 +01:00
Francisco Molina
6b276af790
cpu/nrf52: initial kconfig modeling
2021-09-29 10:17:47 +02:00
benpicco
8ae782b98d
Merge pull request #16759 from jia200x/pr/nrf802154/fix_write
...
drivers/nrf802154: fix write return value and `__cplusplus` closing bracket.
2021-08-20 12:31:34 +02:00
Jose Alamos
5111bef5aa
drivers/nrf802154: fix write return value
2021-08-20 10:54:35 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
Jose Alamos
352e9431fe
nrf802154: avoid explicit cast to netdev
2021-07-09 10:38:32 +02:00
Jose Alamos
670782a76b
drivers/nrf802154: remove nrf802154_rf_netdev_legacy
2021-07-08 18:43:54 +02:00
Jose Alamos
d68b1a5f84
nrf802154: use ieee802154_dst_filter in netdev implementation
2021-06-23 16:44:08 +02:00
Jose Alamos
4cfe62fc99
nrf52840: adapt to Radio HAL changes
2021-06-16 14:19:39 +02:00
Leandro Lanzieri
246391a9fa
cpu/nrf52/nrf802154: use driver specific legacy pseudomodule
...
This introduces the nrf802154_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the nrf802154 radio driver.
2021-03-10 14:18:12 +01:00
Jean Pierre Dudey
4ca37c96b3
net/ieee802154: add PHY mode capabilities
...
- Adds capabilities for each PHY mode. Converts the uint16_t caps field to an
uint32_t in order to hold all capability bits, size of the structure remains
unchanged due to alignment.
- Modifies the test application to configure the PHY mode using the shell
command. Also adds the PHY modes to the capabilities shell command.
- Updates the nrf802154 and cc2538 radio drivers to specify the PHY mode
supported.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
243de6e501
net/ieee802154/radio: use bitflags for capabilities
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-17 10:56:28 +01:00
Hauke Petersen
cea6d8dd2d
cpu/nrf/radio/nrf802154: request HFXO clock source
2021-01-29 11:10:15 +01:00
Marian Buschsieweke
253a634b85
Merge pull request #15636 from jia200x/pr/nrf802154/fix_rssi
...
radio/nrf802154: fix set_cca_threshold range
2021-01-14 15:28:29 +01:00
Jose Alamos
f2fa3ca12f
radio/nrf802154: fix set_cca_threshold range
...
This commit fixes the CCA threshold range for set_cca_threshold.
Without this commit the threshold overflows when using values below
the receiver sensitivity.
2021-01-14 14:33:56 +01:00
Jose Alamos
698df63cfb
nrf802154/hal: fix unwanted emissions at the end of ACK frame
...
This commit turns off the transceiver immediately after sending an ACK
frame in order to avoid unwanted emissions (see ERRATA ID 204).
When the radio stays in TX_ON without an explicit transition, the radio
keeps sending a spurious signal for some milliseconds.
2021-01-14 11:06:11 +01:00
José Alamos
2bf10413d0
Merge pull request #15397 from fjmolinas/pr_ieee802154_crc_error
...
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-14 10:29:17 +01:00
Francisco Molina
fe1e16cdc7
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-13 23:42:41 +01:00
Francisco Molina
6d4d00ebe9
cpu/nrf52/nrf802154_radio: fix rssi calculation
2021-01-13 19:45:13 +01:00
Benjamin Valentin
fea9e68b88
nrf802154: don't hard-code max TX power
...
The smaller family members only have 4dBm max output power.
2020-12-01 11:42:52 +01:00
benpicco
e4164e3924
Merge pull request #15275 from jia200x/pr/radio/config_phy_amendment
...
ieee802154/radio: add TRX_OFF pre condition to config_phy
2020-10-26 23:28:45 +01:00
Jose Alamos
6c1ea917d6
nrf802154: adapt config_phy to TRX_OFF precondition
2020-10-26 17:04:48 +01:00
Bas Stottelaar
22243aec7a
cpu/*: realign ENABLE_DEBUG
2020-10-23 00:46:26 +02:00
José Alamos
9fd49581e7
Merge pull request #15140 from fjmolinas/pr_tx_start_radio_hal
...
sys/net/ieee802154/radio: add IEEE802154_RADIO_INDICATION_TX_START
2020-10-22 16:57:27 +02:00
Francisco Molina
8236c8aef1
cpu/nrf52/radio: add FRAMESTART event
2020-10-22 14:59:06 +02:00
Bas Stottelaar
ab6188cea3
cpu/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
Francisco Molina
eb1cbeae1f
cpu/nrf52/radio: change internal state to idle after rx
2020-10-21 15:08:17 +02:00
Jose Alamos
15ba1c765b
nrf802154: improve debug messages
2020-10-20 14:24:01 +02:00
Jose Alamos
967a288e74
nrf802154: fix "off" function
2020-10-20 14:24:01 +02:00
Jose Alamos
c269456245
nrf802154: fix wrong state transitions
2020-10-20 14:24:01 +02:00
Jose Alamos
fa0dd8b5e2
netdev_ieee802154_submac: set addresses using netdev_register
2020-10-19 15:18:35 +02:00
Jose Alamos
46600adf22
nrf802154: unify auto_init for HAL and netdev
2020-10-19 15:18:35 +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
Jose Alamos
ee5adad401
ieee802154/radio: replace indication mechanism
2020-10-14 18:07:28 +02:00
9d0d07ecce
cpu/nrf52: fix typo 'substract' -> 'subtract'
2020-10-02 07:57:53 +02:00
Francisco
858533e68e
Merge pull request #14994 from benpicco/nrf802154-register
...
nrf802154: register with netdev
2020-09-11 12:48:40 +02:00
Jose Alamos
377560f5cc
nrf52840: add radio hal implementation
2020-09-10 17:01:14 +02:00
Benjamin Valentin
58dc106309
nrf802154: register with netdev
2020-09-10 00:05:25 +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
Jose Alamos
5c824f6f12
nrf802154: fix set_tx_power function
2020-07-31 17:16:10 +02:00
Leandro Lanzieri
6a9c28aa72
cpu/nrf52: Add Kconfig symbols
2020-07-16 10:23:49 +02:00