ea25f63fe3
Add a transport that uses the mhi device APIs. The mhi device APIs are used to transfer data from a device to the host over MHI. The modem will generally be configured as a device and this transport is intended to be used on the modem controller co-processor. commit net: qrtr: Add support for a mhi device transport (89754e5ed45dd). Change-Id: Ie9276fe6c0846581192aff881e59baa5fecf1ca4 Signed-off-by: Chris Lew <clew@codeaurora.org> Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
81 lines
2.8 KiB
Plaintext
81 lines
2.8 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Qualcomm IPC Router configuration
|
|
#
|
|
|
|
config QRTR
|
|
tristate "Qualcomm IPC Router support"
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
---help---
|
|
Say Y if you intend to use Qualcomm IPC router protocol. The
|
|
protocol is used to communicate with services provided by other
|
|
hardware blocks in the system.
|
|
|
|
In order to do service lookups, a userspace daemon is required to
|
|
maintain a service listing.
|
|
|
|
if QRTR
|
|
|
|
config QRTR_NODE_ID
|
|
int "QRTR Local Node ID"
|
|
default 1
|
|
help
|
|
This option is used to configure the QRTR Node ID for the local
|
|
processor. The node ID published to other nodes within the system.
|
|
This value can be overridden by the name service application. This
|
|
option is for configurations where Node ID needs to be customized
|
|
but the name service application is not priveleged enough to use
|
|
netlink sockets.
|
|
|
|
config QRTR_WAKEUP_MS
|
|
int "QRTR Wakeup timeout"
|
|
default 0
|
|
help
|
|
This option is used to configure the wakesource timeout that QRTR
|
|
should take when a packet is received. The qrtr driver can guarantee
|
|
that the packet gets queued to the socket but cannot guarantee the
|
|
client process will get time to run if auto sleep is enabled. This
|
|
config will help mitigate missed packets on systems where auto sleep
|
|
is aggressive.
|
|
|
|
config QRTR_SMD
|
|
tristate "SMD IPC Router channels"
|
|
depends on RPMSG || (COMPILE_TEST && RPMSG=n)
|
|
---help---
|
|
Say Y here to support SMD based ipcrouter channels. SMD is the
|
|
most common transport for IPC Router.
|
|
|
|
config QRTR_TUN
|
|
tristate "TUN device for Qualcomm IPC Router"
|
|
---help---
|
|
Say Y here to expose a character device that allows user space to
|
|
implement endpoints of QRTR, for purpose of tunneling data to other
|
|
hosts or testing purposes.
|
|
|
|
config QRTR_MHI
|
|
tristate "MHI IPC Router channels"
|
|
depends on MHI_BUS || (COMPILE_TEST && MHI_BUS=n)
|
|
help
|
|
Say Y here to support MHI based ipcrouter channels. MHI is the
|
|
transport used for external modem connections for IPC Router. The
|
|
MHI transport fakes synchronous sends by waiting for the uplink
|
|
callback from the MHI framework before returing to qrtr core.
|
|
|
|
config QRTR_HAVEN
|
|
tristate "Haven IPC Router channels"
|
|
help
|
|
Say Y here to support a fifo based ipcrouter channel with haven
|
|
hypervisor signaling. The haven transport layer enables IPC
|
|
Router communication between two virtual machines. The transport
|
|
uses dynamically shared memory and haven doorbells.
|
|
|
|
config QRTR_MHI_DEV
|
|
tristate "MHI Device IPC Router channels"
|
|
depends on MSM_MHI_DEV || (COMPILE_TEST && MSM_MHI_DEV=n)
|
|
help
|
|
Say Y here to support MHI base ipcrouter channels for device
|
|
endpoint mode. MHI is the transport used for external modem
|
|
connections. This driver enables QRTR to run on the modem device
|
|
side.
|
|
|
|
endif # QRTR
|