2022-04-22 14:24:42 +02:00
|
|
|
# Copyright (c) 2022 Otto-von-Guericke-Universität Magdeburg
|
2022-03-02 10:08:27 +01:00
|
|
|
# 2022 HAW Hamburg
|
2022-04-22 12:05:42 +02:00
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
|
2022-03-02 10:08:27 +01:00
|
|
|
if TEST_KCONFIG
|
2022-04-22 12:05:42 +02:00
|
|
|
|
|
|
|
config MODULE_NETDEV_DEFAULT
|
|
|
|
bool "Enable default network devices on the platform"
|
2022-03-02 10:08:27 +01:00
|
|
|
help
|
|
|
|
Say y to enable the drivers for the default network devices present on
|
|
|
|
your platform.
|
2022-04-22 12:05:42 +02:00
|
|
|
|
2022-03-02 10:08:27 +01:00
|
|
|
config MODULE_NETDEV
|
|
|
|
bool
|
2022-03-09 17:07:45 +01:00
|
|
|
prompt "Use netdev interface for networking devices" if HAVE_NON_NETDEV_INTERFACE
|
2022-03-02 10:08:27 +01:00
|
|
|
select MODULE_EUI_PROVIDER
|
|
|
|
help
|
|
|
|
Network device driver API. Netdev is a generic low-level network
|
|
|
|
interface that provides a uniform API for network stacks to interact
|
|
|
|
with network device drivers.
|
|
|
|
|
|
|
|
config MODULE_NETDEV_ETH
|
|
|
|
bool
|
|
|
|
select MODULE_NETDEV
|
|
|
|
select MODULE_NETDEV_REGISTER
|
|
|
|
help
|
|
|
|
Common code for netdev ethernet drivers.
|
|
|
|
|
2022-03-09 17:07:45 +01:00
|
|
|
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.
|
|
|
|
|
2022-03-02 10:08:27 +01:00
|
|
|
config MODULE_NETDEV_REGISTER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Network device registration.
|
|
|
|
|
2022-03-09 17:07:45 +01:00
|
|
|
endif # MODULE_NETDEV
|
|
|
|
|
2022-08-09 14:58:36 +02:00
|
|
|
# This does not depend on MODULE_NETDEV, as it is merely a flag to say if a
|
|
|
|
# given network driver is used via the netdev API, it provides the new netdev
|
|
|
|
# API. However, the driver may also provide a API other than netdev that might
|
|
|
|
# be used directly.
|
|
|
|
config MODULE_NETDEV_NEW_API
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Support for new API (non-blocking send). With this, netdev
|
|
|
|
drivers implementing `netdev_driver_t::confirm_send()` can be used.
|
|
|
|
|
|
|
|
# Comment above MODULE_NETDEV_NEW_API also applies here.
|
|
|
|
config MODULE_NETDEV_LEGACY_API
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Support for legacy netdev API (blocking send). With this, netdev drivers
|
|
|
|
**NOT** implementing `netdev_driver_t::confirm_send()` can be used.
|
|
|
|
|
2022-03-02 10:08:27 +01:00
|
|
|
endif # TEST_KCONFIG
|
2022-03-09 17:07:45 +01:00
|
|
|
|
|
|
|
config HAVE_NON_NETDEV_INTERFACE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a non-netdev interface is exposed by selected drivers.
|
|
|
|
|
2022-08-10 13:43:04 +02:00
|
|
|
config HAVE_IEEE802154_RADIO_HAL_INTERFACE
|
2022-03-09 17:07:45 +01:00
|
|
|
bool
|
|
|
|
select HAVE_NON_NETDEV_INTERFACE
|
|
|
|
help
|
|
|
|
Indicates that a device driver implements the IEEE 802.15.4 radio HAL interface.
|