Commit 892a4bd1 authored by Matthieu Kanj's avatar Matthieu Kanj

continuity of the preparation for msg2 implementation

parent e59eba4d
...@@ -72,6 +72,16 @@ typedef struct { ...@@ -72,6 +72,16 @@ typedef struct {
/// scheduling parameters for RXn-TXnp4 thread /// scheduling parameters for RXn-TXnp4 thread
struct sched_param sched_param_rxtx; struct sched_param sched_param_rxtx;
uint32_t ra_rnti_computed;
uint8_t dci_to_transmit;
uint32_t sheduling_info_rar;
uint8_t remaining_dci;
uint8_t remaining_rar;
} eNB_rxtx_proc_t; } eNB_rxtx_proc_t;
/// Context data structure for eNB subframe processing /// Context data structure for eNB subframe processing
......
...@@ -502,7 +502,20 @@ void common_signal_procedures (PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc) { ...@@ -502,7 +502,20 @@ void common_signal_procedures (PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc) {
common_signal_procedures_NB_IoT(eNB,proc); common_signal_procedures_NB_IoT(eNB,proc);
/////////////////// NB-IoT broadcast channel ////////////////////////// /////////////////// NB-IoT broadcast channel //////////////////////////
//RA_template[i].RA_active=TRUE;
RA_TEMPLATE *RA_template = (RA_TEMPLATE *)&eNB_mac_inst[eNB->Mod_id].common_channels[eNB->CC_id].RA_template[0];
if( RA_template[0].generate_rar == 1)
{
proc->ra_rnti_computed = RA_template[0].RA_rnti;
printf("detection ok in TX !!!!!!!!!!!!!!!!!");
RA_template[0].generate_rar = 0;
RA_template[i].RA_active = FALSE;
}
/////////////////////////// END /////////////////////////////////////// /////////////////////////// END ///////////////////////////////////////
......
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