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

drivers/netdev: model IEEE 802.15.4 in Kconfig

This commit is contained in:
Leandro Lanzieri 2022-03-09 17:07:45 +01:00
parent 8ad68dbb21
commit ed22d624e4
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -13,16 +13,9 @@ config MODULE_NETDEV_DEFAULT
Say y to enable the drivers for the default network devices present on
your platform.
menu "IEEE 802.15.4 Device Drivers"
visible if MODULE_NETDEV_IEEE802154
config MODULE_NETDEV_IEEE802154_RX_TIMESTAMP
bool "Timestamp received frames"
endmenu # IEEE 802.15.4 Device Drivers
config MODULE_NETDEV
bool
prompt "Use netdev interface for networking devices" if HAVE_NON_NETDEV_INTERFACE
select MODULE_EUI_PROVIDER
help
Network device driver API. Netdev is a generic low-level network
@ -36,9 +29,68 @@ config MODULE_NETDEV_ETH
help
Common code for netdev ethernet drivers.
if MODULE_NETDEV
config NETDEV_REGISTER_SIGNAL
bool "Signal when a network device is registered"
menu "IEEE 802.15.4 Device Drivers"
visible if MODULE_NETDEV_IEEE802154
config MODULE_NETDEV_IEEE802154_RX_TIMESTAMP
bool "Timestamp received frames"
endmenu # IEEE 802.15.4 Device Drivers
config MODULE_NETDEV_IEEE802154
bool
select MODULE_NETDEV_REGISTER
select MODULE_IEEE802154
select MODULE_RANDOM
help
Common code for netdev IEEE 802.15.4 drivers.
config MODULE_NETDEV_IEEE802154_OQPSK
bool
help
Support for OQPSK modulation in netdev IEEE 802.15.4.
config MODULE_NETDEV_IEEE802154_MR_FSK
bool
help
Support for MR-FSK modulation in netdev IEEE 802.15.4.
config MODULE_NETDEV_IEEE802154_MR_OFDM
bool
help
Support for MR-OFDM modulation in netdev IEEE 802.15.4.
config MODULE_NETDEV_IEEE802154_MR_OQPSK
bool
help
Support for MR-OQPSK modulation in netdev IEEE 802.15.4.
config MODULE_NETDEV_IEEE802154_MULTIMODE
bool
help
Allow for multiple physical layer modes.
config MODULE_NETDEV_REGISTER
bool
help
Network device registration.
endif # MODULE_NETDEV
endif # TEST_KCONFIG
config HAVE_NON_NETDEV_INTERFACE
bool
help
Indicates that a non-netdev interface is exposed by selected drivers.
config HAVE_IEE802154_RADIO_HAL_INTERFACE
bool
select HAVE_NON_NETDEV_INTERFACE
help
Indicates that a device driver implements the IEEE 802.15.4 radio HAL interface.