Merge remote-tracking branch 'origin/small-bugfixes-w40' into integration_2020_wk41
This commit is contained in:
@@ -244,8 +244,15 @@ void common_signal_procedures_fembms (PHY_VARS_eNB *eNB,int frame, int subframe)
|
|||||||
eNB->pbch_configured=0;
|
eNB->pbch_configured=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
T(T_ENB_PHY_MIB, T_INT(eNB->Mod_id), T_INT(frame), T_INT(subframe),
|
if (T_ACTIVE(T_ENB_PHY_MIB)) {
|
||||||
T_BUFFER(pbch_pdu, 3));
|
/* MIB is stored in reverse in pbch_pdu, reverse it for properly logging */
|
||||||
|
uint8_t mib[3];
|
||||||
|
mib[0] = pbch_pdu[2];
|
||||||
|
mib[1] = pbch_pdu[1];
|
||||||
|
mib[2] = pbch_pdu[0];
|
||||||
|
T(T_ENB_PHY_MIB, T_INT(eNB->Mod_id), T_INT(frame), T_INT(subframe),
|
||||||
|
T_BUFFER(mib, 3));
|
||||||
|
}
|
||||||
generate_pbch_fembms (&eNB->pbch, txdataF, AMP, fp, pbch_pdu, (frame & 15)/4);
|
generate_pbch_fembms (&eNB->pbch, txdataF, AMP, fp, pbch_pdu, (frame & 15)/4);
|
||||||
} //else if ((subframe == 1) && (fp->frame_type == TDD)) {
|
} //else if ((subframe == 1) && (fp->frame_type == TDD)) {
|
||||||
//generate_pss (txdataF, AMP, fp, 2, 2);
|
//generate_pss (txdataF, AMP, fp, 2, 2);
|
||||||
@@ -313,8 +320,15 @@ void common_signal_procedures (PHY_VARS_eNB *eNB,int frame, int subframe) {
|
|||||||
eNB->pbch_configured=0;
|
eNB->pbch_configured=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
T(T_ENB_PHY_MIB, T_INT(eNB->Mod_id), T_INT(frame), T_INT(subframe),
|
if (T_ACTIVE(T_ENB_PHY_MIB)) {
|
||||||
T_BUFFER(pbch_pdu, 3));
|
/* MIB is stored in reverse in pbch_pdu, reverse it for properly logging */
|
||||||
|
uint8_t mib[3];
|
||||||
|
mib[0] = pbch_pdu[2];
|
||||||
|
mib[1] = pbch_pdu[1];
|
||||||
|
mib[2] = pbch_pdu[0];
|
||||||
|
T(T_ENB_PHY_MIB, T_INT(eNB->Mod_id), T_INT(frame), T_INT(subframe),
|
||||||
|
T_BUFFER(mib, 3));
|
||||||
|
}
|
||||||
generate_pbch (&eNB->pbch, txdataF, AMP, fp, pbch_pdu, frame & 3);
|
generate_pbch (&eNB->pbch, txdataF, AMP, fp, pbch_pdu, frame & 3);
|
||||||
} else if ((subframe == 1) && (fp->frame_type == TDD)) {
|
} else if ((subframe == 1) && (fp->frame_type == TDD)) {
|
||||||
generate_pss (txdataF, AMP, fp, 2, 2);
|
generate_pss (txdataF, AMP, fp, 2, 2);
|
||||||
|
|||||||
@@ -7884,6 +7884,7 @@ rrc_eNB_decode_dcch(
|
|||||||
if(ul_dcch_msg->message.choice.c1.choice.rrcConnectionReconfigurationComplete.criticalExtensions.choice.rrcConnectionReconfigurationComplete_r8.
|
if(ul_dcch_msg->message.choice.c1.choice.rrcConnectionReconfigurationComplete.criticalExtensions.choice.rrcConnectionReconfigurationComplete_r8.
|
||||||
nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension
|
nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension->nonCriticalExtension
|
||||||
->scg_ConfigResponseNR_r15!=NULL) {
|
->scg_ConfigResponseNR_r15!=NULL) {
|
||||||
|
dedicated_DRB = -1; /* put a value that does not run anything below */
|
||||||
ue_context_p->ue_context.Status = RRC_NR_NSA_RECONFIGURED;
|
ue_context_p->ue_context.Status = RRC_NR_NSA_RECONFIGURED;
|
||||||
/*Trigger E-RAB Modification Indication */
|
/*Trigger E-RAB Modification Indication */
|
||||||
rrc_eNB_send_E_RAB_Modification_Indication(ctxt_pP, ue_context_p);
|
rrc_eNB_send_E_RAB_Modification_Indication(ctxt_pP, ue_context_p);
|
||||||
|
|||||||
@@ -137,6 +137,8 @@ int s1ap_eNB_encode_initiating(S1AP_S1AP_PDU_t *pdu,
|
|||||||
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
||||||
*buffer = res.buffer;
|
*buffer = res.buffer;
|
||||||
*len = res.result.encoded;
|
*len = res.result.encoded;
|
||||||
|
if (res.result.encoded == -1)
|
||||||
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -189,6 +191,8 @@ int s1ap_eNB_encode_successfull_outcome(S1AP_S1AP_PDU_t *pdu,
|
|||||||
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
||||||
*buffer = res.buffer;
|
*buffer = res.buffer;
|
||||||
*len = res.result.encoded;
|
*len = res.result.encoded;
|
||||||
|
if (res.result.encoded == -1)
|
||||||
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -218,5 +222,7 @@ int s1ap_eNB_encode_unsuccessfull_outcome(S1AP_S1AP_PDU_t *pdu,
|
|||||||
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
res = asn_encode_to_new_buffer(NULL, ATS_ALIGNED_CANONICAL_PER, &asn_DEF_S1AP_S1AP_PDU, pdu);
|
||||||
*buffer = res.buffer;
|
*buffer = res.buffer;
|
||||||
*len = res.result.encoded;
|
*len = res.result.encoded;
|
||||||
|
if (res.result.encoded == -1)
|
||||||
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user