Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] PATCH: btl2cap extended window shows wrong bit

From: Andrei Emeltchenko <andrei.emeltchenko.news@xxxxxxxxx>
Date: Fri, 19 Aug 2011 16:46:29 +0300
Index: epan/dissectors/packet-btl3cap.c
===================================================================
--- epan/dissectors/packet-btl2cap.c	(revision 38619)
+++ epan/dissectors/packet-btl2cap.c	(working copy)
@@ -1466,52 +1466,52 @@
 		},
 		{ &hf_btl2cap_info_flowcontrol,
 			{ "Flow Control Mode",           "btl2cap.info_flowcontrol",
-				FT_UINT8, BASE_DEC, NULL, 0x01,
+				FT_UINT32, BASE_DEC, NULL, 0x01,
 				"Flow Control mode support", HFILL }
 		},
 		{ &hf_btl2cap_info_retransmission,
 			{ "Retransmission Mode",         "btl2cap.info_retransmission",
-				FT_UINT8, BASE_DEC, NULL, 0x02,
+				FT_UINT32, BASE_DEC, NULL, 0x02,
 				"Retransmission mode support", HFILL }
 		},
 		{ &hf_btl2cap_info_bidirqos,
 			{ "Bi-Directional QOS",          "btl2cap.info_bidirqos",
-				FT_UINT8, BASE_DEC, NULL, 0x04,
+				FT_UINT32, BASE_DEC, NULL, 0x04,
 				"Bi-Directional QOS support", HFILL }
 		},
 		{ &hf_btl2cap_info_enh_retransmission,
 			{ "Enhancded Retransmission Mode", "btl2cap.info_enh_retransmission",
-				FT_UINT8, BASE_DEC, NULL, 0x08,
+				FT_UINT32, BASE_DEC, NULL, 0x08,
 				"Enhancded Retransmission mode support", HFILL }
 		},
 		{ &hf_btl2cap_info_streaming,
 			{ "Streaming Mode", "btl2cap.info_streaming",
-				FT_UINT8, BASE_DEC, NULL, 0x10,
+				FT_UINT32, BASE_DEC, NULL, 0x10,
 				"Streaming mode support", HFILL }
 		},
 		{ &hf_btl2cap_info_fcs,
 			{ "FCS", "btl2cap.info_fcs",
-				FT_UINT8, BASE_DEC, NULL, 0x20,
+				FT_UINT32, BASE_DEC, NULL, 0x20,
 				"FCS support", HFILL }
 		},
 		{ &hf_btl2cap_info_flow_spec,
 			{ "Extended Flow Specification for BR/EDR", "btl2cap.info_flow_spec",
-				FT_UINT8, BASE_DEC, NULL, 0x40,
+				FT_UINT32, BASE_DEC, NULL, 0x40,
 				"Extended Flow Specification for BR/EDR support", HFILL }
 		},
 		{ &hf_btl2cap_info_fixedchan,
 			{ "Fixed Channels", "btl2cap.info_fixedchan",
-				FT_UINT8, BASE_DEC, NULL, 0x80,
+				FT_UINT32, BASE_DEC, NULL, 0x80,
 				"Fixed Channels support", HFILL }
 		},
 		{ &hf_btl2cap_info_window,
 			{ "Extended Window Size", "btl2cap.info_window",
-				FT_UINT8, BASE_DEC, NULL, 0x01,
+				FT_UINT32, BASE_DEC, NULL, 0x0100,
 				"Extended Window Size support", HFILL }
 		},
 		{ &hf_btl2cap_info_unicast,
 			{ "Unicast Connectionless Data Reception", "btl2cap.info_unicast",
-				FT_UINT8, BASE_DEC, NULL, 0x02,
+				FT_UINT32, BASE_DEC, NULL, 0x0200,
 				"Unicast Connectionless Data Reception support", HFILL }
 		},
 		{ &hf_btl2cap_info_fixedchans,