Method for managing packets for V2X communication and apparatus therefor
A method for discarding at least one packet by a user equipment (UE) in a wireless communication system is disclosed. The method includes steps of storing the at least one packet received from an upper layer in a buffer; determining whether or not a number of packets in the buffer is equal to or greater than a threshold value; and discarding the at least one packet from the buffer when the number of packets in the buffer is equal to or greater than the threshold value.
1. A method for discarding at least one packet by a user equipment (UE) in a wireless communication system, the method comprising:
starting a discard timer upon receiving the at least one packet from an upper layer;
storing the at least one packet in a buffer; and
discarding the at least one packet from the buffer when the discard timer is expired,
wherein, until the discard timer is expired, the method further comprises:
determining a number of zones which exist between a current position of the UE and a last reported position of the UE;
wherein a zone is defined by latitude and longitude coordinates; and
discarding the at least one packet from the buffer when the number of zones is equal to or greater than a threshold value.
2. The method of claim 1 , further comprising receiving information about the threshold value from a network,
wherein the threshold value is configured per bearer.
3. The method of claim 1 , wherein the at least one packet is discarded upon a detection of ingress of another packet into the buffer.
4. A user equipment (UE) in a wireless communication system, the UE comprising:
a radio frequency (RF) unit; and
a processor connected with the RF unit and configured to:
start a discard timer upon receiving at least one packet from an upper layer;
store the at least one packet in a buffer; and
discard the at least one packet from the buffer when the discard timer is expired,
wherein, until the discard timer is expired, the processor is further configured to:
determine a number of zones which exist between a current position of the UE and a last reported position of the UE;
wherein a zone is defined by latitude and longitude coordinates; and
discard the at least one packet from the buffer when the number of zones is equal to or greater than a threshold value.
5. The UE of claim 4 , wherein information about the threshold value is received from a network, wherein the threshold value is configured per bearer.
6. The UE of claim 4 , wherein the at least one packet is discarded upon a detection of ingress of another packet into the buffer.