This patch creates packages for the tcp_lp and tcp_htcp congestion algorithms.
tcp_lp is used for low priority traffic (like torrents) and can be integrated 
with
transmission. tcp_htcp is used for high speed networks with high latency.

All kernel code is already mainstream and normally compiled as module for 
desktop distributions.

Even when loaded, these algorithms would not be available if not enabled by 
net.ipv4.tcp_allowed_congestion_control.
And they will not be used unless defined as default algorithm at 
net.ipv4.tcp_congestion_control or explicitly 
selected by program code (as transmission allows with option 
"peer-congestion-algorithm": "lp").

Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com>

Index: package/kernel/modules/netsupport.mk
===================================================================
--- package/kernel/modules/netsupport.mk        (revisão 36276)
+++ package/kernel/modules/netsupport.mk        (cópia de trabalho)
@@ -889,3 +889,38 @@
 
 $(eval $(call KernelPackage,slip))
 
+define KernelPackage/tcp_lp
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=TCP LP
+  KCONFIG:= \
+       CONFIG_TCP_CONG_LP
+  FILES:= \
+       $(LINUX_DIR)/net/ipv4/tcp_lp.ko
+  AUTOLOAD:=$(call AutoLoad,30,tcp_lp)
+endef
+
+define KernelPackage/tcp_lp/description
+ Kernel modules for TCP LP (Low Priority) congestion control algorithm
+endef
+
+$(eval $(call KernelPackage,tcp_lp))
+
+define KernelPackage/tcp_htcp
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=TCP HTCP
+  KCONFIG:= \
+       CONFIG_TCP_CONG_HTCP
+  FILES:= \
+       $(LINUX_DIR)/net/ipv4/tcp_htcp.ko
+  AUTOLOAD:=$(call AutoLoad,30,tcp_htcp)
+endef
+
+define KernelPackage/tcp_htcp/description
+ Kernel modules for TCP H-TCP congestion control algorithm for high speed 
networks with high latency
+endef
+
+$(eval $(call KernelPackage,tcp_htcp))
+
+
+
+
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to