summaryrefslogtreecommitdiff
path: root/plugins/wimax/wimax_phy_attributes_decoder.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-06-22 04:58:08 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-06-22 04:58:08 +0000
commitf8c959dc8c4e46f733dbd4dcc954e6fa3304b248 (patch)
tree1ac2ca9d8478f5fd796c6bf17654b0899faa99f2 /plugins/wimax/wimax_phy_attributes_decoder.c
parent135ca5136ff5a9d79341228ca9e325ccba733214 (diff)
downloadwireshark-f8c959dc8c4e46f733dbd4dcc954e6fa3304b248.tar.gz
From Kovarththanan Rajaratnam:
Move header field info declarations into function scope. This is the first step. Another patch will be submitted which actually scrubs the header field info declarations (remove empty blurbs, etc.) svn path=/trunk/; revision=28797
Diffstat (limited to 'plugins/wimax/wimax_phy_attributes_decoder.c')
-rw-r--r--plugins/wimax/wimax_phy_attributes_decoder.c74
1 files changed, 37 insertions, 37 deletions
diff --git a/plugins/wimax/wimax_phy_attributes_decoder.c b/plugins/wimax/wimax_phy_attributes_decoder.c
index 9189b6b960..ac8372f3e7 100644
--- a/plugins/wimax/wimax_phy_attributes_decoder.c
+++ b/plugins/wimax/wimax_phy_attributes_decoder.c
@@ -87,46 +87,46 @@ static gint hf_phy_attributes_symbol_offset = -1;
static gint hf_phy_attributes_num_of_slots = -1;
static gint hf_phy_attributes_subchannel = -1;
-/* Physical Attributes display */
-static hf_register_info hf[] =
-{
- {
- &hf_phy_attributes_subchannelization_type,
- {"Subchannelization Type", "wmx.phy_attributes.subchannelization_type", FT_UINT8, BASE_DEC, VALS(vals_subchannel_types), 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_permbase,
- {"Permbase", "wmx.phy_attributes.permbase", FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_modulation_rate,
- {"Modulation Rate", "wmx.phy_attributes.modulation_rate", FT_UINT8, BASE_DEC, VALS(vals_modulation_rates), 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_encoding_type,
- {"Encoding Type", "wmx.phy_attributes.encoding_type", FT_UINT8, BASE_DEC, VALS(vals_encoding_types), 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_num_repeat,
- {"numRepeat", "wmx.phy_attributes.num_repeat", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_symbol_offset,
- {"Symbol Offset", "wmx.phy_attributes.symbol_offset", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_num_of_slots,
- {"Number Of Slots", "wmx.phy_attributes.num_of_slots", FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL}
- },
- {
- &hf_phy_attributes_subchannel,
- {"Subchannel", "wmx.phy_attributes.subchannel", FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL}
- }
-};
-
/* Register Wimax PDU Burst Physical Attributes Protocol */
void proto_register_wimax_phy_attributes(void)
{
+ /* Physical Attributes display */
+ static hf_register_info hf[] =
+ {
+ {
+ &hf_phy_attributes_subchannelization_type,
+ {"Subchannelization Type", "wmx.phy_attributes.subchannelization_type", FT_UINT8, BASE_DEC, VALS(vals_subchannel_types), 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_permbase,
+ {"Permbase", "wmx.phy_attributes.permbase", FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_modulation_rate,
+ {"Modulation Rate", "wmx.phy_attributes.modulation_rate", FT_UINT8, BASE_DEC, VALS(vals_modulation_rates), 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_encoding_type,
+ {"Encoding Type", "wmx.phy_attributes.encoding_type", FT_UINT8, BASE_DEC, VALS(vals_encoding_types), 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_num_repeat,
+ {"numRepeat", "wmx.phy_attributes.num_repeat", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_symbol_offset,
+ {"Symbol Offset", "wmx.phy_attributes.symbol_offset", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_num_of_slots,
+ {"Number Of Slots", "wmx.phy_attributes.num_of_slots", FT_UINT16, BASE_DEC, NULL, 0x0, "", HFILL}
+ },
+ {
+ &hf_phy_attributes_subchannel,
+ {"Subchannel", "wmx.phy_attributes.subchannel", FT_UINT8, BASE_HEX, NULL, 0x0, "", HFILL}
+ }
+ };
+
if (proto_wimax_phy_attributes_decoder == -1)
{
proto_wimax_phy_attributes_decoder = proto_wimax;