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