1# Copyright (c) 2020 PHYTEC Messtechnik GmbH
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig IEEE802154_DW1000
5	bool "Decawave DW1000 Driver support"
6	default y
7	depends on DT_HAS_DECAWAVE_DW1000_ENABLED
8	select SPI
9
10if IEEE802154_DW1000
11
12config IEEE802154_DW1000_SNIFF_ONT
13	int "SNIFF on time"
14	default 0
15	range 0 15
16	help
17	  SNIFF on time in unit of PAC. The minimum on time is the duration
18	  of two PACs. The SNIFF counter always adds 1 PAC unit to the on-time
19	  count. The SNIFF_ONT value should be in range of 1-15.
20	  Zero value disables SNIFF mode.
21
22config IEEE802154_DW1000_SNIFF_OFFT
23	int "SNIFF off time"
24	default 16
25	range 1 255
26	help
27	  SNIFF off time in unit of approximate 1 microsecond.
28
29config IEEE802154_DW1000_INIT_PRIO
30	int "DW1000 initialization priority"
31	default 80
32	help
33	  Set the initialization priority number. Do not mess with it unless
34	  you know what you are doing. Beware DW1000 requires gpio and spi to
35	  be ready first (and sometime gpio should be the very first as spi
36	  might need it too). And of course it has to start before the net stack.
37
38endif
39