1# IEEE 802.15.4 driver configuration options 2 3# Copyright (c) 2015 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6# 7# IEEE 802.15.4 options 8# 9menuconfig IEEE802154 10 bool "IEEE 802.15.4 drivers" 11 depends on NETWORKING 12 default y if NET_L2_PHY_IEEE802154 13 14if IEEE802154 15 16config IEEE802154_NET_IF_NO_AUTO_START 17 bool "IEEE 802.15.4 interface without auto-start" 18 help 19 This option allows user to set any configuration and/or filter before 20 the radio becomes operational. For instance, the EUI-64 value can be 21 configured using net_if_set_link_addr(iface, mac, 8, 22 NET_LINK_IEEE802154). 23 When all configurations are done net_if_up() has to be invoked to 24 bring the interface up. 25 26 This option can be useful when using OpenThread or Zigbee. If you 27 have any doubt about this option leave it as default value. 28 29if !NET_L2_PHY_IEEE802154 30config IEEE802154_RAW_MODE 31 bool "IEEE 802.15.4 driver without the MAC stack" 32 select NET_RAW_MODE 33 help 34 This option enables using the drivers in a so-called "raw" mode, 35 i.e. without a MAC stack (the net L2 layer for 802.15.4 will not 36 be built). Used only for very specific cases, such as wpan_serial 37 and wpanusb samples. 38endif # !NET_L2_PHY_IEEE802154 39 40config IEEE802154_RDEV 41 bool 42 help 43 PHY is a ranging-capable device (RDEV) 44 45config IEEE802154_VENDOR_OUI_ENABLE 46 bool "Support setting Vendor Organizationally Unique Identifier" 47 help 48 This option enables setting custom vendor 49 OUI using IEEE802154_VENDOR_OUI. After enabling, 50 user is obliged to set IEEE802154_VENDOR_OUI value, 51 as this option has no default value. 52 53if IEEE802154_VENDOR_OUI_ENABLE 54 55config IEEE802154_VENDOR_OUI 56 int "Vendor Organizationally Unique Identifier" 57 help 58 Custom vendor OUI, which makes 24 most-significant 59 bits of MAC address 60 61endif # IEEE802154_VENDOR_OUI_ENABLE 62 63config IEEE802154_L2_PKT_INCL_FCS 64 bool "Include FCS field in the L2 packet" 65 default y if IEEE802154_RAW_MODE || NET_L2_OPENTHREAD 66 help 67 Some 802.15.4 L2 implementations expect FCS to be included in the 68 packet, while others do not. Allow to configure this behavior based 69 on the upper layer selected. 70 71source "drivers/ieee802154/Kconfig.b91" 72 73source "drivers/ieee802154/Kconfig.cc2520" 74 75source "drivers/ieee802154/Kconfig.kw41z" 76 77source "drivers/ieee802154/Kconfig.mcr20a" 78 79source "drivers/ieee802154/Kconfig.mcxw" 80 81source "drivers/ieee802154/Kconfig.nrf5" 82 83source "drivers/ieee802154/Kconfig.cc1200" 84 85source "drivers/ieee802154/Kconfig.cc13xx_cc26xx" 86 87source "drivers/ieee802154/Kconfig.rf2xx" 88 89source "drivers/ieee802154/Kconfig.dw1000" 90 91source "drivers/ieee802154/Kconfig.uart_pipe" 92 93config IEEE802154_CSL_ENDPOINT 94 bool "Support for CSL Endpoint" 95 help 96 Make this device a CSL (coordinated sampled listening) endpoint with delayed 97 reception handling and CSL IE injection. 98 99config IEEE802154_CSL_DEBUG 100 bool "Support for CSL debugging" 101 depends on IEEE802154_CSL_ENDPOINT 102 help 103 Enable support for CSL debugging by avoiding sleep state in favor of receive state. 104 105config IEEE802154_SELECTIVE_TXCHANNEL 106 bool "Support for selective TX channel setting" 107 help 108 Enable support for selectively setting TX channel for every timed transmission request. 109 The drivers MAY have the capability IEEE802154_HW_SELECTIVE_TXCHANNEL only if 110 this Kconfig option is enabled. If the Kconfig option is disabled the drivers 111 MUST NOT have the capability. 112 113config IEEE802154_CARRIER_FUNCTIONS 114 bool "Support for carrier functions" 115 default y if OPENTHREAD_DIAG 116 help 117 Enable support for functions such as modulated carrier and continuous carrier. 118 119module = IEEE802154_DRIVER 120module-str = IEEE 802.15.4 driver 121module-help = Sets log level for IEEE 802.15.4 Device Drivers. 122source "subsys/logging/Kconfig.template.log_config" 123 124endif # IEEE802154 125