packetlogger: Add some info types

Add Kernel, Kernel Debug and Error info types.

Change-Id: I04547a426b69adde5186e8315a08f4648c1e7837
Reviewed-on: https://code.wireshark.org/review/16047
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Stig Bjørlykke 2016-06-21 08:52:51 +02:00 committed by Anders Broman
parent 9a5cdac6ef
commit 6ee546457c
1 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,9 @@ static dissector_table_t hci_h1_table;
#define PKT_RECV_ACL_DATA 0x03
#define PKT_LMP_SEND 0x0A
#define PKT_LMP_RECV 0x0B
#define PKT_KERNEL 0xF8
#define PKT_KERNEL_DEBUG 0xF9
#define PKT_ERROR 0xFA
#define PKT_POWER 0xFB
#define PKT_NOTE 0xFC
#define PKT_NEW_CONTROLLER 0xFE
@ -63,6 +66,9 @@ static const value_string type_vals[] = {
{ PKT_RECV_ACL_DATA, "Recv ACL Data" },
{ PKT_LMP_SEND, "Sent LMP Data" },
{ PKT_LMP_RECV, "Recv LMP Data" },
{ PKT_KERNEL, "Kernel" },
{ PKT_KERNEL_DEBUG, "Kernel Debug" },
{ PKT_ERROR, "Error" },
{ PKT_POWER, "Power" },
{ PKT_NOTE, "Note" },
{ PKT_NEW_CONTROLLER, "New Controller" },
@ -135,6 +141,9 @@ static int dissect_packetlogger(tvbuff_t *tvb, packet_info *pinfo,
} else {
/* PacketLogger data */
switch (pl_type) {
case PKT_KERNEL:
case PKT_KERNEL_DEBUG:
case PKT_ERROR:
case PKT_POWER:
case PKT_NOTE:
case PKT_NEW_CONTROLLER: