hci.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _HCI_H_
  14. #define _HCI_H_
  15. #define LTE_GET_INFORMATION 0x3002
  16. #define LTE_GET_INFORMATION_RESULT 0xB003
  17. #define MAC_ADDRESS 0xA2
  18. #define LTE_LINK_ON_OFF_INDICATION 0xB133
  19. #define LTE_PDN_TABLE_IND 0xB143
  20. #define LTE_TX_SDU 0x3200
  21. #define LTE_RX_SDU 0xB201
  22. #define LTE_TX_MULTI_SDU 0x3202
  23. #define LTE_RX_MULTI_SDU 0xB203
  24. #define LTE_DL_SDU_FLOW_CONTROL 0x3305
  25. #define LTE_UL_SDU_FLOW_CONTROL 0xB306
  26. #define LTE_AT_CMD_TO_DEVICE 0x3307
  27. #define LTE_AT_CMD_FROM_DEVICE 0xB308
  28. #define LTE_SDIO_DM_SEND_PKT 0x3312
  29. #define LTE_SDIO_DM_RECV_PKT 0xB313
  30. #define LTE_NV_RESTORE_REQUEST 0xB30C
  31. #define LTE_NV_RESTORE_RESPONSE 0x330D
  32. #define LTE_NV_SAVE_REQUEST 0xB30E
  33. #define NV_TYPE_LTE_INFO 0x00
  34. #define NV_TYPE_BOARD_CONFIG 0x01
  35. #define NV_TYPE_RF_CAL 0x02
  36. #define NV_TYPE_TEMP 0x03
  37. #define NV_TYPE_NET_INFO 0x04
  38. #define NV_TYPE_SAFETY_INFO 0x05
  39. #define NV_TYPE_CDMA_CAL 0x06
  40. #define NV_TYPE_VENDOR 0x07
  41. #define NV_TYPE_ALL 0xff
  42. #define LTE_NV_SAVE_RESPONSE 0x330F
  43. #define LTE_AT_CMD_TO_DEVICE_EXT 0x3323
  44. #define LTE_AT_CMD_FROM_DEVICE_EXT 0xB324
  45. #endif /* _HCI_H_ */