xref: /linux/drivers/staging/gdm724x/hci.h (revision 44f57d78)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved. */
3 
4 #ifndef _HCI_H_
5 #define _HCI_H_
6 
7 #define LTE_GET_INFORMATION		0x3002
8 #define LTE_GET_INFORMATION_RESULT	0xB003
9 	#define MAC_ADDRESS		0xA2
10 
11 #define LTE_LINK_ON_OFF_INDICATION	0xB133
12 #define LTE_PDN_TABLE_IND		0xB143
13 
14 #define LTE_TX_SDU			0x3200
15 #define LTE_RX_SDU			0xB201
16 #define LTE_TX_MULTI_SDU		0x3202
17 #define LTE_RX_MULTI_SDU		0xB203
18 
19 #define LTE_DL_SDU_FLOW_CONTROL		0x3305
20 #define LTE_UL_SDU_FLOW_CONTROL		0xB306
21 
22 #define LTE_AT_CMD_TO_DEVICE		0x3307
23 #define LTE_AT_CMD_FROM_DEVICE		0xB308
24 
25 #define LTE_SDIO_DM_SEND_PKT		0x3312
26 #define LTE_SDIO_DM_RECV_PKT		0xB313
27 
28 #define LTE_NV_RESTORE_REQUEST		0xB30C
29 #define LTE_NV_RESTORE_RESPONSE		0x330D
30 #define LTE_NV_SAVE_REQUEST		0xB30E
31 	#define NV_TYPE_LTE_INFO	0x00
32 	#define NV_TYPE_BOARD_CONFIG	0x01
33 	#define NV_TYPE_RF_CAL		0x02
34 	#define NV_TYPE_TEMP		0x03
35 	#define NV_TYPE_NET_INFO	0x04
36 	#define NV_TYPE_SAFETY_INFO	0x05
37 	#define NV_TYPE_CDMA_CAL	0x06
38 	#define NV_TYPE_VENDOR		0x07
39 	#define NV_TYPE_ALL		0xff
40 #define LTE_NV_SAVE_RESPONSE		0x330F
41 
42 #define LTE_AT_CMD_TO_DEVICE_EXT	0x3323
43 #define LTE_AT_CMD_FROM_DEVICE_EXT	0xB324
44 
45 #endif /* _HCI_H_ */
46