From 4d09fbbdcf8e78072c396738f128f956a06971f0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 7 Mar 2021 14:39:45 +0100 Subject: [PATCH] monitor: Add missing strings for management command codes Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- monitor/packet.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/monitor/packet.c b/monitor/packet.c index d59e0d3..13e8006 100755 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -13749,12 +13749,19 @@ static const struct mgmt_data mgmt_command_table[] = { { 0x0045, "Set PHY Configuration", mgmt_set_phy_cmd, 4, true, mgmt_null_rsp, 0, true }, + { 0x0046, "Load Blocked Keys" }, + { 0x0047, "Set Wideband Speech" }, + { 0x0048, "Read Controller Capabilities" }, { 0x0049, "Read Experimental Features Information", mgmt_null_cmd, 0, true, mgmt_read_exp_features_info_rsp, 2, false }, { 0x004a, "Set Experimental Feature", mgmt_set_exp_feature_cmd, 17, true, mgmt_set_exp_feature_rsp, 20, true }, + { 0x004b, "Read Default System Configuration" }, + { 0x004c, "Set Default System Configuration" }, + { 0x004d, "Read Default Runtime Configuration" }, + { 0x004e, "Set Default Runtime Configuration" }, { 0x004f, "Get Device Flags", mgmt_get_device_flags_cmd, 7, true, mgmt_get_device_flags_rsp, 15, true}, @@ -13764,19 +13771,19 @@ static const struct mgmt_data mgmt_command_table[] = { { 0x0051, "Read Advertisement Monitor Features", mgmt_null_cmd, 0, true, mgmt_read_adv_monitor_features_rsp, 13, false}, - { 0x0052, "Add Advertisement Monitor", + { 0x0052, "Add Advertisement Patterns Monitor", mgmt_add_adv_monitor_patterns_cmd, 1, false, mgmt_add_adv_monitor_patterns_rsp, 2, true}, { 0x0053, "Remove Advertisement Monitor", mgmt_remove_adv_monitor_patterns_cmd, 2, true, mgmt_remove_adv_monitor_patterns_rsp, 2, true}, - { 0x0054, "Add Ext Adv Params", + { 0x0054, "Add Extended Advertising Parameters", mgmt_add_ext_adv_params_cmd, 18, false, mgmt_add_ext_adv_params_rsp, 4, true }, - { 0x0055, "Add Ext Adv Data", + { 0x0055, "Add Extended Advertising Data", mgmt_add_ext_adv_data_cmd, 3, false, mgmt_add_ext_adv_data_rsp, 1, true }, - { 0x0056, "Add Advertisement Monitor With RSSI", + { 0x0056, "Add Advertisement Patterns Monitor With RSSI Threshold", mgmt_add_adv_monitor_patterns_rssi_cmd, 8, false, mgmt_add_adv_monitor_patterns_rsp, 2, true}, @@ -14329,7 +14336,7 @@ static const struct mgmt_data mgmt_event_table[] = { mgmt_device_flags_changed_evt, 15, true }, { 0x002b, "Advertisement Monitor Added", mgmt_adv_monitor_added_evt, 2, true }, - { 0x002c, "Advertisement Monitor Added", + { 0x002c, "Advertisement Monitor Removed", mgmt_adv_monitor_removed_evt, 2, true }, { 0x002d, "Controller Suspended", mgmt_controller_suspend_evt, 1, true }, -- 2.7.4