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/dissectors/packet-mac-lte.c | |
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/dissectors/packet-mac-lte.c')
-rw-r--r-- | epan/dissectors/packet-mac-lte.c | 22 |
1 files changed, 8 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 } }, |