diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 5ef4599..1cd0dca 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
"Remote Host Supported Features Notification",
};
-#define CMD_LINKCTL_NUM 42
+#define CMD_LINKCTL_NUM 49
static char *cmd_linkctl_str[CMD_LINKCTL_NUM + 1] = {
"Unknown",
"Inquiry",
"Setup Synchronous Connection",
"Accept Synchronous Connection",
"Reject Synchronous Connection",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Unknown",
};
#define CMD_LINKPOL_NUM 17
"Read Default Link Policy Settings",
"Write Default Link Policy Settings",
"Flow Specification",
- "Sniff Subrate",
+ "Sniff Subrating",
};
-#define CMD_HOSTCTL_NUM 82
+#define CMD_HOSTCTL_NUM 95
static char *cmd_hostctl_str[CMD_HOSTCTL_NUM + 1] = {
"Unknown",
"Set Event Mask",
"Unknown",
"Read Extended Inquiry Response",
"Write Extended Inquiry Response",
+ "Refresh Encryption Key",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Read Inquiry Response Transmit Power Level",
+ "Write Inquiry Response Transmit Power Level",
+ "Read Default Erroneous Data Reporting",
+ "Write Default Erroneous Data Reporting",
+ "Unknown",
+ "Unknown",
+ "Unknown",
+ "Enhanced Flush"
+ "Unknown",
};
#define CMD_INFO_NUM 9
"Read Clock",
};
+#define CMD_TESTING_NUM 4
+static char *cmd_testing_str[CMD_TESTING_NUM + 1] = {
+ "Unknown",
+ "Read Loopback Mode",
+ "Write Loopback Mode",
+ "Enable Device Under Test mode",
+ "Unknown",
+};
+
#define ERROR_CODE_NUM 53
static char *error_code_str[ERROR_CODE_NUM + 1] = {
"Success",
break;
case OGF_TESTING_CMD:
- cmd = "Testing";
+ if (ocf <= CMD_TESTING_NUM)
+ cmd = cmd_testing_str[ocf];
+ else
+ cmd = "Unknown";
break;
case OGF_VENDOR_CMD: