aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gprs_llc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-31gprs: Fix retry of ATTACH REQUEST from mobileJonathan Santos1-1/+1
If, for some reason, the mobile did not receive an ATTACH ACCEPT it resends an ATTACH REQUEST. The SGSN then would send a new ATTACH ACCEPT. However, after sending the new ATTACH REQUEST, it was unable to find the GMM context if the mobile uses the old foreign tlli (as it is allowed to do). This fixes that.
2011-07-21gprs: Reset LLC state when Timer 3350 expiresJonathan Santos1-0/+24
This works around a problem that occurs if a mobile loses packet data connectivity, e.g. moves out of coverage or switches over to a circuit-switched call, while a data transfer is occurring. The mobile would reset its LLC state, causing it to be unsynchronized with the SGSN. Therefore the SGSN would drop incoming frames until the sequence numbers matched. This workaround resets the LLC state in the SGSN if T3350 expires, indicating that Routing Area Updating Request, Attach Request, or P-TMSI Realloc Command has failed.
2011-06-23gprs: Fix LLC UI windowJonathan Santos1-11/+15
According to TS 44.064 section 8.4.2, the LLC layer should only drop UI frames if V(UR)-32 <= N(U) < V(UR). The code was dropping frames whenever N(U) < V(UR). Consequently, large amounts of packets could be dropped if, e.g., V(UR)==511 and the frame with N(U)==511 was lost. All frames would be dropped until the next time a frame with N(U)==511 is received.
2011-06-23gprs: Suspend user data transmission during Routing Area UpdatingJonathan Santos1-0/+18
TS 24.008 version 9.5.0 Release 9 sec 4.7.5: In A/Gb mode, user data transmission in the MS shall be suspended during the routing area updating procedure, except if the routing area updating procedure is triggered by a PS handover procedure as described in 3GPP TS 43.129 [113]; user data reception shall be possible. User data transmission in the network may be suspended during the routing area updating procedure.
2011-06-23gprs: Fix bugs that reset LLC sequence numbers improperlyJonathan Santos1-4/+4
2011-06-23gprs: Fix bug where SGSN was sending all LLC UI frames with N(U)=0Jonathan Santos1-1/+1
Convert foreign TLLIs to local TLLIs for storage in LLME context.
2011-05-25Import upstream version 0.9.13upstream/0.9.13Jonathan Santos1-0/+852