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

118 Commits

Author SHA1 Message Date
Jens Wetterich
4dfeafcabd cpu/native/netdev_tap: Add to netdev_register 2022-02-11 07:54:11 +01:00
Jose Alamos
9955a35c63
[treewide] lora: use int16_t for RSSI value
The RSSI values reported by LoRa transceiver can be less than -127.
Therefore, `int8_t` is not enough. This commit defines the RSSI of
`netdev_lora_rx_info` as `int16_t` and adapt the drivers accordingly
(sx126x, sx127x).
2022-01-17 17:54:18 +01:00
acd73529a5
drivers/netdev: fix missing and non matching arguments in doc 2022-01-03 09:52:04 +01:00
Jose Alamos
503f5a9ddb
netdev: add netdev_register_signal 2021-10-05 14:35:07 +02:00
Jose Alamos
8f97f73453
ieee802154/submac: reimplement using FSM 2021-09-03 15:00:47 +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
Kevin "Tristate Tom" Weiss
25c871ed9a
Merge pull request #16576 from jia200x/pr/netdev/migrate_dst_filter
ieee802154: migrate `netdev_ieee802154_dst_filter` to a common ieee802154
2021-06-29 10:50:08 +02:00
Jose Alamos
dfeb57b7f8
netdev_ieee802154: deprecate netdev_ieee802154_dst_filter 2021-06-23 16:44:07 +02:00
Benjamin Valentin
c1eead925d drivers/slipdev: register with netdev 2021-06-21 12:42:03 +02:00
Benjamin Valentin
9a548b834f drivers/ethos: register with nedev 2021-06-11 12:31:37 +02:00
Jnae
b287d120ff at86rf215: timestamp counter for rx frames 2021-05-12 15:27:36 +02:00
benpicco
2b6454a2d7
Merge pull request #16106 from fabian18/ieee802154_security_small_bugfix_and_stricter_names
net/ieee802154_security: small bugfix and stricter names
2021-05-03 11:29:43 +02:00
Benjamin Valentin
d611a264fd drivers/cc2420: register with netdev 2021-04-27 17:37:52 +02:00
Fabian Hüßler
7036c2b9ee sys/net/link_layer/ieee802154: fix small typos 2021-04-27 08:54:19 +02:00
0b5b9bd80f
drivers: add implementation for sx126x lora radio 2021-03-30 16:12:39 +02:00
Benjamin Valentin
d8918c24fa socket_zep: register with netdev 2021-01-25 22:59:01 +01:00
Fabian Hüßler
063ff60890 drivers/include: add NETDEV_NRF24L01P_NG 2021-01-24 20:49:39 +01:00
fabian18
f7a77ebb04 drivers/nrf24l01p_ng: netdev driver for nrf24l01+
The driver uses the netdev interface. Due to the limited
capabilities of the transceiver (32 byte FIFO and no source address in the layer2 frame),
it relies on 6LowPAN compression and adds the source address to the frame for that.
2021-01-24 20:49:39 +01:00
Francisco Molina
960e0c5f43
sys/ieee802154/submac: add handling of invalid CRC frames 2021-01-13 23:42:45 +01:00
Martine Lenders
640ff4f5d8
Merge pull request #15609 from maribu/ethernet-rx-timestamp
sys/net/gnrc/netif/ethernet: Support RX timestamp
2021-01-07 19:53:52 +01:00
Marian Buschsieweke
f6bca70d11
sys/net/gnrc/netif/ethernet: Support RX timestamp 2021-01-06 20:30:14 +01:00
Marian Buschsieweke
e5a0154255
Merge pull request #14660 from maribu/netdev_confirm_send
drivers/net: Add netdev_driver_t::confirm_send
2021-01-05 16:11:20 +01:00
Marian Buschsieweke
53fcb97b2f
drivers/net: Add netdev_driver_t::confirm_send
Changed the API of `netdev_driver_t`:

- The `send()` function should no longer return the number of bytes and should
  not block
