HavingaThijs
0c72444f24
cpu/cc2538: mask length byte before checking CRC
2024-11-18 08:34:29 +01:00
Thijs Havinga
81358aa7b3
cpu/cc2538: use RX FIFO count to determine CRC OK location
2024-11-06 14:41:37 +01:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
Jose Alamos
c0dcbc247e
Kconfig/ieee802154: fix typo in hal selector
2022-08-10 13:43:04 +02:00
Leandro Lanzieri
16ffe80525
cpu/cc2538/radio/Kconfig: indicate that radio HAL is implemented
2022-07-28 09:32:25 +02:00
Jose Alamos
874a13e090
ieee802154/hal: remove RX continuous cap
2022-01-10 13:57:03 +01:00
Jose Alamos
db815aa779
ieee802154/hal: migrate to request_op and confirm_op
2022-01-10 13:57:02 +01:00
benpicco
3b002cc4c8
Merge pull request #16821 from jia200x/pr/cc2538/rx_busy
...
cc2538_rf: remove RX Busy detection in request_set_trx_state
2021-10-05 00:08:40 +02:00
Jose Alamos
474838ba15
cc2538_rf: remove RX Busy detection in request_set_trx_state
...
This PR removes the RX Busy detection because it doesn't seem to be
reliable enough to ensure the radio is not locked. Some radios such as
nrf802154 don't provide RX Busy detection mechanisms, so this is not
uncommon. It's intended that the MAC layer takes care of this (e.g
slots, CSMA-CA with retransmissions, etc)
2021-09-29 16:05:34 +02:00
MrKevinWeiss
537c4c7096
cpu/cc2538: Add Kconfig cpu and radio
2021-09-08 12:40:31 +02:00
Jose Alamos
0fb55b21c5
cc2538_rf: adapt radio HAL changes
...
This PR adapts the cc2538 to the new Radio HAL changes:
- Move RX FLUSH to the `read` function
- Add RX_CONTINUOS cap
2021-09-03 11:00:46 +02:00
Jose Alamos
0b5b896e70
cc2538_rf: fix race condition when changing state
2021-09-03 11:00:46 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Jose Alamos
a6d0052ff0
drivers/cc2538_rf: don't poll internal FSM state
2021-08-09 11:39:00 +02:00
Jose Alamos
3fce21a62b
drivers/cc2538_rf: disable RX detection during CCA
2021-08-09 11:37:17 +02:00
Jose Alamos
9c2258f97c
cc2538_rf: avoid explicit cast to netdev
2021-07-09 10:38:32 +02:00
Jose Alamos
8f553488d1
drivers/cc2538_rf: remove cc2538_rf legacy
2021-07-08 15:37:42 +02:00
Jose Alamos
44934d300c
cc2538_rf: adapt to Radio HAL changes
2021-06-17 10:07:42 +02:00
Leandro Lanzieri
f0e7dfdf76
cpu/cc2538/radio: use driver specific legacy pseudomodule
...
This introduces the cc2538_rf_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the cc2538 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
Jose Alamos
3c56cdf0c0
cc2538_rf/radio_hal: fix transmit function
...
This commit sets the correct value to the MCU_CTRL bit for the
cc2538_rf. This variable is used to detect when the radio is doing
transmission with CCA. Since this was not set to 1 when sending without
CCA, the `confirm_transmit` function returned -EAGAIN after the TX_DONE
event (which violates the HAL API).
This error was discovered using some Radio HAL riotctrl scripts by @LarsKowoll.
2021-01-14 10:34:50 +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
f8bc934785
cpu/cc2538/radio/cc2538_rf_radio_ops: fix rssi reporting
2021-01-13 19:45:11 +01:00
Bas Stottelaar
22243aec7a
cpu/*: realign ENABLE_DEBUG
2020-10-23 00:46:26 +02:00
Francisco Molina
e2c57cde95
cpu/cc2538: cleanup init, add cc2538_rf_obs_sig module
2020-10-22 18:17:08 +02:00
Francisco Molina
145d24499d
cpu/cc2538_rf: remove RADIO_IRQ_PRIO
2020-10-22 17:26:08 +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
0175abc8e5
cc2538/cc2538_rf_radio_ops: add TX/RX_START
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
Jose Alamos
fa0dd8b5e2
netdev_ieee802154_submac: set addresses using netdev_register
2020-10-19 15:18:35 +02:00
Jose Alamos
c1a9d352f3
cc2538_rf: unify auto_init for HAL and netdev
2020-10-19 15:18:34 +02:00
Jose Alamos
ee5adad401
ieee802154/radio: replace indication mechanism
2020-10-14 18:07:28 +02:00
Benjamin Valentin
a1a67265cd
cc2538_rf: use prefix for global function name
2020-09-11 13:33:37 +02:00
Benjamin Valentin
8ac3332cb6
cc2538_rf: add EUI provoder for primary EUI-64
2020-09-11 13:33:37 +02:00
Benjamin Valentin
1811686540
cc2538_rf: register with netdev
2020-09-11 13:33:37 +02:00
Benjamin Valentin
6675c5f5c0
cc2538_rf: pass address via pointer
2020-09-11 13:33:37 +02:00
benpicco
84e36e6fcc
Merge pull request #14985 from jia200x/pr/hal/cc2538_rf/fix_style_issues
...
cc2538_rf_hal: fix style issues
2020-09-09 17:41:02 +02:00
Jose Alamos
9d770ec1bd
cc2538_rf_hal: fix style issues
2020-09-09 13:07:58 +02:00
Jose Alamos
d3630dcabe
cc2538_rf: add missing const qualifiers
2020-09-09 11:18:01 +02:00
63554b1a0c
cpu/cc2538/radio: only build required files
2020-09-04 15:25:36 +02:00
Jose Alamos
1401635787
cc2538: implement radio hal
2020-09-04 11:09:17 +02:00
Jose Alamos
2d7c316226
cc2538_netdev: disable netdev if radio hal is present
2020-09-03 18:20:50 +02:00
Jose Alamos
2917879407
cc2538: move chunks of init function to netdev
2020-09-03 18:20:49 +02:00
Jose Alamos
4cbd3a91b2
cc2538: move IRQ clear to netdev irq handler
2020-09-03 18:20:49 +02:00
Jose Alamos
519f8f4529
cc2538: fix RSSI offset
2020-07-31 16:08:04 +02:00
Matthew Bradbury
ba51e90228
cpu/cc2538: Flush the RX FIFO (if overflowed) after a receive
2020-04-20 18:19:23 +01:00
Matthew Bradbury
bcfb437746
cpu/cc2538: Do not check XREG_RSSISTATbits for RSSI_VALID
2020-04-20 18:18:56 +01:00