Deleted Added
full compact
ng_hci.h (302408) ng_hci.h (361165)
1/*
2 * ng_hci.h
3 */
4
5/*-
6 * Copyright (c) 2001 Maksim Yevmenkin <m_evmenkin@yahoo.com>
7 * All rights reserved.
8 *

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: ng_hci.h,v 1.2 2003/03/18 00:09:37 max Exp $
1/*
2 * ng_hci.h
3 */
4
5/*-
6 * Copyright (c) 2001 Maksim Yevmenkin <m_evmenkin@yahoo.com>
7 * All rights reserved.
8 *

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: ng_hci.h,v 1.2 2003/03/18 00:09:37 max Exp $
31 * $FreeBSD: stable/11/sys/netgraph/bluetooth/include/ng_hci.h 298813 2016-04-29 21:25:05Z pfg $
31 * $FreeBSD: stable/11/sys/netgraph/bluetooth/include/ng_hci.h 361165 2020-05-18 08:57:55Z hselasky $
32 */
33
34/*
35 * This file contains everything that application needs to know about
36 * Host Controller Interface (HCI). All information was obtained from
37 * Bluetooth Specification Book v1.1.
38 *
39 * This file can be included by both kernel and userland applications.

--- 1622 unchanged lines hidden (view full) ---

1662 u_int16_t connection_handle;
1663}ng_hci_le_long_term_key_request_negative_reply_cp;
1664typedef struct {
1665 u_int8_t status;
1666 u_int16_t connection_handle;
1667}__attribute__ ((packed)) ng_hci_le_long_term_key_request_negative_reply_rp;
1668
1669
32 */
33
34/*
35 * This file contains everything that application needs to know about
36 * Host Controller Interface (HCI). All information was obtained from
37 * Bluetooth Specification Book v1.1.
38 *
39 * This file can be included by both kernel and userland applications.

--- 1622 unchanged lines hidden (view full) ---

1662 u_int16_t connection_handle;
1663}ng_hci_le_long_term_key_request_negative_reply_cp;
1664typedef struct {
1665 u_int8_t status;
1666 u_int16_t connection_handle;
1667}__attribute__ ((packed)) ng_hci_le_long_term_key_request_negative_reply_rp;
1668
1669
1670#define NG_HCI_OCF_LE_READ_SUPPORTED_STATUS 0x001c
1670#define NG_HCI_OCF_LE_READ_SUPPORTED_STATES 0x001c
1671/*No command parameter*/
1672typedef struct {
1673 u_int8_t status;
1671/*No command parameter*/
1672typedef struct {
1673 u_int8_t status;
1674 u_int64_t le_status;
1675}__attribute__ ((packed)) ng_hci_le_read_supported_status_rp;
1674 u_int64_t le_states;
1675}__attribute__ ((packed)) ng_hci_le_read_supported_states_rp;
1676
1677#define NG_HCI_OCF_LE_RECEIVER_TEST 0x001d
1678typedef struct{
1679 u_int8_t rx_frequency;
1680} __attribute__((packed)) ng_le_receiver_test_cp;
1681typedef ng_hci_status_rp ng_hci_le_receiver_test_rp;
1682
1683#define NG_HCI_OCF_LE_TRANSMITTER_TEST 0x001e

--- 306 unchanged lines hidden ---
1676
1677#define NG_HCI_OCF_LE_RECEIVER_TEST 0x001d
1678typedef struct{
1679 u_int8_t rx_frequency;
1680} __attribute__((packed)) ng_le_receiver_test_cp;
1681typedef ng_hci_status_rp ng_hci_le_receiver_test_rp;
1682
1683#define NG_HCI_OCF_LE_TRANSMITTER_TEST 0x001e

--- 306 unchanged lines hidden ---