wireshark/plugins/wimax
Bill Meier f161dc95fa Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38150
2011-07-21 19:10:10 +00:00
..
AUTHORS
CMakeLists.txt Plugins are not shared libraries, so: 2010-09-24 20:41:34 +00:00
COPYING
ChangeLog
Makefile.am Add Cmake stuff to the source distribution so more people can try it out. 2010-05-14 16:27:03 +00:00
Makefile.common wmxtypes.h is part of the m2m plugin, not the wimax plugin. 2007-05-27 02:01:00 +00:00
Makefile.nmake A bit of Windows makefiles rework and cleanup: 2011-02-02 01:19:53 +00:00
README.wimax
crc.c Use G_N_ELEMENTS instead of hard coding size of array 2009-10-04 18:29:51 +00:00
crc.h Constify wimax_mac_calc_crc8() 2009-10-04 18:26:01 +00:00
crc_data.c Use tvb_reported_length() to get the amount of data we should look at; 2007-05-27 18:33:13 +00:00
mac_hd_generic_decoder.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
mac_hd_type1_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
mac_hd_type2_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
mac_mgmt_msg_decoder.c Add a missing break. 2011-03-29 21:08:34 +00:00
moduleinfo.h
moduleinfo.nmake Use tvb_reported_length() to get the amount of data we should look at; 2007-05-27 18:33:13 +00:00
msg_aas_beam.c Minor changes: 2009-08-04 19:01:34 +00:00
msg_aas_fbck.c Minor changes: 2009-08-04 19:01:34 +00:00
msg_arq.c 'if(proto_... == -1)' not req'd; Don't register ett[] more than once; 2009-08-09 15:07:35 +00:00
msg_clk_cmp.c Minor changes: 2009-08-04 19:01:34 +00:00
msg_dcd.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
msg_dlmap.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
msg_dreg.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
msg_dsa.c Put the initializers for the elements of value_string arrays into curly 2009-08-04 23:14:40 +00:00
msg_dsc.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
msg_dsd.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
msg_dsx_rvd.c Minor changes: 2009-08-04 19:01:34 +00:00
msg_fpc.c Fix header field names containing dots. 2009-12-08 22:05:55 +00:00
msg_pkm.c Don't stop calling subdissectors when there's no tree. 2011-01-19 22:55:53 +00:00
msg_pmc.c Use Wireshark standard marking for unused parameters. 2011-01-19 22:53:46 +00:00
msg_prc_lt_ctrl.c Remove the address operator from value_string arrays fed to VALS() 2009-11-17 18:35:27 +00:00
msg_reg_req.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
msg_reg_rsp.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
msg_rep.c Either remove or use unused values found by Coverity. Fixes CIDs 2011-04-06 18:59:36 +00:00
msg_res_cmd.c Either remove or use unused values found by Coverity. Fixes CIDs 2011-04-06 18:59:36 +00:00
msg_rng_req.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
msg_rng_rsp.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
msg_sbc.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
msg_ucd.c Don't assign to a proto_item* if the value isn't to be used: Coverity 1173; 2011-03-24 16:03:12 +00:00
msg_ulmap.c From Kluchnikov Ivan: 2011-07-04 14:57:12 +00:00
packet-wmx.c From Kluchnikov Ivan: 2011-07-04 14:33:22 +00:00
plugin.rc.in Remove the pre-release flag from FILEFLAGS in the resource file. 2008-03-29 23:04:33 +00:00
wimax_bits.h Use Wireshark standard marking for unused parameters. 2011-01-19 22:53:46 +00:00
wimax_cdma_code_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_compact_dlmap_ie_decoder.c Use Wireshark standard marking for unused parameters. 2011-01-19 22:53:46 +00:00
wimax_compact_ulmap_ie_decoder.c Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. 2011-07-21 19:10:10 +00:00
wimax_fch_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_ffb_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_hack_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_harq_map_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_mac.h Wimax: support TLV type 48 in REG-REQ/REG-RSP. 2008-06-20 15:55:32 +00:00
wimax_pdu_decoder.c From Kluchnikov Ivan: 2011-07-04 14:33:22 +00:00
wimax_phy_attributes_decoder.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_tlv.c
wimax_tlv.h Use Wireshark standard marking for unused parameters. 2011-01-19 22:53:46 +00:00
wimax_utils.c Get rid of check_col(). 2010-04-08 15:21:07 +00:00
wimax_utils.h Move prototype to wimax_utils.h 2009-10-04 17:03:57 +00:00

