remote_filesystem_access_v01.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* 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. #define RFSA_SERVICE_ID_V01 0x1C
  16. #define RFSA_SERVICE_VERS_V01 0x01
  17. #define QMI_RFSA_GET_BUFF_ADDR_REQ_MSG_V01 0x0023
  18. #define QMI_RFSA_GET_BUFF_ADDR_RESP_MSG_V01 0x0023
  19. #define RFSA_GET_BUFF_ADDR_REQ_MSG_MAX_LEN_V01 14
  20. #define RFSA_GET_BUFF_ADDR_RESP_MSG_MAX_LEN_V01 18
  21. extern struct elem_info rfsa_get_buff_addr_req_msg_v01_ei[];
  22. extern struct elem_info rfsa_get_buff_addr_resp_msg_v01_ei[];
  23. struct rfsa_get_buff_addr_req_msg_v01 {
  24. uint32_t client_id;
  25. uint32_t size;
  26. };
  27. struct rfsa_get_buff_addr_resp_msg_v01 {
  28. struct qmi_response_type_v01 resp;
  29. uint8_t address_valid;
  30. uint64_t address;
  31. };
  32. #endif /* __REMOTE_FILESYSTEM_ACCESS_V01_H__ */