aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs/gprs_gmm.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-11gprs: Change T3302 to 20 secondsJonathan Santos1-2/+4
2011-07-31Revert "gprs: Fix bug that caused TLLI to change prematurely"Jonathan Santos1-9/+8
This reverts commit bd92172bf42c1589ded17d976dd0af3b90adc871.
2011-07-21gprs: Reset LLC state when Timer 3350 expiresJonathan Santos1-0/+1
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: Suspend user data transmission during Routing Area UpdatingJonathan Santos1-0/+5
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: Set GMM state to GMM_REGISTERED_NORMAL after ATTACH_COMPLETE receivedJonathan Santos1-3/+1
The SGSN was updating the GMM state when sending the ATTACH_ACCEPT, when it should enter that state after the ATTACH_COMPLETE is received.
2011-06-23gprs: Delete GMM and PDP contexts if ATTACH_REQUEST received from ↵Jonathan Santos1-5/+20
already-attached MS TS 24.008 version 9.5.0 Release 9 sec 4.7.3.1.6: If an ATTACH REQUEST message is received in state GMM-REGISTERED the network may initiate the GMM common procedures; if it turned out that the ATTACH REQUEST message was send by an MS that has already been attached, the GMM context, PDP contexts and MBMS contexts, if any, are deleted and the new ATTACH REQUEST is progressed.
2011-06-23gprs: Fix bug that caused TLLI to change prematurelyJonathan Santos1-8/+9
2011-06-23gprs: Fix bugs that reset LLC sequence numbers improperlyJonathan Santos1-9/+6
2011-06-23gprs: Fix possible segfault on attach caused by MS Network Capability larger ↵Jonathan Santos1-1/+1
than 4 octets The SGSN was allowing MS Network Capability of up to 8 octets, but only allocating storage for 4 octets. TS 23.060 version 9.7.0 Release 9 section 6.14.2 states: To allow for the addition of future features, the SGSN shall store the UE Network Capability and the MS Network Capability even if either or both is larger than specified in TS 24.008 [13]/TS 24.301 [102], up to a maximum size of 32 octets for each IE.
2011-06-23gprs: Fix segfault on attach caused by MS Radio Access Capability larger ↵Jonathan Santos1-1/+1
than 14 octets Newer phones are using a MS Radio Access Capability larger than the 14 octets specified in 04.08 Release 1998 (up to 50 octets in Rel 9). This caused the SGSN to crash since it only allocated storage for 14 octets but tried to store up to 51 octets. TS 23.060 version 9.7.0 Release 9 section 6.14.1.1 states: To allow for the addition of future radio technologies, frequency bands, and other enhancements, the SGSN shall store the MS radio access capability even if it is larger than specified in TS 24.008 [13], up to a maximum size of 255 octets.
2011-05-25Allow all IMSIsJonathan Santos1-10/+1
This reverts commit eafe22ca7290280fca0f8d31d70239fd0b0dbb9d from upstream git repository.
2011-05-25Import upstream version 0.9.13upstream/0.9.13Jonathan Santos1-0/+1597