Commit ef088e3a authored by Siddharth Rana's avatar Siddharth Rana

Added changes to get correct xid

parent 4c435151
......@@ -123,7 +123,8 @@ typedef struct {
pthread_cond_t ru_cond;
/// SS Config variables
struct ss_config_s ss;
// Variable to store Transaction ID for SS in case of RRCReconfiguration
long rrc_Transaction_Identifier;
RBConfig RB_Config[MAX_RBS];
} RAN_CONTEXT_t;
......
......@@ -3104,7 +3104,14 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt_t
(void) dedicatedInfoNas;
LTE_C_RNTI_t *cba_RNTI = NULL;
int measurements_enabled;
uint8_t xid = rrc_eNB_get_next_transaction_identifier(ctxt_pP->module_id); //Transaction_id,
uint8_t xid;
if (RC.ss.mode == SS_SOFTMODEM) {
xid = RC.rrc_Transaction_Identifier; //Transaction_id,
} else {
xid = rrc_eNB_get_next_transaction_identifier(ctxt_pP->module_id); //Transaction_id,
}
uint8_t cc_id = ue_context_pP->ue_context.primaryCC_id;
LTE_UE_EUTRA_Capability_t *UEcap = ue_context_pP->ue_context.UE_Capability;
T(T_ENB_RRC_CONNECTION_RECONFIGURATION,
......@@ -10357,6 +10364,7 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
{
struct rrc_eNB_ue_context_s *ue_context_p = NULL;
ue_context_p = rrc_eNB_get_ue_context(RC.rrc[instance], SS_RRC_PDU_REQ(msg_p).rnti);
RC.rrc_Transaction_Identifier = dl_dcch_msg->message.choice.c1.choice.rrcConnectionReconfiguration.rrc_TransactionIdentifier;
LOG_A(RRC, "[eNB %d] SRB2 Received SDU for CCCH on SRB %ld rnti %d\n", instance, SS_RRC_PDU_REQ(msg_p).rnti);
if (ue_context_p && ue_context_p->ue_context.UE_Capability == NULL)
{
......
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