Gb: implement MM state ready, idle, standby including T3314
MM state reflects the knowledge of the MS' location in the network.
Implement the state and add the hooks so the states are tracked.
READY: exact cell is known
STANDBY: RA known
IDLE: unknown location
On receivement of a DL PDU for the MS, the SGSN has to:
READY: send DL PDU to PCU (already done)
STANDBY: page MS in RA (seperate ticket)
IDLE: deactivate pdp context? (check spec)
T3314 defines the time while the MS is in READY state. When T3314 expires the MM state is set to STANDBY.
#5 Updated by pespin about 2 months ago
- Status changed from Resolved to In Progress
- % Done changed from 100 to 70
It was spotted that with patch merged READY->STANBY is working fine, but STANDBY->READY is still not properly implemented. That's because gsm0408_gprs_notify_pdu_gb() is called only on the CONTROL code path, but should be called also when a DATA/USER packet is received.
In any case, it's not a regression because we are currently not checking for MM_STATE==READY in any place when trying to page. That needs to be introduced too.