Commit b8f8421d authored by wetterwa's avatar wetterwa

Update to support 2 mobiles.


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4168 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 1c086a18
......@@ -673,6 +673,7 @@ void nasmt_ASCTL_DC_decode_sig_data_ind(struct cx_entity *cx, struct nas_ue_dc_e
void nasmt_ASCTL_DC_decode_rb_establish_ind(struct cx_entity *cx, struct nas_ue_dc_element *p){
//---------------------------------------------------------------------------
struct rb_entity *rb;
int hard_coded_rbId = 3;
// Start debug information
#ifdef NAS_DEBUG_DC
......@@ -687,7 +688,10 @@ void nasmt_ASCTL_DC_decode_rb_establish_ind(struct cx_entity *cx, struct nas_ue_
return;
}
// End debug information
rb=nasmt_COMMON_search_rb(cx, p->nasUEDCPrimitive.rb_release_ind.rbId);
// TEMP -MW - 26/9/13- Overwrite the rb_id sent by RRC
p->nasUEDCPrimitive.rb_establish_ind.rbId = hard_coded_rbId;
// TEMP -MW - 26/9/13- Rest should be kept unchanged
rb=nasmt_COMMON_search_rb(cx, p->nasUEDCPrimitive.rb_establish_ind.rbId);
if (rb==NULL){
rb=nasmt_COMMON_add_rb(cx, p->nasUEDCPrimitive.rb_establish_ind.rbId, p->nasUEDCPrimitive.rb_establish_ind.QoSclass);
rb->state=NAS_RB_DCH;
......@@ -715,6 +719,7 @@ void nasmt_ASCTL_DC_decode_rb_release_ind(struct cx_entity *cx, struct nas_ue_dc
//---------------------------------------------------------------------------
struct rb_entity *rb;
u8 dscp;
int hard_coded_rbId = 3;
// Start debug information
#ifdef NAS_DEBUG_DC
......@@ -725,7 +730,9 @@ void nasmt_ASCTL_DC_decode_rb_release_ind(struct cx_entity *cx, struct nas_ue_dc
return;
}
// End debug information
// TEMP -MW - 26/9/13- Overwrite the rb_id sent by RRC
p->nasUEDCPrimitive.rb_release_ind.rbId = hard_coded_rbId;
// TEMP -MW - 26/9/13- Rest should be kept unchanged
rb=nasmt_COMMON_search_rb(cx, p->nasUEDCPrimitive.rb_release_ind.rbId);
if (rb!=NULL){
#ifdef NAS_DEBUG_DC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment