Remove unused fields of NR_RRC_MAC_CCCH_DATA_IND message
This commit is contained in:
committed by
francescomani
parent
9aee7bf745
commit
7157e7fd9a
@@ -159,15 +159,9 @@ typedef struct RrcMacCcchDataInd_s {
|
|||||||
} RrcMacCcchDataInd;
|
} RrcMacCcchDataInd;
|
||||||
|
|
||||||
typedef struct NRRrcMacCcchDataInd_s {
|
typedef struct NRRrcMacCcchDataInd_s {
|
||||||
uint32_t frame;
|
|
||||||
uint8_t slot;
|
|
||||||
uint16_t rnti;
|
uint16_t rnti;
|
||||||
uint32_t sdu_size;
|
uint32_t sdu_size;
|
||||||
uint8_t sdu[CCCH_SDU_SIZE];
|
uint8_t sdu[CCCH_SDU_SIZE];
|
||||||
OCTET_STRING_t *du_to_cu_rrc_container;
|
|
||||||
uint8_t gnb_index;
|
|
||||||
int CC_id;
|
|
||||||
uint64_t nr_cellid;
|
|
||||||
} NRRrcMacCcchDataInd;
|
} NRRrcMacCcchDataInd;
|
||||||
|
|
||||||
typedef struct RrcMacMcchDataReq_s {
|
typedef struct RrcMacMcchDataReq_s {
|
||||||
|
|||||||
@@ -54,12 +54,6 @@ static void send_srb0_rrc(int rnti, const uint8_t *sdu, sdu_size_t sdu_len, void
|
|||||||
memcpy(NR_RRC_MAC_CCCH_DATA_IND(message_p).sdu, sdu, sdu_len);
|
memcpy(NR_RRC_MAC_CCCH_DATA_IND(message_p).sdu, sdu, sdu_len);
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).sdu_size = sdu_len;
|
NR_RRC_MAC_CCCH_DATA_IND(message_p).sdu_size = sdu_len;
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).rnti = rnti;
|
NR_RRC_MAC_CCCH_DATA_IND(message_p).rnti = rnti;
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).gnb_index = 0;
|
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).frame = 0;
|
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).slot = 0;
|
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).du_to_cu_rrc_container = NULL;
|
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).CC_id = 0;
|
|
||||||
NR_RRC_MAC_CCCH_DATA_IND(message_p).nr_cellid = 0;
|
|
||||||
itti_send_msg_to_task(TASK_RRC_NRUE, 0, message_p);
|
itti_send_msg_to_task(TASK_RRC_NRUE, 0, message_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1818,7 +1818,7 @@ void *rrc_nrue_task(void *args_p)
|
|||||||
nr_rrc_ue_decode_ccch(&ctxt,
|
nr_rrc_ue_decode_ccch(&ctxt,
|
||||||
NR_RRC_MAC_CCCH_DATA_IND (msg_p).sdu,
|
NR_RRC_MAC_CCCH_DATA_IND (msg_p).sdu,
|
||||||
NR_RRC_MAC_CCCH_DATA_IND (msg_p).sdu_size,
|
NR_RRC_MAC_CCCH_DATA_IND (msg_p).sdu_size,
|
||||||
NR_RRC_MAC_CCCH_DATA_IND (msg_p).gnb_index);
|
/* gNB_index = */ 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* PDCP messages */
|
/* PDCP messages */
|
||||||
|
|||||||
Reference in New Issue
Block a user