Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-bthci_cmd.h
1/* packet-bthci_cmd.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_BTHCI_CMD_H__
11#define __PACKET_BTHCI_CMD_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif /* __cplusplus */
16
17extern value_string_ext bthci_cmd_opcode_vals_ext;
18extern value_string_ext bthci_cmd_ogf_vals_ext;
19extern value_string_ext bthci_cmd_ocf_link_control_vals_ext;
20extern value_string_ext bthci_cmd_ocf_link_policy_vals_ext;
21extern value_string_ext bthci_cmd_ocf_host_controller_and_baseband_vals_ext;
22extern value_string_ext bthci_cmd_ocf_informational_vals_ext;
23extern value_string_ext bthci_cmd_ocf_status_vals_ext;
24extern value_string_ext bthci_cmd_ocf_testing_vals_ext;
25extern value_string_ext bthci_cmd_ocf_low_energy_vals_ext;
26
27extern value_string_ext bthci_cmd_input_coding_vals_ext;
28extern value_string_ext bthci_cmd_input_data_format_vals_ext;
29extern value_string_ext bthci_cmd_input_sample_size_vals_ext;
30extern value_string_ext bthci_cmd_air_coding_format_vals_ext;
31extern value_string_ext bthci_cmd_status_vals_ext;
32extern value_string_ext bthci_cmd_eir_data_type_vals_ext;
33extern value_string_ext bthci_cmd_auth_req_vals_ext;
34extern value_string_ext bthci_cmd_appearance_vals_ext;
35extern value_string_ext bthci_cmd_le_phy_vals_ext;
36extern value_string_ext bthci_cmd_cte_type_vals_ext;
37extern value_string_ext bthci_cmd_clock_accuray_vals_ext;
38extern value_string_ext bthci_cmd_slot_durations_vals_ext;
39extern value_string_ext bthci_cmd_phy_and_coding_vals_ext;
40extern value_string_ext bthci_cmd_framing_vals_ext;
41extern value_string_ext bthci_cmd_cs_role_vals_ext;
42extern value_string_ext bthci_cmd_aci_vals_ext;
43extern value_string_ext bthci_cmd_cs_rtt_type_vals_ext;
44extern value_string_ext bthci_cmd_cs_ch_selection_type_vals_ext;
45extern value_string_ext bthci_cmd_cs_shape_vals_ext;
46
47extern const value_string bthci_cmd_io_capability_vals[];
48extern const value_string bthci_cmd_oob_data_present_vals[];
49extern const value_string bthci_cmd_address_types_vals[];
50extern const value_string bthci_cmd_scan_enable_values[];
51extern const value_string bthci_cmd_page_scan_modes[];
52extern const value_string bthci_cmd_page_scan_repetition_modes[];
53extern const value_string bthci_cmd_page_scan_period_modes[];
54extern const value_string bthci_cmd_notification_types[];
55
56extern const value_string bthci_cmd_encrypt_mode_vals[];
57extern const value_string bthci_cmd_authentication_enable_values[];
58extern const value_string bthci_cmd_inq_modes[];
59
60typedef struct _bthci_cmd_data_t {
61 uint32_t opcode;
62
63 uint32_t command_in_frame;
64 nstime_t command_abs_ts;
65 uint32_t pending_in_frame;
66 nstime_t pending_abs_ts;
67 uint32_t response_in_frame;
68 nstime_t response_abs_ts;
69
70 union {
71 char *name;
72 uint8_t scan;
73 uint16_t page_timeout;
74 uint8_t authentication;
75 uint8_t encryption;
76 uint32_t class_of_device;
77 uint16_t voice_setting;
78 uint8_t simple_pairing_mode;
79 uint8_t inquiry_mode;
80 struct {
81 uint16_t acl_mtu;
82 uint8_t sco_mtu;
83 uint16_t acl_packets;
84 uint16_t sco_packets;
85 } mtus;
86 } data;
88
89extern wmem_tree_t *bthci_cmds;
90
91#ifdef __cplusplus
92}
93#endif /* __cplusplus */
94
95#endif
96
97/*
98 * Editor modelines - https://www.wireshark.org/tools/modelines.html
99 *
100 * Local variables:
101 * c-basic-offset: 4
102 * tab-width: 8
103 * indent-tabs-mode: nil
104 * End:
105 *
106 * vi: set shiftwidth=4 tabstop=8 expandtab:
107 * :indentSize=4:tabSize=8:noTabs=true:
108 */
Definition packet-bthci_cmd.h:60
Definition value_string.h:161
Definition value_string.h:26
Definition wmem_tree-int.h:48
Definition nstime.h:26