Update to support 2 mobiles.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4168 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -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){
|
void nasmt_ASCTL_DC_decode_rb_establish_ind(struct cx_entity *cx, struct nas_ue_dc_element *p){
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
struct rb_entity *rb;
|
struct rb_entity *rb;
|
||||||
|
int hard_coded_rbId = 3;
|
||||||
|
|
||||||
// Start debug information
|
// Start debug information
|
||||||
#ifdef NAS_DEBUG_DC
|
#ifdef NAS_DEBUG_DC
|
||||||
@@ -687,7 +688,10 @@ void nasmt_ASCTL_DC_decode_rb_establish_ind(struct cx_entity *cx, struct nas_ue_
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// End debug information
|
// 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){
|
if (rb==NULL){
|
||||||
rb=nasmt_COMMON_add_rb(cx, p->nasUEDCPrimitive.rb_establish_ind.rbId, p->nasUEDCPrimitive.rb_establish_ind.QoSclass);
|
rb=nasmt_COMMON_add_rb(cx, p->nasUEDCPrimitive.rb_establish_ind.rbId, p->nasUEDCPrimitive.rb_establish_ind.QoSclass);
|
||||||
rb->state=NAS_RB_DCH;
|
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;
|
struct rb_entity *rb;
|
||||||
u8 dscp;
|
u8 dscp;
|
||||||
|
int hard_coded_rbId = 3;
|
||||||
|
|
||||||
// Start debug information
|
// Start debug information
|
||||||
#ifdef NAS_DEBUG_DC
|
#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;
|
return;
|
||||||
}
|
}
|
||||||
// End debug information
|
// 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);
|
rb=nasmt_COMMON_search_rb(cx, p->nasUEDCPrimitive.rb_release_ind.rbId);
|
||||||
if (rb!=NULL){
|
if (rb!=NULL){
|
||||||
#ifdef NAS_DEBUG_DC
|
#ifdef NAS_DEBUG_DC
|
||||||
|
|||||||
Reference in New Issue
Block a user