blob: 9a591b0db516e203f1613cf7cd0abd873b3fcac1 [file] [log] [blame]
Won Kang61e12102013-07-25 03:36:17 +09001/*
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
14#ifndef _HCI_H_
15#define _HCI_H_
16
17#define LTE_GET_INFORMATION 0x3002
18#define LTE_GET_INFORMATION_RESULT 0xB003
19 #define MAC_ADDRESS 0xA2
20
21#define LTE_LINK_ON_OFF_INDICATION 0xB133
22#define LTE_PDN_TABLE_IND 0xB143
23
24#define LTE_TX_SDU 0x3200
25#define LTE_RX_SDU 0xB201
26#define LTE_TX_MULTI_SDU 0x3202
27#define LTE_RX_MULTI_SDU 0xB203
28
29#define LTE_DL_SDU_FLOW_CONTROL 0x3305
30#define LTE_UL_SDU_FLOW_CONTROL 0xB306
31
32#define LTE_AT_CMD_TO_DEVICE 0x3307
33#define LTE_AT_CMD_FROM_DEVICE 0xB308
34
35#define LTE_SDIO_DM_SEND_PKT 0x3312
36#define LTE_SDIO_DM_RECV_PKT 0xB313
37
38#define LTE_NV_RESTORE_REQUEST 0xB30C
39#define LTE_NV_RESTORE_RESPONSE 0x330D
40#define LTE_NV_SAVE_REQUEST 0xB30E
41 #define NV_TYPE_LTE_INFO 0x00
42 #define NV_TYPE_BOARD_CONFIG 0x01
43 #define NV_TYPE_RF_CAL 0x02
44 #define NV_TYPE_TEMP 0x03
45 #define NV_TYPE_NET_INFO 0x04
46 #define NV_TYPE_SAFETY_INFO 0x05
47 #define NV_TYPE_CDMA_CAL 0x06
48 #define NV_TYPE_VENDOR 0x07
49 #define NV_TYPE_ALL 0xff
50#define LTE_NV_SAVE_RESPONSE 0x330F
51
52#define LTE_AT_CMD_TO_DEVICE_EXT 0x3323
53#define LTE_AT_CMD_FROM_DEVICE_EXT 0xB324
54
55#endif /* _HCI_H_ */