Sunday, April 22, 2012

MS Initiated PDP context deactivation with Bearer Control mode

Hi All,

My first technical writing on my favorite domain. Just want to share one of my work experiences.
I have come across a scenario where a subscriber has two PDP context activated.
One primary and one secondary. When during deactivation of PDP context, if Tear down Indicator is set for a PDP then all  the context relating to that particular PDP address has to be deactivated..
But in one particular case it is not same. When MS initiates Deactivation of Secondary PDP context with TDI set and its Bearer Control mode is 'MS/NW', then in that case the context that doesn't have a TFT would not be deactivated (Mostly this would be primary context).

The Bearer Control Mode (BCM) can be set to MS_only, MS/NW and NW_only based on the Protocol configuration Options field. More details of this can be found in 24.008 and 23.060.

4 comments:

viney said...

Hi Rajesh,

So what should happen if network sends a deactivate PDP context message for primary PDP context and the tear down indicator is not set? Should the associated PDP contexts be kept active?

viney said...
This comment has been removed by the author.
viney said...

Per spec, if tear down indicator is not set, only the particular PDP context should be deactivated. So I have a secondary PDP context. Now if I want to establish another PDP context with same APN and IP address. How can I do this? I need to create another secondary PDP context but there is no primary PDP context with which I associate the new one.

Any idea?

Rajesh Badveti said...

Though in the spec it is not mentioned clearly, as per my understanding..If the TDI is not set the primary is deactivated and its associated secondary contexts would be preserved. So next time when a PDP is established for this APN, it would be primary PDP and later secondary if any would help using the preserved secondary pdp contexts.

Also this is not mentioned in the specs clkearly, it would be an implementation specific to preserve or delete the associated contexts at SGSN.