Technical Notes, White paper and presentation on LTE, GSM, GPRS, EDGE and CDMA network, 3GPP specifications, UTRAN, GERAN and non 3GPP wireless concepts. This blog also covers programming concepts like C and C++, Embedded programming, SNMP Framework, NMS/EMS, Provisioning system, small cell concepts
Monday, February 24, 2014
Inter-frequency Hard Handover Events in Small Cells
During the hard handover procedure for inter-frequency, when the UE is moving away from HNB coverage area, HNB will receive the event 2D when quality of the currently used frequency is below the 2D threshold configured. When the event 2D is triggered, compressed mode scanning will be started. If the UE moves further away and satisfy the event 2B condition when estimated quality of the currently used frequency is below the 2B threshold configured and estimated quality of the non-used frequency is above the configured threshold. Event 2B will trigger the handover procedure.
However if the Event 2D threshold is met and compressed mode measurement reporting is started but UE is moving towards the HNB coverage area and the estimated quality of the currently used frequency is better than the configured 2F threshold, UE will exit the compressed mode.
Thursday, January 16, 2014
3G/UMTS Inter-frequency, Intra-frquency and Inter-RAT handover events
Intra-frequency Handover Events:
Event 1a: A Primary CPICH enters the Reporting Range (FDD only).
Event 1b: A Primary CPICH leaves the Reporting Range (FDD only).
Event 1c: A Non-active Primary CPICH becomes better than an active Primary CPICH (FDD only).
Event 1d: Change of best cell (FDD only).
Event 1e: A Primary CPICH becomes better than an absolute threshold (FDD only).
Event 1f: A Primary CPICH becomes worse than an absolute threshold (FDD only).
Event 1g: Change of best cell in TDD.
Event 1h: Timeslot ISCP below a certain threshold (TDD only).
Event 1i: Timeslot ISCP above a certain threshold (TDD only).
Event 1j: A Non-active E-DCH but active DCH Primary CPICH becomes better than an active E-DCH Primary CPICH (FDD only).
When an Event 1C is received, Handover procedure will be started in the NodeB.
Inter-frequency Handover Events:
Event 2a: Change of best frequency.
Event 2b: The estimated quality of the currently used frequency is below a certain threshold and the estimated quality of a non-used frequency is above a certain threshold.
Event 2c: The estimated quality of a non-used frequency is above a certain threshold.
Event 2d: The estimated quality of the currently used frequency is below a certain threshold.
Event 2e: The estimated quality of a non-used frequency is below a certain threshold.
Event 2f: The estimated quality of the currently used frequency is above a certain threshold.
Event 2B will trigger the inter-frequency handover procedure in the Node B. Event 2D will start the compressed mode scanning and Event 2F will stop the compressed mode.
Inter-RAT Handover Events:
Event 3a: The estimated quality of the currently used UTRAN frequency is below a certain threshold and the estimated quality of the other system is above a certain threshold.
Event 3b: The estimated quality of other system is below a certain threshold.
Event 3c: The estimated quality of other system is above a certain threshold.
Event 3d: Change of best cell in other system.
Event 3A will trigger the inter-frequency handover procedure in the Node B
Event 1a: A Primary CPICH enters the Reporting Range (FDD only).
Event 1b: A Primary CPICH leaves the Reporting Range (FDD only).
Event 1c: A Non-active Primary CPICH becomes better than an active Primary CPICH (FDD only).
Event 1d: Change of best cell (FDD only).
Event 1e: A Primary CPICH becomes better than an absolute threshold (FDD only).
Event 1f: A Primary CPICH becomes worse than an absolute threshold (FDD only).
Event 1g: Change of best cell in TDD.
Event 1h: Timeslot ISCP below a certain threshold (TDD only).
Event 1i: Timeslot ISCP above a certain threshold (TDD only).
Event 1j: A Non-active E-DCH but active DCH Primary CPICH becomes better than an active E-DCH Primary CPICH (FDD only).
When an Event 1C is received, Handover procedure will be started in the NodeB.
Inter-frequency Handover Events:
Event 2a: Change of best frequency.
Event 2b: The estimated quality of the currently used frequency is below a certain threshold and the estimated quality of a non-used frequency is above a certain threshold.
Event 2c: The estimated quality of a non-used frequency is above a certain threshold.
Event 2d: The estimated quality of the currently used frequency is below a certain threshold.
Event 2e: The estimated quality of a non-used frequency is below a certain threshold.
Event 2f: The estimated quality of the currently used frequency is above a certain threshold.
Event 2B will trigger the inter-frequency handover procedure in the Node B. Event 2D will start the compressed mode scanning and Event 2F will stop the compressed mode.
Inter-RAT Handover Events:
Event 3a: The estimated quality of the currently used UTRAN frequency is below a certain threshold and the estimated quality of the other system is above a certain threshold.
Event 3b: The estimated quality of other system is below a certain threshold.
Event 3c: The estimated quality of other system is above a certain threshold.
Event 3d: Change of best cell in other system.
Event 3A will trigger the inter-frequency handover procedure in the Node B
UMTS: Traffic Volume Measurement (HSDPA, HSUPA)
Traffic Volume Measurement is used for purpose of Rate reallocation at UE. The monitored traffic volume corresponds to the amount of data in number of bytes that is available for transmission and re-transmission in RLC layer- Buffer Occupancy.
When an UE supporting Release 5 and below release is used then rate adaptation can be achieved. As the buffer occupancy goes lower than the threshold, Timer will be started. If the buffer occupancy goes above the threshold then it will stopped. If the timer expires then data rate will be adapted to lower rate for the UE.
Event 4a: Transport Channel Traffic Volume exceeds an absolute threshold.
Event 4b: Transport Channel Traffic Volume becomes smaller than an absolute threshold.
Traffic volume measurements may be configured by RRC to assist with dynamic radio bearer control. In general, RLC buffer payload, Average of RLC buffer payload or Variance of RLC buffer payload will be configured to report.
Traffic volume measurement reports can be triggered periodically and event triggered based on the reporting criteria specified in the measurement control message.
Traffic volume measurement information will be communicated in SIB11 and during the radio bearer setup stage.
When an UE supporting Release 5 and below release is used then rate adaptation can be achieved. As the buffer occupancy goes lower than the threshold, Timer will be started. If the buffer occupancy goes above the threshold then it will stopped. If the timer expires then data rate will be adapted to lower rate for the UE.
Event 4a: Transport Channel Traffic Volume exceeds an absolute threshold.
Event 4b: Transport Channel Traffic Volume becomes smaller than an absolute threshold.
Traffic volume measurements may be configured by RRC to assist with dynamic radio bearer control. In general, RLC buffer payload, Average of RLC buffer payload or Variance of RLC buffer payload will be configured to report.
Traffic volume measurement reports can be triggered periodically and event triggered based on the reporting criteria specified in the measurement control message.
Traffic volume measurement information will be communicated in SIB11 and during the radio bearer setup stage.
Thursday, January 9, 2014
Live wireshark/pcap collection and log rotation/round robin
Most of the live system requires PCAP/Wireshark log collection on the network interfaces. But logs needs to be rotated to avoid disk space consumption. Using simple script and tcpdump command, it is very easy to achieve this goal. tcpdump has an option to set the rotation of log files by specifying the number of log files and size of each log file. tcpdump command can be run in the background using these options. Writing a script to perform this task in the background is the best option.
Below is the Syntax:
tcpdump -nni <network interface> <filter if any> -s0 -w - | ( tcpdump -nn -r - -W <Number of files> -C <Size of each file> -w <Log file name> > <Logfile.output> 2> <Log.error> )
Below is the Example for keeping last 50 pcap files for eth0 interface, each file of size 20MB:
tcpdump -nni eth0 not arp and not port 22 -s0 -w - | ( tcpdump -nn -r - -W 50 -C 20 -w WS_ETH0.pcap > log.output 2> log.error )
Below is the Syntax:
tcpdump -nni <network interface> <filter if any> -s0 -w - | ( tcpdump -nn -r - -W <Number of files> -C <Size of each file> -w <Log file name> > <Logfile.output> 2> <Log.error> )
Below is the Example for keeping last 50 pcap files for eth0 interface, each file of size 20MB:
tcpdump -nni eth0 not arp and not port 22 -s0 -w - | ( tcpdump -nn -r - -W 50 -C 20 -w WS_ETH0.pcap > log.output 2> log.error )
Tuesday, December 25, 2012
How to resize or shrink the partition (LVM) in linux or VM
I wanted to shrink LVM partition in VM which has redhat linux and expand root partition because of memory issue on root partition. I have done searching excercise in the web and below are the results of the search and best pages that I have seen. However I was not able to reduce the LVM partition as all the procedures mentioned in the below did not recognize the LVM partition created in the redhat linux VM installation. Below procedures are pretty good in general and but does not work for LVM on VM. gparted, parted or steps mentioned below may work other partions. You can try got LVM, it may work for you. I have kept consolidated search result in one page.
http://gparted.sourceforge.net/download.php
http://www.thegeekstuff.com/2011/09/parted-command-examples/
http://gparted.sourceforge.net/screenshots.php#gparted-live-boot-menu
http://en.kioskea.net/faq/2036-how-to-resize-a-partition-using-gparted-on-linux
http://gparted.sourceforge.net/download.php
http://www.thegeekstuff.com/2011/09/parted-command-examples/
http://gparted.sourceforge.net/screenshots.php#gparted-live-boot-menu
http://en.kioskea.net/faq/2036-how-to-resize-a-partition-using-gparted-on-linux
Back up all your important data before attempting this. Always assume that you can lose all your data when resizing partitions.
Shrink LVM without dataloss
This forum thread suggests the following procedure, in this example we shrink a partition from 10G to 9G:
First, we unmount.
# umount /dev/vg_blah/lv_blah
Check the file system.
# e2fsck -f /dev/vg_blah/lv_blah
Resize the file system.
# resize2fs /dev/vg_blah/lv_blah 9G
Reduce the size of the logical volume.
# lvreduce -L -1G /dev/vg_blah/lv_blah
Shrink the volume group if desired.
# vgreduce vg_blah /dev/sdxy
Thursday, December 20, 2012
How to enable engineering/field test mode in blackberry
Blackberry has a very nice and interesting field test/Engineering mode.
While reading a blog I show that pressing ALT+CAP+H would display usefull information about your mobile.
But you can enable the engineering mode from this screen using steps metioned in the blog:
http://www.zibri.org/2009/08/hidden-things-are-usually-best.html
Please make sure to follow steps very clearly. Read it twice!
While reading a blog I show that pressing ALT+CAP+H would display usefull information about your mobile.
But you can enable the engineering mode from this screen using steps metioned in the blog:
http://www.zibri.org/2009/08/hidden-things-are-usually-best.html
Please make sure to follow steps very clearly. Read it twice!
Saturday, December 15, 2012
Subscribe to:
Posts (Atom)