README.wimax

$Id$

This document is an attempt, to explain how to use the wimax plugin
in this directory.


Overview
--------
The wimax plugin is a standalone Wireshark plugin that contains a set
of WiMax Protocol dissectors.  The plugin registers the WiMax Protocol
dissectors without attached to any packet type.  So none of the
dissectors will be called by the Wireshark because there is no any
packet type hookup to the plugin.  However, it is very simple to add
the WiMax Protocol decoding capability into any of the packet decoder
by searching and calling the WiMax Protocol dissectors since they are
registered to Wireshark already.  m2m plugin is an example that uses
the wimax plugin to decode the WiMax MAC to MAC Protocol TLV packet.


WiMax Protocol dissector list
-------------
WiMax Burst Dissectors:
 1. wimax_cdma_code_burst_handler - WiMax CDMA Code Attribute Burst dissector.
 2. wimax_fch_burst_handler - WiMax FCH Burst dissector.
 3. wimax_ffb_burst_handler - WiMax Fast Feedback Burst dissector.
 4. wimax_pdu_burst_handler - WiMax PDU Burst dissector.
 5. wimax_hack_burst_handler - WiMax HACK Burst dissector.
 6. wimax_phy_attributes_burst_handler - WiMax PHY Attributes Burst dissector.

WiMax MAC dissectors:
 7. mac_header_type_1_handler - WiMax TYPE I MAC Header PDU dissector.
 8. mac_header_type_2_handler - WiMax TYPE II MAC Header PDU dissector.
 9. mac_header_generic_handler - WiMax Generic MAC Header PDU dissector.
 10. mac_mgmt_msg_handler - WiMax MAC Management Messages dissector.

WiMax Utility dissectors:
11. wimax_service_flow_encodings_decoder - WiMax Service Flow Encodings dissector.
12. wimax_error_parameter_set_decoder - WiMax Error Parameter Set dissector.
13. wimax_security_negotiation_parameters_decoder - WiMax Security Negotiation Parameter dissector.
14. wimax_pkm_tlv_encoded_attributes_decoder - WiMax PKM TLV Encoded Attributes dissector.
15. wimax_tek_parameters_decoder - WiMax TEK Parameters dissector.
16. wimax_pkm_configuration_settings_decoder - WiMax PKM Configuration Settings dissector.
17. wimax_sa_descriptor_decoder - WiMax SA Descriptor dissector.
18. wimax_cryptographic_suite_list_decoder - WiMax Cryptographic Suite List dissector.
19. wimax_security_capabilities_decoder - WiMax Security Capabilities dissector.
20. wimax_common_tlv_encoding_decoder - WiMax Common TLV Encoding dissector.
19. wimax_vendor_specific_information_decoder - WiMax Vendor-Specific Information dissector.


Usages
--------
To use any of the dissectors listed above:

1. Call Wireshark function: handle = find_dissector("dissector_name")
to get the dissector's handler.
Example: mgt_msg_handle = find_dissector("mac_mgmt_msg_handler");

2. If find_dissector() finds the dissector successfully a non-NULL
handle will be returned. Then call another Wireshark function:
call_dissector(handle, tvb, pinfo, tree) to call the dissector
corresponding to the handle.

Here, handle is the value returned by find_dissector() function.
    tvb is the pointer of the data buffer which contains the exact
	content defined by the IEEE 802.16 standards for the dissector.
    pinfo is the pointer to the packet information from Wireshark.
    tree is the pointer to the display tree or sub-tree.
Example: call_dissector(mgt_msg_handle, mgt_msg_tvb, pinfo, mgt_msg_tree);

3. The WiMax Utility dissectors should be called directly.


Notes
--------
1. All the burst data has to be defraged before passing it to the
WiMax burst dissectors.

2. The wimax_pdu_burst_handler will automatically call
mac_header_generic_handler, mac_header_type_1_handler and
mac_header_type_2_handler based on the PDU contents.

3. The mac_header_generic_handler will automatically call
mac_mgmt_msg_handler based on the PDU payload.

4. All the dissectors can be called independently but the data passed
to the dissectors has to contain exact content defined by the
IEEE 802.16 standards.