Lines Matching +full:ipa +full:- +full:ap +full:- +full:to +full:- +full:modem

1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (C) 2018-2024 Linaro Ltd.
15 /* Request/response/indication QMI message ids used for IPA. Receiving
18 #define IPA_QMI_INDICATION_REGISTER 0x20 /* modem -> AP request */
19 #define IPA_QMI_INIT_DRIVER 0x21 /* AP -> modem request */
20 #define IPA_QMI_INIT_COMPLETE 0x22 /* AP -> modem indication */
21 #define IPA_QMI_DRIVER_INIT_COMPLETE 0x35 /* modem -> AP request */
26 * the message size to be provided.
28 #define IPA_QMI_INDICATION_REGISTER_REQ_SZ 20 /* -> server handle */
29 #define IPA_QMI_INDICATION_REGISTER_RSP_SZ 7 /* <- server handle */
30 #define IPA_QMI_INIT_DRIVER_REQ_SZ 162 /* client handle -> */
31 #define IPA_QMI_INIT_DRIVER_RSP_SZ 25 /* client handle <- */
32 #define IPA_QMI_INIT_COMPLETE_IND_SZ 7 /* <- server handle */
33 #define IPA_QMI_DRIVER_INIT_COMPLETE_REQ_SZ 4 /* -> server handle */
34 #define IPA_QMI_DRIVER_INIT_COMPLETE_RSP_SZ 7 /* <- server handle */
36 /* Maximum size of messages we expect the AP to receive (max of above) */
54 /* The response to a IPA_QMI_INDICATION_REGISTER request consists only of
66 /* The response to a IPA_QMI_DRIVER_INIT_COMPLETE request consists only
80 /* The AP tells the modem its platform type. We assume Android. */
91 * value is a byte offset relative to the start of IPA shared memory. The
102 * is an offset relative to the start of IPA shared memory. The
104 * size is assumed to be known).
112 * start is an offset relative to the start of IPA shared memory.
123 * from the AP that affects modem initialization.
129 /* Modem header table information. This defines the IPA shared
130 * memory in which the modem may insert header table entries.
136 * *index* (not byte) for the modem portion of non-hashable IPv4 and
138 * to the start of IPA shared memory.
146 * non-hashable IPv4 and IPv6 filter tables. The start values are
147 * byte offsets relative to the start of IPA shared memory.
154 /* Modem memory information. This defines the location and
155 * size of memory available for the modem to use.
160 /* This defines the destination endpoint on the AP to which
161 * the modem driver can send control commands. Must be less
167 /* This defines whether the modem should load the microcontroller
168 * or not. It is unnecessary to reload it if the modem is being
177 * which the modem may insert header processing context table entries.
183 * in which the modem may insert compression/decompression commands.
189 * *index* (not byte) for the modem portion of hashable IPv4 and IPv6
191 * byte offsets relative to the start of IPA shared memory.
200 * The start values are byte offsets relative to the start of IPA
209 * first and last statistics sub-regions. (IPA v4.0 and above)
221 /* The response to a IPA_QMI_INIT_DRIVER request begins with a standard
223 * simply wait for the INIT_DRIVER transaction to complete and
229 /* This defines the destination endpoint on the modem to which
230 * the AP driver can send control commands. Must be less than
236 /* This defines the default endpoint. The AP driver is not
237 * required to configure the hardware with this value. Must
243 /* This defines whether a second handshake is required to complete