2016-02-25 17:43:51 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2016-02-27 14:26:20 +01:00
|
|
|
menuconfig NET_6LOWPAN
|
|
|
|
bool "IEEE 802.15.4 6LoWPAN support"
|
2016-02-25 17:43:51 +01:00
|
|
|
default n
|
2016-02-25 21:01:22 +01:00
|
|
|
depends on EXPERIMENTAL && NET_IPv6
|
2016-02-25 17:43:51 +01:00
|
|
|
---help---
|
2016-02-27 14:26:20 +01:00
|
|
|
Enable support for IEEE 802.15.4 Low power Wireless Personal Area
|
|
|
|
Networking (6LoWPAN).
|
2016-02-25 17:43:51 +01:00
|
|
|
|
2016-02-27 14:26:20 +01:00
|
|
|
if NET_6LOWPAN
|
2016-02-25 17:43:51 +01:00
|
|
|
|
2017-03-28 17:00:25 +02:00
|
|
|
config NET_6LOWPAN_FRAG
|
|
|
|
bool "6loWPAN Fragmentation"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
CONFIG_NET_6LOWPAN_FRAG specifies if 6lowpan fragmentation should be
|
|
|
|
used or not. Fragmentation is on by default.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "6loWPAN Compression"
|
|
|
|
default NET_6LOWPAN_COMPRESSION_HC06
|
|
|
|
|
|
|
|
config NET_6LOWPAN_COMPRESSION_IPv6
|
|
|
|
bool "IPv6 Dispatch"
|
|
|
|
---help---
|
|
|
|
Packets compression when only IPv6 dispatch is used. There is no
|
|
|
|
compression in this case, all fields are sent inline. We just add
|
|
|
|
the IPv6 dispatch byte before the packet.
|
|
|
|
|
|
|
|
config NET_6LOWPAN_COMPRESSION_HC1
|
|
|
|
bool "6loWPAN HC1"
|
|
|
|
---help---
|
|
|
|
Compress IP/UDP header using HC1 and HC_UDP
|
|
|
|
|
|
|
|
config NET_6LOWPAN_COMPRESSION_HC06
|
|
|
|
bool "6loWPAN HC06"
|
|
|
|
---help---
|
|
|
|
Compress IP/UDP header using HC06 compression
|
|
|
|
|
|
|
|
endchoice # 6loWPAN Compression
|
|
|
|
|
|
|
|
config NET_6LOWPAN_MAXADDRCONTEXT
|
|
|
|
int "Maximum address contexts"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
If we use IPHC compression, how many address contexts do we support?
|
|
|
|
|
2016-02-27 14:26:20 +01:00
|
|
|
config NET_6LOWPAN_MTU
|
|
|
|
int "6LoWPAN packet buffer size (MTU)"
|
2016-02-26 17:08:36 +01:00
|
|
|
default 1294
|
2016-02-25 21:01:22 +01:00
|
|
|
range 590 1518
|
|
|
|
---help---
|
|
|
|
Packet buffer size. This size includes the TCP/UDP payload plus the
|
2016-02-27 14:26:20 +01:00
|
|
|
size of TCP/UDP header, the IP header, and data link layer headers.
|
2016-02-25 21:01:22 +01:00
|
|
|
This value is normally referred to as the MTU (Maximum Transmission
|
|
|
|
Unit); the payload is the MSS (Maximum Segment Size).
|
|
|
|
|
|
|
|
IPv6 hosts are required to be able to handle an MSS of 1220 octets,
|
|
|
|
resulting in a minimum buffer size of of 1220+20+40+xx = xx. REVISIT!
|
|
|
|
|
2016-02-27 14:26:20 +01:00
|
|
|
config NET_6LOWPAN_TCP_RECVWNDO
|
|
|
|
int "6LoWPAN TCP receive window size"
|
2016-02-26 17:08:36 +01:00
|
|
|
default 1220
|
|
|
|
depends on NET_TCP
|
2016-02-25 21:01:22 +01:00
|
|
|
---help---
|
|
|
|
The size of the advertised receiver's window. Should be set low
|
|
|
|
(i.e., to the size of the MSS) if the application is slow to process
|
|
|
|
incoming data, or high (32768 bytes) if the application processes
|
|
|
|
data quickly. REVISIT!
|
2016-02-25 17:43:51 +01:00
|
|
|
|
2016-02-27 14:26:20 +01:00
|
|
|
endif # NET_6LOWPAN
|