1# Copyright (c) 2015 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig IEEE802154_UPIPE
5	bool "UART PIPE fake radio driver support for QEMU"
6	default y
7	depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && \
8		   DT_HAS_ZEPHYR_IEEE802154_UART_PIPE_ENABLED
9	select UART_PIPE
10
11if IEEE802154_UPIPE
12
13config IEEE802154_UPIPE_HW_FILTER
14	bool "Hw Filtering"
15	default y
16	help
17	  This option assure the driver will process just frames addressed to him.
18
19config IEEE802154_UPIPE_RANDOM_MAC
20	bool "Random MAC address"
21	default y
22	help
23	  Generate a random MAC address dynamically.
24
25if ! IEEE802154_UPIPE_RANDOM_MAC
26
27config IEEE802154_UPIPE_MAC4
28	hex "MAC Address Byte 4"
29	default 0
30	range 0 0xff
31	help
32	  This is the byte 4 of the MAC address.
33
34config IEEE802154_UPIPE_MAC5
35	hex "MAC Address Byte 5"
36	default 0
37	range 0 0xff
38	help
39	  This is the byte 5 of the MAC address.
40
41config IEEE802154_UPIPE_MAC6
42	hex "MAC Address Byte 6"
43	default 0
44	range 0 0xff
45	help
46	  This is the byte 6 of the MAC address.
47
48config IEEE802154_UPIPE_MAC7
49	hex "MAC Address Byte 7"
50	default 0
51	range 0 0xff
52	help
53	  This is the byte 7 of the MAC address.
54
55endif # IEEE802154_UPIPE_RANDOM_MAC
56
57endif # IEEE802154_UPIPE
58