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
63source "drivers/ieee802154/Kconfig.b91"
64
65source "drivers/ieee802154/Kconfig.cc2520"
66
67source "drivers/ieee802154/Kconfig.kw41z"
68
69source "drivers/ieee802154/Kconfig.mcr20a"
70
71source "drivers/ieee802154/Kconfig.nrf5"
72
73source "drivers/ieee802154/Kconfig.cc1200"
74
75source "drivers/ieee802154/Kconfig.cc13xx_cc26xx"
76
77source "drivers/ieee802154/Kconfig.rf2xx"
78
79source "drivers/ieee802154/Kconfig.dw1000"
80
81source "drivers/ieee802154/Kconfig.uart_pipe"
82
83config IEEE802154_2015
84	bool "Support for IEEE 802.15.4-2015 frames (DEPRECATED)"
85	select DEPRECATED
86	help
87	  Enable radio driver support for IEEE 802.15.4-2015 frames, including security handling of frames and ACKs.
88
89config IEEE802154_CSL_ENDPOINT
90	bool "Support for CSL Endpoint"
91	help
92	  Make this device a CSL (coordinated sampled listening) endpoint with delayed
93	  reception handling and CSL IE injection.
94
95config IEEE802154_CSL_DEBUG
96	bool "Support for CSL debugging"
97	depends on IEEE802154_CSL_ENDPOINT
98	help
99	  Enable support for CSL debugging by avoiding sleep state in favor of receive state.
100
101config IEEE802154_SELECTIVE_TXPOWER
102	bool "Support selective TX power setting"
103	help
104	  Enable support for selectively setting TX power for every transmission request.
105
106module = IEEE802154_DRIVER
107module-str = IEEE 802.15.4 driver
108module-help = Sets log level for IEEE 802.15.4 Device Drivers.
109source "subsys/logging/Kconfig.template.log_config"
110
111endif # IEEE802154
112