aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_evt.c
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2016-11-24 10:50:46 +0100
committerMichael Mann <mmann78@netscape.net>2017-04-04 15:05:10 +0000
commit7f3234981540afa94462cdb349752ce3db7acbee (patch)
tree4519c7b69679c6b54833d43f6e1186d39af65c92 /epan/dissectors/packet-bthci_evt.c
parent386dd82bff113e1ad3a91cef120d967b498e37f0 (diff)
Bluetooth: HCI_CMD: Implement a lot of remaining commands
Commands: Enhanced Setup Synchronous Connection Enhanced Accept Synchronous Connection Request Truncated Page Truncated Page Cancel Set Connectionless Slave Broadcast Set Connectionless Slave Broadcast Receive Start Synchronization Train Receive Synchronization Train Remote OOB Extended Data Request Reply Set MWS Channel Parameters Set External Frame Configuration Set MWS Signaling Set MWS Transport Layer Set MWS Scan Frequency Table Set MWS Pattern Configuration Set Reserved LT_ADDR Delete Reserved LT_ADDR Set Triggered Clock Capture AMP Test Write Secure Connections Test Mode Fix copy-paste issue: Implementation for "Get MWS Transport Layer Configuration" was in: "Set Triggered Clock Capture" Change-Id: I4a2119278b1f3a7e1a3ec87f499d9aa43e8b8a96 Reviewed-on: https://code.wireshark.org/review/20890 Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-bthci_evt.c')
-rw-r--r--epan/dissectors/packet-bthci_evt.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c
index 6a8852b303..f86d062a10 100644
--- a/epan/dissectors/packet-bthci_evt.c
+++ b/epan/dissectors/packet-bthci_evt.c
@@ -783,7 +783,7 @@ static const value_string evt_amp_status[] = {
{ 0, NULL }
};
-static const value_string evt_controller_types[] = {
+const value_string bthci_evt_controller_types[] = {
{ 0x00, "Primary BR/EDR" },
{ 0x01, "802.11 AMP" },
{ 0, NULL }
@@ -863,7 +863,7 @@ static const value_string evt_air_mode_vals[] = {
{ 0, NULL }
};
-static const value_string mws_transport_layer_vals[] = {
+const value_string bthci_evt_mws_transport_layer_vals[] = {
{ 0x00, "Disabled" },
{ 0x01, "WCI-1 Transport" },
{ 0x02, "WCI-2 Transport" },
@@ -895,7 +895,7 @@ static const value_string event_type_vals[] = {
{ 0, NULL }
};
-static const value_string codec_id_vals[] = {
+const value_string bthci_evt_codec_id_vals[] = {
{ 0x00, "u-Law log" },
{ 0x01, "A-law log" },
{ 0x02, "CVSD" },
@@ -6932,6 +6932,7 @@ proto_register_bthci_evt(void)
FT_UINT8, BASE_DEC, VALS(evt_enable_values), 0x0,
NULL, HFILL}
},
+/* TODO: More detailed dissection */
{ &hf_bthci_evt_afh_channel_map,
{"AFH Channel Map", "bthci_evt.afh_channel_map",
FT_BYTES, BASE_NONE, NULL, 0x0,
@@ -7084,7 +7085,7 @@ proto_register_bthci_evt(void)
},
{ &hf_bthci_evt_amp_controller_type,
{ "Controller Type", "bthci_evt.controller_type",
- FT_UINT8, BASE_HEX, VALS(evt_controller_types), 0x0,
+ FT_UINT8, BASE_HEX, VALS(bthci_evt_controller_types), 0x0,
NULL, HFILL }
},
{ &hf_bthci_evt_pal_capabilities_00,
@@ -7609,7 +7610,7 @@ proto_register_bthci_evt(void)
},
{ &hf_bthci_evt_mws_transport_layer,
{ "Transport Layer", "bthci_evt.mws.transport_layers.item.transport_layer",
- FT_UINT8, BASE_HEX, VALS(mws_transport_layer_vals), 0x0,
+ FT_UINT8, BASE_HEX, VALS(bthci_evt_mws_transport_layer_vals), 0x0,
NULL, HFILL }
},
{ &hf_bthci_evt_mws_number_of_baud_rates,
@@ -7784,11 +7785,11 @@ proto_register_bthci_evt(void)
},
{ &hf_bthci_evt_codec_id,
{ "Codec", "bthci_evt.codec_id",
- FT_UINT8, BASE_HEX, VALS(codec_id_vals), 0x0,
+ FT_UINT8, BASE_HEX, VALS(bthci_evt_codec_id_vals), 0x0,
NULL, HFILL }
},
{ &hf_bthci_evt_vendor_codec_id,
- { "Codec", "bthci_evt.vendor_codecs.item.codec_id",
+ { "Vendor Codec ID", "bthci_evt.vendor_codecs.item.codec_id",
FT_UINT16, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},