aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aruba-erm.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-05-31 17:48:55 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-06-06 09:47:35 +0000
commit7e2e8ef04c301bffd67958ed3d11d751ebd3e04c (patch)
tree7de15d3b21056166fd639f2f52410cd274642769 /epan/dissectors/packet-aruba-erm.c
parent8d46c411e9b29569e806586b175b4764443374b4 (diff)
Aruba ERM: Fix FCS for Type 1 (PEEK)
Type 1 is Peek type (using Peek dissector) Peek dissector is also update for Cisco AP, Pass info to peek dissector it is "Aruba PEEK" (with buggy FCS) Add also check of signal value (when signal strength = 100%) it is a TX packet and there is no FCS Bug:11204 Change-Id: I435e0e3275bc0a03fa534e49e86251114f568040 Reviewed-on: https://code.wireshark.org/review/8710 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-aruba-erm.c')
-rw-r--r--epan/dissectors/packet-aruba-erm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aruba-erm.c b/epan/dissectors/packet-aruba-erm.c
index ac5fc781ab..8ea9328c2d 100644
--- a/epan/dissectors/packet-aruba-erm.c
+++ b/epan/dissectors/packet-aruba-erm.c
@@ -102,6 +102,8 @@
#define TYPE_PCAPPLUSRADIO 3
#define TYPE_PPI 4
+#define IS_ARUBA 0x01
+
static const value_string aruba_erm_type_vals[] = {
{ TYPE_PCAP, "pcap (type 0)" },
{ TYPE_PEEK, "peek (type 1)" },
@@ -209,7 +211,8 @@ dissect_aruba_erm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
call_dissector(wlan_withfcs, eth_tvb, pinfo, tree);
break;
case TYPE_PEEK:
- call_dissector(peek_handle, tvb, pinfo, tree);
+ /* Say to PEEK dissector, it is a Aruba PEEK packet */
+ call_dissector_with_data(peek_handle, tvb, pinfo, tree, GUINT_TO_POINTER(IS_ARUBA));
break;
case TYPE_AIRMAGNET:
/* Not (yet) supported launch data dissector */