blob: 7ea8ce66a5bfc9e9c69fac6667f49068d150ba5d [file] [log] [blame]
Nikhilesh Reddybc69c702015-06-01 16:08:32 -07001 /* Copyright (c) 2014-2015, 2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13#ifndef __REMOTE_FILESYSTEM_ACCESS_V01_H__
14#define __REMOTE_FILESYSTEM_ACCESS_V01_H__
15
16#define RFSA_SERVICE_ID_V01 0x1C
17#define RFSA_SERVICE_VERS_V01 0x01
18
19#define QMI_RFSA_GET_BUFF_ADDR_REQ_MSG_V01 0x0023
20#define QMI_RFSA_GET_BUFF_ADDR_RESP_MSG_V01 0x0023
21
22#define RFSA_GET_BUFF_ADDR_REQ_MSG_MAX_LEN_V01 14
23#define RFSA_GET_BUFF_ADDR_RESP_MSG_MAX_LEN_V01 18
24
25extern struct elem_info rfsa_get_buff_addr_req_msg_v01_ei[];
26extern struct elem_info rfsa_get_buff_addr_resp_msg_v01_ei[];
27
28struct rfsa_get_buff_addr_req_msg_v01 {
29 uint32_t client_id;
30 uint32_t size;
31};
32
33struct rfsa_get_buff_addr_resp_msg_v01 {
34 struct qmi_response_type_v01 resp;
35 uint8_t address_valid;
36 uint64_t address;
37};
38
39#endif /* __REMOTE_FILESYSTEM_ACCESS_V01_H__ */