diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-23 21:21:58 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-23 21:21:58 +0000 |
commit | d74564d6cf9d5e5d5927b51d31220db1c51409e7 (patch) | |
tree | edaa29731608634f34ef7f90dbe9825aa945ee05 /epan/dissectors/packet-lte-rrc.c | |
parent | 15ba18d1df9dcb8266361fc035b83c052283c828 (diff) |
Ensure to release an existing DRX configuration when receiving a RRC Connection Setup message
svn path=/trunk/; revision=52193
Diffstat (limited to 'epan/dissectors/packet-lte-rrc.c')
-rw-r--r-- | epan/dissectors/packet-lte-rrc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lte-rrc.c b/epan/dissectors/packet-lte-rrc.c index 2b8dbf20d5..7e9824fdd2 100644 --- a/epan/dissectors/packet-lte-rrc.c +++ b/epan/dissectors/packet-lte-rrc.c @@ -18756,12 +18756,22 @@ static const per_sequence_t RRCConnectionSetup_sequence[] = { static int dissect_lte_rrc_RRCConnectionSetup(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { + mac_lte_info* p_mac_lte_info; col_append_str(actx->pinfo->cinfo, COL_INFO, "RRCConnectionSetup"); + /* Look for UE identifier */ + p_mac_lte_info = (mac_lte_info *)p_get_proto_data(actx->pinfo->fd, proto_mac_lte, 0); + if (p_mac_lte_info != NULL) { + /* If found, tell MAC to release DRX config coming from a previous RRC connection */ + /* We do release the configuration here instead of RRC Connection Release message */ + /* as the UE could have locally dropped the previous RRC Connection */ + set_mac_lte_drx_config_release(p_mac_lte_info->ueid, actx->pinfo); + } offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_lte_rrc_RRCConnectionSetup, RRCConnectionSetup_sequence); + return offset; } |