2 * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
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.
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.
14 #ifndef _HCI_PACKET_H_
15 #define _HCI_PACKET_H_
17 #define HCI_HEADER_SIZE 4
20 * The NIC type definition:
21 * For backward compatibility, lower 16 bits used as they were.
22 * Lower 16 bit: NIC_TYPE values
23 * Uppoer 16 bit: NIC_TYPE Flags
25 #define NIC_TYPE_NIC0 0x00000010
26 #define NIC_TYPE_NIC1 0x00000011
27 #define NIC_TYPE_NIC2 0x00000012
28 #define NIC_TYPE_NIC3 0x00000013
29 #define NIC_TYPE_ARP 0x00000100
30 #define NIC_TYPE_ICMPV6 0x00000200
31 #define NIC_TYPE_MASK 0x0000FFFF
32 #define NIC_TYPE_F_IPV4 0x00010000
33 #define NIC_TYPE_F_IPV6 0x00020000
34 #define NIC_TYPE_F_DHCP 0x00040000
35 #define NIC_TYPE_F_NDP 0x00080000
36 #define NIC_TYPE_F_VLAN 0x00100000
75 struct hci_pdn_table_ind {
86 struct hci_connect_ind {
93 #endif /* _HCI_PACKET_H_ */