- The upper layer now must call the new `confirm_send()` function after
  calling `send()`; either busy waiting until something different to `-EBUSY`
  is returned, or after `NETDEV_EVENT_TX_COMPLETE` was signaled

During transition to the new API, the upper layer must remain backward
compatible and must assume the legacy API if `netdev_driver_t::confirm_send()`
is `NULL`.
2021-01-05 15:34:11 +01:00
Jens Wetterich
e36a0d883a esp_common/esp_now: use netdev_register() 2020-12-23 19:44:57 +01:00
dylad
7cbaa3f890 net/netdev: create SAM0 Ethernet entry in netdev_type_t 2020-12-13 21:41:20 +01:00
Fabian Hüßler
1b5bcec554 drivers/netdev: Add IEEE 802.15.4 security 2020-12-04 09:40:55 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Fabian Hüßler
8ca2e09d95 drivers/include: add NETDEV_SX127X 2020-12-01 16:34:06 +01:00
Fabian Hüßler
320b1c4206 drivers/include: add NETDEV_CC110X 2020-12-01 12:06:12 +01:00
Benjamin Valentin
eb199d4c78 netdev: move definition of NETDEV_INDEX_ANY to netdev 2020-12-01 11:55:06 +01:00
Benjamin Valentin
a28a60f16c cpu/stm32: periph_eth: register with netdev 2020-11-29 23:10:37 +01:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Benjamin Valentin
37aad4ef38 netdev/ieee802154_submac: add retransmission reporting
If we do software retransmissions, we already keep a count.
Allow to query it with `NETOPT_TX_RETRIES_NEEDED`.
2020-10-15 13:26:42 +02:00
Benjamin Valentin
b32bc3dbd1 drivers/kw41zrf: register with netdev 2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5 drivers/enc28j60: register with netdev 2020-10-08 10:36:56 +02:00
Benjamin Valentin
988ee1648f drivers/mrf24j40: register with netdev 2020-10-07 16:39:39 +02:00
Marian Buschsieweke
5b9463aca1
drivers/netdev: Clarify documentation 2020-10-06 10:48:06 +02:00
Jose Alamos
4bb77b0b2f netdev/ieee802154_submac: add compatibility layer 2020-09-30 17:25:31 +02:00
benpicco
842933855f
Merge pull request #14995 from benpicco/cpu/cc2538-register
cc2538_rf: register with netdev
2020-09-11 16:03:08 +02:00
Benjamin Valentin
1811686540 cc2538_rf: register with netdev 2020-09-11 13:33:37 +02:00
Benjamin Valentin
58dc106309 nrf802154: register with netdev 2020-09-10 00:05:25 +02:00
Benjamin Valentin
3e8d6388f8 netdev_ieee802154: use eui_provider in netdev_ieee802154_setup() 2020-08-30 23:43:57 +02:00
Benjamin Valentin
d29397cfd8 netdev_ieee802154: add netdev_ieee802154_setup() 2020-08-21 15:33:19 +02:00
Benjamin Valentin
decadc41a0 drivers/dose: register driver with netdev 2020-08-17 22:53:51 +02:00
Benjamin Valentin
7ceb3f0a68 netdev: add netdev_register() to keep track if netdev IDs
It is desireable to have a way to identify network devices.
This should be independent from the type of netdev, so a common identifier is needed.

Base this on the driver ID and the index in the configuration struct.
This way we achive unique IDs that stay consistent for any firmware flashed on a board.
2020-08-17 22:50:18 +02:00
Marian Buschsieweke
86513dc97a
drivers/net: Fix netdev_driver_t doc
- Fix indent
- Use @reval instead of @return when referring to a single return value
- Use term "frame" instead of "packet"
2020-07-30 20:22:17 +02:00
Akshai M
60170971bd net/l2filter : Update documentation 2020-07-22 00:26:09 +05:30
Akshai M
caab4cd8c5 net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_' 2020-07-22 00:26:09 +05:30
Jose Alamos
67bc0e13af netdev: add netdev_trigger_event_isr function 2020-03-06 14:02:40 +01:00