2016-02-27 07:27:58 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2017-03-13 02:50:41 +08:00
|
|
|
config WIRELESS_IEEE802154
|
2016-02-27 07:27:58 +08:00
|
|
|
bool "IEEE 802.15.4 Wireless Support"
|
|
|
|
default n
|
2017-04-26 23:30:54 +08:00
|
|
|
select DRIVERS_IOB
|
2016-02-27 07:27:58 +08:00
|
|
|
---help---
|
2017-03-13 02:50:41 +08:00
|
|
|
Enables support for the IEEE 802.14.5 Wireless library.
|
2016-02-27 07:27:58 +08:00
|
|
|
|
2017-03-24 23:06:59 +08:00
|
|
|
if WIRELESS_IEEE802154
|
2016-02-27 07:27:58 +08:00
|
|
|
|
2017-04-26 23:30:54 +08:00
|
|
|
menuconfig IEEE802154_MAC
|
|
|
|
bool "Generic Media Access Control (MAC) layer for 802.15.4 radios"
|
2016-06-01 18:12:21 +08:00
|
|
|
default n
|
2017-03-24 23:06:59 +08:00
|
|
|
depends on WIRELESS_IEEE802154
|
2016-06-01 18:12:21 +08:00
|
|
|
---help---
|
|
|
|
Enables a Media Access Controller for any IEEE802.15.4 radio
|
|
|
|
device. This in turn can be used by higher layer entities
|
|
|
|
such as 6lowpan. It is not required to use 802.15.4 radios,
|
|
|
|
but is strongly suggested to ensure exchange of valid frames.
|
|
|
|
|
2017-04-26 23:30:54 +08:00
|
|
|
if IEEE802154_MAC
|
|
|
|
|
2017-03-30 00:51:01 +08:00
|
|
|
config IEEE802154_MAC_DEV
|
|
|
|
bool "Character driver for IEEE 802.15.4 MAC layer"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_MAC
|
|
|
|
---help---
|
|
|
|
Enable the device driver to expose the IEEE 802.15.4 MAC layer
|
|
|
|
access to user space as IOCTLs
|
|
|
|
|
2017-04-26 23:30:54 +08:00
|
|
|
choice
|
|
|
|
prompt "IEEE 802.15.4 work queue"
|
|
|
|
default MAC802154_LPWORK if SCHED_LPWORK
|
|
|
|
default MAC802154_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
|
|
|
Work queue support is required to use the IEEE 802.15.4 MAC layer.
|
|
|
|
If the low priority work queue is available, then it should be used by
|
|
|
|
the driver.
|
|
|
|
|
|
|
|
config MAC802154_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config MAC802154_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
|
|
|
|
config IEEE802154_NTXDESC
|
|
|
|
int "Number or TX descriptors"
|
|
|
|
default 3
|
|
|
|
---help---
|
|
|
|
Configured number of Tx descriptors. Default: 3
|
|
|
|
|
|
|
|
endif # IEEE802154_MAC
|
|
|
|
|
2017-04-09 03:27:03 +08:00
|
|
|
config IEEE802154_NETDEV
|
|
|
|
bool "IEEE802154 6loWPAN Network Device"
|
|
|
|
default n
|
|
|
|
depends on NET_6LOWPAN && NET_IPv6
|
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
---help---
|
|
|
|
Add support for the IEEE802.15.4 6loWPAN network device built on
|
|
|
|
the common IEEE802.15.4 MAC.
|
|
|
|
|
|
|
|
if IEEE802154_NETDEV
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default IEEE802154_NETDEV_LPWORK if SCHED_LPWORK
|
|
|
|
default IEEE802154_NETDEV_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
|
|
|
Work queue support is required to use the IEEE802.15.4 network
|
|
|
|
driver. If the low priority work queue is available, then it shoul
|
|
|
|
be used by the loopback driver.
|
|
|
|
|
|
|
|
config IEEE802154_NETDEV_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config IEEE802154_NETDEV_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
endif # IEEE802154_NETDEV
|
|
|
|
|
2017-04-03 06:29:02 +08:00
|
|
|
config IEEE802154_LOOPBACK
|
|
|
|
bool "IEEE802154 6loWPAN Loopback"
|
|
|
|
default n
|
|
|
|
depends on NET_6LOWPAN && NET_IPv6
|
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
---help---
|
2017-04-09 03:27:03 +08:00
|
|
|
Add support for the IEEE802.15.4 6loWPAN Loopback test device.
|
2017-04-03 06:29:02 +08:00
|
|
|
|
2017-04-03 06:29:02 +08:00
|
|
|
if IEEE802154_LOOPBACK
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Work queue"
|
|
|
|
default IEEE802154_LOOPBACK_LPWORK if SCHED_LPWORK
|
|
|
|
default IEEE802154_LOOPBACK_HPWORK if !SCHED_LPWORK && SCHED_HPWORK
|
|
|
|
depends on SCHED_WORKQUEUE
|
|
|
|
---help---
|
|
|
|
Work queue support is required to use the loopback driver. If the
|
|
|
|
low priority work queue is available, then it should be used by the
|
|
|
|
loopback driver.
|
|
|
|
|
|
|
|
config IEEE802154_LOOPBACK_HPWORK
|
|
|
|
bool "High priority"
|
|
|
|
depends on SCHED_HPWORK
|
|
|
|
|
|
|
|
config IEEE802154_LOOPBACK_LPWORK
|
|
|
|
bool "Low priority"
|
|
|
|
depends on SCHED_LPWORK
|
|
|
|
|
|
|
|
endchoice # Work queue
|
|
|
|
endif # IEEE802154_LOOPBACK
|
|
|
|
|
2017-04-03 22:46:16 +08:00
|
|
|
endif # WIRELESS_IEEE802154
|