diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-03-10 13:52:04 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-03-10 14:15:37 +0000 |
commit | 957b4a67efe716c31a8a54453ed62f02738ff984 (patch) | |
tree | f55bc517a025e9ac61ed2c4a971a1f4230d2269b /epan | |
parent | b9f203c1da43ba0e11bf8e1c6cc4c74e60f49402 (diff) |
Add tfs_activated_deactivated
Change-Id: I383ee93ec2a06ed2c2d07b702436035566591348
Reviewed-on: https://code.wireshark.org/review/26413
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-mac-lte.c | 22 | ||||
-rw-r--r-- | epan/tfs.c | 1 | ||||
-rw-r--r-- | epan/tfs.h | 1 |
3 files changed, 10 insertions, 14 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c index 99d178d389..7398af5ba6 100644 --- a/epan/dissectors/packet-mac-lte.c +++ b/epan/dissectors/packet-mac-lte.c @@ -1363,12 +1363,6 @@ static const value_string bit_rate_vals[] = }; static value_string_ext bit_rate_vals_ext = VALUE_STRING_EXT_INIT(bit_rate_vals); -static const true_false_string activated_deactivated_vals = -{ - "Activated", - "Deactivated" -}; - static const value_string header_only_vals[] = { { 0, "MAC PDU Headers and body present"}, @@ -9196,49 +9190,49 @@ void proto_register_mac_lte(void) { &hf_mac_lte_control_activation_deactivation_csi_rs_a8, { "CSI-RS Resource Index 8", "mac-lte.control.activation-deactivation-csi-rs.a8", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x80, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x80, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a7, { "CSI-RS Resource Index 7", "mac-lte.control.activation-deactivation-csi-rs.a7", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x40, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x40, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a6, { "CSI-RS Resource Index 6", "mac-lte.control.activation-deactivation-csi-rs.a6", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x20, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x20, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a5, { "CSI-RS Resource Index 5", "mac-lte.control.activation-deactivation-csi-rs.a5", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x10, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x10, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a4, { "CSI-RS Resource Index 4", "mac-lte.control.activation-deactivation-csi-rs.a4", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x08, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x08, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a3, { "CSI-RS Resource Index 3", "mac-lte.control.activation-deactivation-csi-rs.a3", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x04, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x04, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a2, { "CSI-RS Resource Index 2", "mac-lte.control.activation-deactivation-csi-rs.a2", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x02, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x02, NULL, HFILL } }, { &hf_mac_lte_control_activation_deactivation_csi_rs_a1, { "CSI-RS Resource Index 1", "mac-lte.control.activation-deactivation-csi-rs.a1", FT_BOOLEAN, 8, - TFS(&activated_deactivated_vals), 0x01, NULL, HFILL + TFS(&tfs_activated_deactivated), 0x01, NULL, HFILL } }, diff --git a/epan/tfs.c b/epan/tfs.c index 76e6683445..3acb619fd3 100644 --- a/epan/tfs.c +++ b/epan/tfs.c @@ -38,6 +38,7 @@ const true_false_string tfs_more_nomore = { "More", "No more" }; const true_false_string tfs_present_absent = { "Present", "Absent" }; const true_false_string tfs_present_not_present = { "Present", "Not Present" }; const true_false_string tfs_active_inactive = { "Active", "Inactive" }; +const true_false_string tfs_activated_deactivated = { "Activated", "Deactivated" }; const true_false_string tfs_found_not_found = { "Found", "Not found" }; const true_false_string tfs_command_response = { "Command", "Response" }; const true_false_string tfs_response_command = { "Response", "Command" }; diff --git a/epan/tfs.h b/epan/tfs.h index 074da31b60..14f771a245 100644 --- a/epan/tfs.h +++ b/epan/tfs.h @@ -53,6 +53,7 @@ WS_DLL_PUBLIC const true_false_string tfs_more_nomore; WS_DLL_PUBLIC const true_false_string tfs_present_absent; WS_DLL_PUBLIC const true_false_string tfs_present_not_present; WS_DLL_PUBLIC const true_false_string tfs_active_inactive; +WS_DLL_PUBLIC const true_false_string tfs_activated_deactivated; WS_DLL_PUBLIC const true_false_string tfs_found_not_found; WS_DLL_PUBLIC const true_false_string tfs_command_response; WS_DLL_PUBLIC const true_false_string tfs_response_command; |