1# Copyright (c) 2021 Telink Semiconductor
2# SPDX-License-Identifier: Apache-2.0
3
4# Telink B91 RF configuration options
5
6menuconfig IEEE802154_TELINK_B91
7	bool "Telink B91 RF driver"
8	default y
9	depends on DT_HAS_TELINK_B91_ZB_ENABLED
10
11if IEEE802154_TELINK_B91
12
13config IEEE802154_B91_INIT_PRIO
14	int "Telink B91 IEEE 802.15.4 initialization priority"
15	default 80
16	help
17	  Set the initialization priority number. Do not mess with it unless
18	  you know what you are doing.
19
20config IEEE802154_B91_SET_TXRX_DELAY_US
21	int "Tx/Rx modes switching delay time (us)"
22	default 120
23	help
24	  Delay time needed for PLL stabilization during Tx/Rx modes switching.
25
26config IEEE802154_B91_CCA_RSSI_THRESHOLD
27	int "CCA procedure RSSI threshold"
28	default -50
29	help
30	  CCA procedure returns true if the current RSSI value is less than
31	  this parameter.
32
33config IEEE802154_B91_RANDOM_MAC
34	bool "Random MAC address"
35	default y
36	help
37	  Generate a random MAC address dynamically.
38
39if ! IEEE802154_B91_RANDOM_MAC
40
41config IEEE802154_B91_MAC4
42	hex "MAC Address Byte 4"
43	default 0
44	range 0 0xff
45	help
46	  This is the byte 4 of the MAC address.
47
48config IEEE802154_B91_MAC5
49	hex "MAC Address Byte 5"
50	default 0
51	range 0 0xff
52	help
53	  This is the byte 5 of the MAC address.
54
55config IEEE802154_B91_MAC6
56	hex "MAC Address Byte 6"
57	default 0
58	range 0 0xff
59	help
60	  This is the byte 6 of the MAC address.
61
62config IEEE802154_B91_MAC7
63	hex "MAC Address Byte 7"
64	default 0
65	range 0 0xff
66	help
67	  This is the byte 7 of the MAC address.
68
69endif # ! IEEE802154_B91_RANDOM_MAC
70endif # IEEE802154_TELINK_B91
71