2017-11-01 21:38:22 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config IEEE802154_I8SHARK
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "IEEE 802.15.4 Wireshark adapter"
|
2017-11-01 21:38:22 +01:00
|
|
|
default n
|
|
|
|
select IEEE802154_LIBUTILS
|
|
|
|
select IEEE802154_LIBMAC
|
|
|
|
depends on IEEE802154_MACDEV && NET_UDP && NET_IPv4
|
|
|
|
|
|
|
|
if IEEE802154_I8SHARK
|
|
|
|
|
2019-08-10 20:26:33 +02:00
|
|
|
config IEEE802154_I8SHARK_DAEMON_PRIORITY
|
|
|
|
int "i8shark task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config IEEE802154_I8SHARK_DAEMON_STACKSIZE
|
|
|
|
int "i8shark stack size"
|
|
|
|
default 2048
|
|
|
|
|
2017-11-01 21:38:22 +01:00
|
|
|
config IEEE802154_I8SHARK_DEVPATH
|
|
|
|
string "MAC char driver path"
|
|
|
|
default "/dev/ieee0"
|
|
|
|
---help---
|
|
|
|
The default path to MAC character driver. Default: /dev/ieee0
|
|
|
|
|
|
|
|
config IEEE802154_I8SHARK_HOST_IPADDR
|
|
|
|
hex "Host IP address where Wireshark is running"
|
|
|
|
default 0x0a000001
|
|
|
|
|
2019-08-10 20:26:33 +02:00
|
|
|
config IEEE802154_I8SHARK_SUPPRESS_FCS
|
|
|
|
bool "Suppress passing FCS to Wireshark"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The current Wireshark disector does not continue processing a frame, aka
|
|
|
|
6LoWPAN processing, if the FCS is incorrect. Furthermore, the FCS length
|
|
|
|
in the disector is hard-coded to be 2 bytes. Some PHY implement different
|
|
|
|
length FCS. However, Wireshark will ignore the FCS checking if an FCS is
|
|
|
|
not provided. This option intentionally excludes the last n bytes of the
|
|
|
|
frame where n is the FCS length of the current radio settings.
|
|
|
|
|
2017-11-22 22:37:11 +01:00
|
|
|
config IEEE802154_I8SHARK_XBEE_APPHDR
|
|
|
|
bool "XBee App Header compensation"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
XBee radios use an optional "application header" to support duplicate
|
|
|
|
frame detection. Wireshark does not know about this header and it causes
|
|
|
|
packets not to be recognized appropriately (6LoWPAN etc.). This option
|
|
|
|
blindly chops the first 2 bytes of payload from all incoming frames to
|
|
|
|
remove the header. This option can only be used when sniffing XBee-only
|
|
|
|
networks, as any frames not containing the application header will have
|
|
|
|
2 arbitrary bytes removed from it.
|
|
|
|
|
2017-11-01 21:38:22 +01:00
|
|
|
endif
|