xref: /kernel/linux/linux-6.6/net/caif/Kconfig (revision 62306a36)
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# CAIF net configurations
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig CAIF
762306a36Sopenharmony_ci	tristate "CAIF support"
862306a36Sopenharmony_ci	select CRC_CCITT
962306a36Sopenharmony_ci	default n
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	The "Communication CPU to Application CPU Interface" (CAIF) is a packet
1262306a36Sopenharmony_ci	based connection-oriented MUX protocol developed by ST-Ericsson for use
1362306a36Sopenharmony_ci	with its modems. It is accessed from user space as sockets (PF_CAIF).
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	Say Y (or M) here if you build for a phone product (e.g. Android or
1662306a36Sopenharmony_ci	MeeGo) that uses CAIF as transport. If unsure say N.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	If you select to build it as module then CAIF_NETDEV also needs to be
1962306a36Sopenharmony_ci	built as a module. You will also need to say Y (or M) to any CAIF
2062306a36Sopenharmony_ci	physical devices that your platform requires.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	See Documentation/networking/caif for a further explanation on how to
2362306a36Sopenharmony_ci	use and configure CAIF.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig  CAIF_DEBUG
2662306a36Sopenharmony_ci	bool "Enable Debug"
2762306a36Sopenharmony_ci	depends on CAIF
2862306a36Sopenharmony_ci	default n
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	Enable the inclusion of debug code in the CAIF stack.
3162306a36Sopenharmony_ci	Be aware that doing this will impact performance.
3262306a36Sopenharmony_ci	If unsure say N.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig CAIF_NETDEV
3562306a36Sopenharmony_ci	tristate "CAIF GPRS Network device"
3662306a36Sopenharmony_ci	depends on CAIF
3762306a36Sopenharmony_ci	default CAIF
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	Say Y if you will be using a CAIF based GPRS network device.
4062306a36Sopenharmony_ci	This can be either built-in or a loadable module.
4162306a36Sopenharmony_ci	If you select to build it as a built-in then the main CAIF device must
4262306a36Sopenharmony_ci	also be a built-in.
4362306a36Sopenharmony_ci	If unsure say Y.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig CAIF_USB
4662306a36Sopenharmony_ci	tristate "CAIF USB support"
4762306a36Sopenharmony_ci	depends on CAIF
4862306a36Sopenharmony_ci	default n
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	Say Y if you are using CAIF over USB CDC NCM.
5162306a36Sopenharmony_ci	This can be either built-in or a loadable module.
5262306a36Sopenharmony_ci	If you select to build it as a built-in then the main CAIF device must
5362306a36Sopenharmony_ci	also be a built-in.
5462306a36Sopenharmony_ci	If unsure say N.
55