aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-18 21:24:47 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-18 21:24:47 +0000
commit061f2313a24e63b5cae90248b3be6f64a72b4223 (patch)
treedde0cb3610557bbdfb397307c109f5851d58adb7 /epan/dissectors/packet-catapult-dct2000.c
parentd97bd55dd21b87633e4854dd0bb0f9d03507ed53 (diff)
Recognise update string for SR failure, and show ueid in MAC if set.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31916 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-catapult-dct2000.c')
-rw-r--r--epan/dissectors/packet-catapult-dct2000.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c
index 679af53743..cd887724db 100644
--- a/epan/dissectors/packet-catapult-dct2000.c
+++ b/epan/dissectors/packet-catapult-dct2000.c
@@ -1507,7 +1507,7 @@ static void dissect_tty_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
static void check_for_oob_mac_lte_events(packet_info *pinfo, tvbuff_t *tvb, proto_tree *tree,
const char *string)
{
- guint ueid;
+ guint ueid = 0;
guint rnti;
guint rapid;
guint rach_attempt_number;
@@ -1525,7 +1525,9 @@ static void check_for_oob_mac_lte_events(packet_info *pinfo, tvbuff_t *tvb, prot
oob_event = ltemac_send_sr;
}
else
- if (sscanf(string, ">> INFO MAC: ProcessSRInd - CRNTI=%u", &rnti) == 1) {
+ if ((sscanf(string, ">> INFO MAC: ProcessSRInd - CRNTI=%u", &rnti) == 1) ||
+ (sscanf(string, ">> INFO MAC: SR failed for UE %u (CRNTI=%u)", &ueid, &rnti) == 2)) {
+
oob_event = ltemac_sr_failure;
}
else {
@@ -1558,6 +1560,7 @@ static void check_for_oob_mac_lte_events(packet_info *pinfo, tvbuff_t *tvb, prot
break;
case ltemac_sr_failure:
p_mac_lte_info->rnti = rnti;
+ p_mac_lte_info->ueid = ueid;
p_mac_lte_info->direction = DIRECTION_DOWNLINK;
break;
}