3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __PACKET_BTHCI_CMD_H__
11 #define __PACKET_BTHCI_CMD_H__
15 #endif /* __cplusplus */
17 extern value_string_ext bthci_cmd_opcode_vals_ext
;
18 extern value_string_ext bthci_cmd_ogf_vals_ext
;
19 extern value_string_ext bthci_cmd_ocf_link_control_vals_ext
;
20 extern value_string_ext bthci_cmd_ocf_link_policy_vals_ext
;
21 extern value_string_ext bthci_cmd_ocf_host_controller_and_baseband_vals_ext
;
22 extern value_string_ext bthci_cmd_ocf_informational_vals_ext
;
23 extern value_string_ext bthci_cmd_ocf_status_vals_ext
;
24 extern value_string_ext bthci_cmd_ocf_testing_vals_ext
;
25 extern value_string_ext bthci_cmd_ocf_low_energy_vals_ext
;
27 extern value_string_ext bthci_cmd_input_coding_vals_ext
;
28 extern value_string_ext bthci_cmd_input_data_format_vals_ext
;
29 extern value_string_ext bthci_cmd_input_sample_size_vals_ext
;
30 extern value_string_ext bthci_cmd_air_coding_format_vals_ext
;
31 extern value_string_ext bthci_cmd_status_vals_ext
;
32 extern value_string_ext bthci_cmd_eir_data_type_vals_ext
;
33 extern value_string_ext bthci_cmd_auth_req_vals_ext
;
34 extern value_string_ext bthci_cmd_appearance_vals_ext
;
35 extern value_string_ext bthci_cmd_le_phy_vals_ext
;
36 extern value_string_ext bthci_cmd_cte_type_vals_ext
;
37 extern value_string_ext bthci_cmd_clock_accuray_vals_ext
;
38 extern value_string_ext bthci_cmd_slot_durations_vals_ext
;
39 extern value_string_ext bthci_cmd_phy_and_coding_vals_ext
;
40 extern value_string_ext bthci_cmd_framing_vals_ext
;
41 extern value_string_ext bthci_cmd_cs_role_vals_ext
;
42 extern value_string_ext bthci_cmd_aci_vals_ext
;
43 extern value_string_ext bthci_cmd_cs_rtt_type_vals_ext
;
44 extern value_string_ext bthci_cmd_cs_ch_selection_type_vals_ext
;
45 extern value_string_ext bthci_cmd_cs_shape_vals_ext
;
47 extern const value_string bthci_cmd_io_capability_vals
[];
48 extern const value_string bthci_cmd_oob_data_present_vals
[];
49 extern const value_string bthci_cmd_address_types_vals
[];
50 WS_DLL_PUBLIC
const value_string bthci_cmd_scan_enable_values
[];
51 extern const value_string bthci_cmd_page_scan_modes
[];
52 extern const value_string bthci_cmd_page_scan_repetition_modes
[];
53 extern const value_string bthci_cmd_page_scan_period_modes
[];
54 extern const value_string bthci_cmd_notification_types
[];
56 WS_DLL_PUBLIC
const value_string bthci_cmd_encrypt_mode_vals
[];
57 WS_DLL_PUBLIC
const value_string bthci_cmd_authentication_enable_values
[];
58 WS_DLL_PUBLIC
const value_string bthci_cmd_inq_modes
[];
60 extern bool bthci_vendor_android
;
61 extern const uint16_t bthci_vendor_manufacturer_android
;
63 typedef struct _bthci_cmd_data_t
{
66 uint32_t command_in_frame
;
67 nstime_t command_abs_ts
;
68 uint32_t pending_in_frame
;
69 nstime_t pending_abs_ts
;
70 uint32_t response_in_frame
;
71 nstime_t response_abs_ts
;
76 uint16_t page_timeout
;
77 uint8_t authentication
;
79 uint32_t class_of_device
;
80 uint16_t voice_setting
;
81 uint8_t simple_pairing_mode
;
92 extern wmem_tree_t
*bthci_cmds
;
96 #endif /* __cplusplus */
101 * Editor modelines - https://www.wireshark.org/tools/modelines.html
106 * indent-tabs-mode: nil
109 * vi: set shiftwidth=4 tabstop=8 expandtab:
110 * :indentSize=4:tabSize=8:noTabs=true: