summaryrefslogtreecommitdiff
path: root/nuttx/net/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/Kconfig')
-rw-r--r--nuttx/net/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index 6bd92b118..d57243b9d 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/net/Kconfig
@@ -115,6 +115,12 @@ config NET_MAX_LISTENPORTS
---help---
Maximum number of listening TCP/IP ports (all tasks). Default: 20
+config NET_TCP_READAHEAD
+ bool "Enabled TCP/IP read-ahead buffering"
+ default y
+
+if NET_TCP_READAHEAD
+
config NET_TCP_READAHEAD_BUFSIZE
int "TCP/IP read-ahead buffer size"
default 562
@@ -140,6 +146,8 @@ config NET_NTCP_READAHEAD_BUFFERS
memory constained system that does not have any TCP/IP packet rate
issues.
+endif # NET_TCP_READAHEAD
+
config NET_TCP_RECVDELAY
int "TCP Rx delay"
default 0