wireshark/plugins/wimax
Jakub Zawadzki 5ac6474c94 Rename some of pint.h macros to match common style (bits number on the end).
pntohs  -> pntoh16
   pntohl  -> pntoh32
   pletohs -> pletoh16
   pletohl -> pletoh32
   phtons  -> phton16
   phtonl  -> phton32


svn path=/trunk/; revision=53652
2013-11-29 18:59:06 +00:00
..
AUTHORS
CMakeLists.txt Add CMake properties to targets so that they are logically organised when using a Visual Studio solution. 2013-10-13 09:21:55 +00:00
COPYING Update FSF address - part II. 2012-06-28 23:18:38 +00:00
ChangeLog
Makefile.am From David Arnold: 2013-03-12 06:53:39 +00:00
Makefile.common Make dissectors register for their MAC Management Message Type and use dissector_try_uint to do any dissection. Many "outside" (third-party) message types appear to exist. 2013-09-22 00:50:24 +00:00
Makefile.nmake Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
README.wimax
crc.c Fix a bunch of warnings. 2012-12-26 05:57:06 +00:00
crc.h Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
crc_data.c Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
mac_hd_generic_decoder.c Minor cleanup. 2013-10-24 00:32:52 +00:00
mac_hd_type1_decoder.c From beroset: 2013-03-20 01:18:10 +00:00
mac_hd_type2_decoder.c From beroset: 2013-03-20 01:18:10 +00:00
mac_mgmt_msg_decoder.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
moduleinfo.h Add our license header to plugin moduleinfo.h files. Cleans up a batch of 2013-07-06 13:31:31 +00:00
moduleinfo.nmake
msg_aas_beam.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_aas_fbck.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_arq.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_clk_cmp.c Get rid of unused variable. 2013-09-24 19:56:56 +00:00
msg_dcd.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_dlmap.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_dreg.c 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
msg_dsa.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_dsc.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_dsd.c 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
msg_dsx_rvd.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_fpc.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_pkm.c Fix copy-and-pasteo(?). 2013-09-24 19:09:10 +00:00
msg_pmc.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_prc_lt_ctrl.c Wimax dissector improvements: 2013-09-24 18:45:39 +00:00
msg_reg_req.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_reg_rsp.c 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
msg_rep.c Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2013-09-30 09:03:28 +00:00
msg_res_cmd.c 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
msg_rng_req.c Fix various warnings in (hopefully) the right ways. 2013-09-28 02:41:49 +00:00
msg_rng_rsp.c Fix various warnings in (hopefully) the right ways. 2013-09-28 02:41:49 +00:00
msg_sbc.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_ucd.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
msg_ulmap.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
packet-wmx.c Create a single array of ett_ variables, instead of individual etts + array of pointers. 2013-10-24 00:26:57 +00:00
plugin.rc.in
wimax_bits.h Rename some of pint.h macros to match common style (bits number on the end). 2013-11-29 18:59:06 +00:00
wimax_cdma_code_decoder.c Make WiMax CDMA Code Attribute its own protocol with it's own filter. 2013-10-24 00:30:14 +00:00
wimax_compact_dlmap_ie_decoder.c Comment out numerous unused hf_.... instances found by checkhf. 2013-02-10 20:52:21 +00:00
wimax_compact_ulmap_ie_decoder.c Comment out numerous unused hf_.... instances found by checkhf. 2013-02-10 20:52:21 +00:00
wimax_fch_decoder.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
wimax_ffb_decoder.c Comment out numerous unused hf_.... instances found by checkhf. 2013-02-10 20:52:21 +00:00
wimax_hack_decoder.c Comment out numerous unused hf_.... instances found by checkhf. 2013-02-10 20:52:21 +00:00
wimax_harq_map_decoder.c Minor cleanup. 2013-10-24 00:32:52 +00:00
wimax_mac.h Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
wimax_pdu_decoder.c 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
wimax_phy_attributes_decoder.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
wimax_tlv.c From Ed Beroset via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 : 2013-03-01 19:05:25 +00:00
wimax_tlv.h 1. Remove PITEM_FINFO from add_tlv_subtree and add_protocol_subtree (as well as some other minor cleanup) and adjust the calling functions accordingly. 2013-09-28 00:45:44 +00:00
wimax_utils.c Fix (using '#if 0') various [-Wunused-const-variable] warnings 2013-10-23 15:53:31 +00:00
wimax_utils.h Make dissectors register for their MAC Management Message Type and use dissector_try_uint to do any dissection. Many "outside" (third-party) message types appear to exist. 2013-09-22 00:50:24 +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.