162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenu "DCCP CCIDs Configuration"
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciconfig IP_DCCP_CCID2_DEBUG
562306a36Sopenharmony_ci	bool "CCID-2 debugging messages"
662306a36Sopenharmony_ci	help
762306a36Sopenharmony_ci	  Enable CCID-2 specific debugging messages.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	  The debugging output can additionally be toggled by setting the
1062306a36Sopenharmony_ci	  ccid2_debug parameter to 0 or 1.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  If in doubt, say N.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig IP_DCCP_CCID3
1562306a36Sopenharmony_ci	bool "CCID-3 (TCP-Friendly)"
1662306a36Sopenharmony_ci	def_bool y if (IP_DCCP = y || IP_DCCP = m)
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  CCID-3 denotes TCP-Friendly Rate Control (TFRC), an equation-based
1962306a36Sopenharmony_ci	  rate-controlled congestion control mechanism.  TFRC is designed to
2062306a36Sopenharmony_ci	  be reasonably fair when competing for bandwidth with TCP-like flows,
2162306a36Sopenharmony_ci	  where a flow is "reasonably fair" if its sending rate is generally
2262306a36Sopenharmony_ci	  within a factor of two of the sending rate of a TCP flow under the
2362306a36Sopenharmony_ci	  same conditions.  However, TFRC has a much lower variation of
2462306a36Sopenharmony_ci	  throughput over time compared with TCP, which makes CCID-3 more
2562306a36Sopenharmony_ci	  suitable than CCID-2 for applications such streaming media where a
2662306a36Sopenharmony_ci	  relatively smooth sending rate is of importance.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	  CCID-3 is further described in RFC 4342,
2962306a36Sopenharmony_ci	  https://www.ietf.org/rfc/rfc4342.txt
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	  The TFRC congestion control algorithms were initially described in
3262306a36Sopenharmony_ci	  RFC 5348.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  This text was extracted from RFC 4340 (sec. 10.2),
3562306a36Sopenharmony_ci	  https://www.ietf.org/rfc/rfc4340.txt
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci	  If in doubt, say N.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig IP_DCCP_CCID3_DEBUG
4062306a36Sopenharmony_ci	bool "CCID-3 debugging messages"
4162306a36Sopenharmony_ci	depends on IP_DCCP_CCID3
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Enable CCID-3 specific debugging messages.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci	  The debugging output can additionally be toggled by setting the
4662306a36Sopenharmony_ci	  ccid3_debug parameter to 0 or 1.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	  If in doubt, say N.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig IP_DCCP_TFRC_LIB
5162306a36Sopenharmony_ci	def_bool y if IP_DCCP_CCID3
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig IP_DCCP_TFRC_DEBUG
5462306a36Sopenharmony_ci	def_bool y if IP_DCCP_CCID3_DEBUG
5562306a36Sopenharmony_ciendmenu
56