2015-09-11 15:13:26 +02:00
|
|
|
# Kconfig - IEEE 802.15.4 driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-08-16 17:05:14 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-09-11 15:13:26 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# IEEE 802.15.4 options
|
|
|
|
#
|
2017-12-05 10:50:10 +01:00
|
|
|
menuconfig IEEE802154
|
|
|
|
bool "IEEE 802.15.4 drivers options"
|
2018-01-15 11:39:54 +01:00
|
|
|
default y if NET_L2_IEEE802154 || NET_L2_OPENTHREAD
|
2017-12-05 10:50:10 +01:00
|
|
|
|
|
|
|
if IEEE802154
|
2015-09-11 15:13:26 +02:00
|
|
|
|
2017-11-16 11:11:51 +01:00
|
|
|
config IEEE802154_RAW_MODE
|
|
|
|
bool "Use IEEE 802.15.4 driver without the MAC stack"
|
|
|
|
select NET_RAW_MODE
|
|
|
|
help
|
2017-12-13 16:08:21 +01:00
|
|
|
This option enables using the drivers in a so-called "raw" mode,
|
|
|
|
i.e. without a MAC stack (the net L2 layer for 802.15.4 will not
|
|
|
|
be built). Used only for very specific cases, such as wpan_serial
|
|
|
|
and wpanusb samples.
|
2017-11-16 11:11:51 +01:00
|
|
|
|
2017-02-03 12:59:59 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.cc2520"
|
2015-09-11 15:13:26 +02:00
|
|
|
|
2017-04-24 17:23:47 +02:00
|
|
|
source "drivers/ieee802154/Kconfig.kw41z"
|
|
|
|
|
2017-02-03 12:59:59 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.mcr20a"
|
2016-01-18 14:07:39 +01:00
|
|
|
|
2017-02-06 12:42:34 +01:00
|
|
|
source "drivers/ieee802154/Kconfig.nrf5"
|
|
|
|
|
2017-07-05 16:56:49 +02:00
|
|
|
source "drivers/ieee802154/Kconfig.cc1200"
|
|
|
|
|
2017-02-06 11:49:16 +01:00
|
|
|
menuconfig IEEE802154_UPIPE
|
2016-08-17 16:48:36 +02:00
|
|
|
bool "UART PIPE fake radio driver support for QEMU"
|
2018-02-14 14:03:15 +01:00
|
|
|
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING
|
2016-08-17 16:48:36 +02:00
|
|
|
select UART_PIPE
|
|
|
|
|
2019-04-26 17:07:12 +02:00
|
|
|
if IEEE802154_UPIPE
|
|
|
|
|
2017-02-06 11:49:16 +01:00
|
|
|
config IEEE802154_UPIPE_DRV_NAME
|
2016-08-17 16:48:36 +02:00
|
|
|
string "UART PIPE Driver name"
|
2017-02-06 11:49:16 +01:00
|
|
|
default "IEEE802154_UPIPE"
|
2016-08-17 16:48:36 +02:00
|
|
|
|
2018-02-14 14:03:15 +01:00
|
|
|
config IEEE802154_UPIPE_HW_FILTER
|
|
|
|
bool "Hw Filtering"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option assure the driver will process just frames addressed to him.
|
|
|
|
|
|
|
|
config IEEE802154_UPIPE_RANDOM_MAC
|
|
|
|
bool "Random MAC address"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Generate a random MAC address dynamically.
|
|
|
|
|
|
|
|
if ! IEEE802154_UPIPE_RANDOM_MAC
|
|
|
|
|
|
|
|
config IEEE802154_UPIPE_MAC4
|
|
|
|
hex "MAC Address Byte 4"
|
|
|
|
default 0
|
2018-06-01 06:15:55 +02:00
|
|
|
range 0 0xff
|
2018-02-14 14:03:15 +01:00
|
|
|
help
|
|
|
|
This is the byte 4 of the MAC address.
|
|
|
|
|
|
|
|
config IEEE802154_UPIPE_MAC5
|
|
|
|
hex "MAC Address Byte 5"
|
|
|
|
default 0
|
2018-06-01 06:15:55 +02:00
|
|
|
range 0 0xff
|
2018-02-14 14:03:15 +01:00
|
|
|
help
|
|
|
|
This is the byte 5 of the MAC address.
|
|
|
|
|
|
|
|
config IEEE802154_UPIPE_MAC6
|
|
|
|
hex "MAC Address Byte 6"
|
|
|
|
default 0
|
2018-06-01 06:15:55 +02:00
|
|
|
range 0 0xff
|
2018-02-14 14:03:15 +01:00
|
|
|
help
|
|
|
|
This is the byte 6 of the MAC address.
|
|
|
|
|
|
|
|
config IEEE802154_UPIPE_MAC7
|
|
|
|
hex "MAC Address Byte 7"
|
|
|
|
default 0
|
2018-06-01 06:15:55 +02:00
|
|
|
range 0 0xff
|
2018-02-14 14:03:15 +01:00
|
|
|
help
|
|
|
|
This is the byte 7 of the MAC address.
|
|
|
|
|
|
|
|
endif # IEEE802154_UPIPE_RANDOM_MAC
|
|
|
|
|
2019-04-26 17:07:12 +02:00
|
|
|
endif # IEEE802154_UPIPE
|
|
|
|
|
2018-11-09 15:30:56 +01:00
|
|
|
module = IEEE802154_DRIVER
|
|
|
|
module-str = IEEE 802.15.4 driver
|
|
|
|
module-help = Sets log level for IEEE 802.15.4 Device Drivers.
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2017-12-05 10:50:10 +01:00
|
|
|
endif # IEEE802154
|