Hello,
I am new in ns3 and trying to understand the handover mechanism in it. I am running "lena-x2-handover-measures.cc" in examples folder by changing some parameters (ie. meas. report trigger conditions, system BW etc.) in main part of the code.
My main objective is to build handover scenario with 2 eNB and multiple user and run it for some time and check Handover Success rate of the system. For this, I need to have some handover failures in due to RLF, RA problem etc. and I need to be able to count them.
While checking the enb-rrc.cc code, I have found two functions called "LteEnbRrc::HandoverJoiningTimeout" and "LteEnbRrc::HandoverLeavingTimeout". Those values set 200ms as default but just to try and see, I intentionally have set them as 2ms which is impossible to complete handover operation in 2ms. After timeout, I see eNB RRC removing the UE but I do not see in UE logs that the UE is detached or removed. Seems like in UeRRC, UE think that it is still attached to the network. Please check below log.
Can you tell me how can I trigger removal after failured handover in UE side to make them re-attach (re-establish) the eNB again? And can you also tell me if is there an easy way to check and log handover failure and success counters to analyze overall performance of the system?
Thanks,
Cagri