xref: /OK3568_Linux_fs/kernel/net/caif/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# CAIF net configurations
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenuconfig CAIF
7*4882a593Smuzhiyun	tristate "CAIF support"
8*4882a593Smuzhiyun	select CRC_CCITT
9*4882a593Smuzhiyun	default n
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	The "Communication CPU to Application CPU Interface" (CAIF) is a packet
12*4882a593Smuzhiyun	based connection-oriented MUX protocol developed by ST-Ericsson for use
13*4882a593Smuzhiyun	with its modems. It is accessed from user space as sockets (PF_CAIF).
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	Say Y (or M) here if you build for a phone product (e.g. Android or
16*4882a593Smuzhiyun	MeeGo) that uses CAIF as transport. If unsure say N.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	If you select to build it as module then CAIF_NETDEV also needs to be
19*4882a593Smuzhiyun	built as a module. You will also need to say Y (or M) to any CAIF
20*4882a593Smuzhiyun	physical devices that your platform requires.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	See Documentation/networking/caif for a further explanation on how to
23*4882a593Smuzhiyun	use and configure CAIF.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig  CAIF_DEBUG
26*4882a593Smuzhiyun	bool "Enable Debug"
27*4882a593Smuzhiyun	depends on CAIF
28*4882a593Smuzhiyun	default n
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	Enable the inclusion of debug code in the CAIF stack.
31*4882a593Smuzhiyun	Be aware that doing this will impact performance.
32*4882a593Smuzhiyun	If unsure say N.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunconfig CAIF_NETDEV
35*4882a593Smuzhiyun	tristate "CAIF GPRS Network device"
36*4882a593Smuzhiyun	depends on CAIF
37*4882a593Smuzhiyun	default CAIF
38*4882a593Smuzhiyun	help
39*4882a593Smuzhiyun	Say Y if you will be using a CAIF based GPRS network device.
40*4882a593Smuzhiyun	This can be either built-in or a loadable module.
41*4882a593Smuzhiyun	If you select to build it as a built-in then the main CAIF device must
42*4882a593Smuzhiyun	also be a built-in.
43*4882a593Smuzhiyun	If unsure say Y.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig CAIF_USB
46*4882a593Smuzhiyun	tristate "CAIF USB support"
47*4882a593Smuzhiyun	depends on CAIF
48*4882a593Smuzhiyun	default n
49*4882a593Smuzhiyun	help
50*4882a593Smuzhiyun	Say Y if you are using CAIF over USB CDC NCM.
51*4882a593Smuzhiyun	This can be either built-in or a loadable module.
52*4882a593Smuzhiyun	If you select to build it as a built-in then the main CAIF device must
53*4882a593Smuzhiyun	also be a built-in.
54*4882a593Smuzhiyun	If unsure say N.
55