summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-06-26 12:03:04 -0700
committerGuy Harris <guy@alum.mit.edu>2015-06-26 19:03:22 +0000
commit5e6be95359b1be5e0e91db7039a0afc1172a8531 (patch)
tree356f84e33515dbc8d08df2ac2e025638ed615c6f
parentb855a9fa4d04100166b9fdcf94fc3d7e3dcaf104 (diff)
downloadwireshark-5e6be95359b1be5e0e91db7039a0afc1172a8531.tar.gz
Use "Present"/"Absent" for VHT presence flags.
Change-Id: I1571cf52d240c5d32dd8db0af2f18b91cc6e6d34 Reviewed-on: https://code.wireshark.org/review/9178 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/dissectors/packet-ieee80211-radiotap.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-ieee80211-radiotap.c b/epan/dissectors/packet-ieee80211-radiotap.c
index 1209a7058d..756cb12a05 100644
--- a/epan/dissectors/packet-ieee80211-radiotap.c
+++ b/epan/dissectors/packet-ieee80211-radiotap.c
@@ -2362,47 +2362,47 @@ void proto_register_radiotap(void)
{&hf_radiotap_vht_have_stbc,
{"STBC", "radiotap.vht.have_stbc",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_STBC,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_STBC,
"Space Time Block Coding information present", HFILL}},
{&hf_radiotap_vht_have_txop_ps,
{"TXOP_PS_NOT_ALLOWED", "radiotap.vht.have_txop_ps",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_TXOP_PS,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_TXOP_PS,
"TXOP_PS_NOT_ALLOWED information present", HFILL}},
{&hf_radiotap_vht_have_gi,
{"Guard interval", "radiotap.vht.have_gi",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_GI,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_GI,
"Short/Long guard interval information present", HFILL}},
{&hf_radiotap_vht_have_sgi_nsym_da,
{"SGI Nsym disambiguation", "radiotap.vht.have_sgi_nsym_da",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_SGI_NSYM_DA,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_SGI_NSYM_DA,
"Short guard interval Nsym disambiguation information present", HFILL}},
{&hf_radiotap_vht_have_ldpc_extra,
{"LDPC extra OFDM symbol", "radiotap.vht.ldpc_extra",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_LDPC_EXTRA,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_LDPC_EXTRA,
NULL, HFILL}},
{&hf_radiotap_vht_have_bf,
{"Beamformed", "radiotap.vht.have_beamformed",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_BF,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_BF,
NULL, HFILL}},
{&hf_radiotap_vht_have_bw,
{"Bandwidth", "radiotap.mcs.have_bw",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_BW,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_BW,
NULL, HFILL}},
{&hf_radiotap_vht_have_gid,
{"Group ID", "radiotap.mcs.have_gid",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_GID,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_GID,
NULL, HFILL}},
{&hf_radiotap_vht_have_p_aid,
{"Partial AID", "radiotap.mcs.have_paid",
- FT_BOOLEAN, 16, NULL, IEEE80211_RADIOTAP_VHT_HAVE_PAID,
+ FT_BOOLEAN, 16, TFS(&tfs_present_absent), IEEE80211_RADIOTAP_VHT_HAVE_PAID,
NULL, HFILL}},
{&hf_radiotap_vht_stbc,