make build test work after the removal of RAL, MIH (802.21), minor coding guidelines corrections in RLCs
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7753 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
# include "commonDef.h"
|
||||
#endif
|
||||
|
||||
#if defined(ENABLE_RAL)
|
||||
#if ENABLE_RAL
|
||||
# include "collection/hashtable/obj_hashtable.h"
|
||||
#endif
|
||||
|
||||
@@ -140,7 +140,7 @@ typedef struct uid_linear_allocator_s {
|
||||
* @{
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_RAL)
|
||||
#if ENABLE_RAL
|
||||
typedef struct rrc_ral_threshold_key_s {
|
||||
ral_link_param_type_t link_param_type;
|
||||
ral_threshold_t threshold;
|
||||
@@ -414,7 +414,7 @@ typedef struct eNB_RRC_INST_s {
|
||||
RB_HEAD(rrc_ue_tree_s, rrc_eNB_ue_context_s) rrc_ue_head; // ue_context tree key search by rnti
|
||||
uint8_t HO_flag;
|
||||
uint8_t Nb_ue;
|
||||
#if defined(ENABLE_RAL)
|
||||
#if ENABLE_RAL
|
||||
obj_hash_table_t *ral_meas_thresholds;
|
||||
#endif
|
||||
hash_table_t *initial_id2_s1ap_ids; // key is content is rrc_ue_s1ap_ids_t
|
||||
@@ -509,7 +509,7 @@ typedef struct UE_RRC_INST_s {
|
||||
float rsrq_db[7];
|
||||
float rsrp_db_filtered[7];
|
||||
float rsrq_db_filtered[7];
|
||||
#if defined(ENABLE_RAL)
|
||||
#if ENABLE_RAL
|
||||
obj_hash_table_t *ral_meas_thresholds;
|
||||
ral_transaction_id_t scan_transaction_id;
|
||||
#endif
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
#include "RRC/NAS/nas_config.h"
|
||||
#include "RRC/NAS/rb_config.h"
|
||||
#endif
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
#include "rrc_UE_ral.h"
|
||||
#endif
|
||||
|
||||
@@ -189,7 +189,7 @@ static int rrc_set_state (module_id_t ue_mod_idP, Rrc_State_t state)
|
||||
//-----------------------------------------------------------------------------
|
||||
static int rrc_set_sub_state( module_id_t ue_mod_idP, Rrc_Sub_State_t subState )
|
||||
{
|
||||
#if (defined(ENABLE_ITTI) && (defined(ENABLE_USE_MME) || defined(ENABLE_RAL)))
|
||||
#if (defined(ENABLE_ITTI) && (defined(ENABLE_USE_MME) || ENABLE_RAL))
|
||||
|
||||
switch (UE_rrc_inst[ue_mod_idP].RrcState) {
|
||||
case RRC_STATE_INACTIVE:
|
||||
@@ -1061,7 +1061,7 @@ rrc_ue_process_radioResourceConfigDedicated(
|
||||
#endif
|
||||
);
|
||||
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
// first msg that includes srb config
|
||||
UE_rrc_inst[ctxt_pP->module_id].num_srb=radioResourceConfigDedicated->srb_ToAddModList->list.count;
|
||||
#endif
|
||||
@@ -1613,7 +1613,7 @@ rrc_ue_process_rrcConnectionReconfiguration(
|
||||
free (rrcConnectionReconfiguration_r8->dedicatedInfoNASList);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
{
|
||||
MessageDef *message_ral_p = NULL;
|
||||
rrc_ral_connection_reestablishment_ind_t connection_reestablishment_ind;
|
||||
@@ -1975,7 +1975,7 @@ rrc_ue_decode_dcch(
|
||||
LOG_I(RRC, "[UE %d] State = RRC_RECONFIGURED during HO (eNB %d)\n",
|
||||
ctxt_pP->module_id, target_eNB_index);
|
||||
#if defined(ENABLE_ITTI)
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
{
|
||||
MessageDef *message_ral_p = NULL;
|
||||
rrc_ral_connection_reconfiguration_ho_ind_t connection_reconfiguration_ho_ind;
|
||||
@@ -2032,7 +2032,7 @@ rrc_ue_decode_dcch(
|
||||
ctxt_pP->module_id,
|
||||
eNB_indexP);
|
||||
#if defined(ENABLE_ITTI)
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
{
|
||||
MessageDef *message_ral_p = NULL;
|
||||
rrc_ral_connection_reconfiguration_ind_t connection_reconfiguration_ind;
|
||||
@@ -2097,7 +2097,7 @@ rrc_ue_decode_dcch(
|
||||
}
|
||||
|
||||
itti_send_msg_to_task(TASK_NAS_UE, ctxt_pP->instance, msg_p);
|
||||
#if defined(ENABLE_RAL)
|
||||
#if ENABLE_RAL
|
||||
msg_p = itti_alloc_new_message(TASK_RRC_UE, RRC_RAL_CONNECTION_RELEASE_IND);
|
||||
RRC_RAL_CONNECTION_RELEASE_IND(msg_p).ue_id = ctxt_pP->module_id;
|
||||
itti_send_msg_to_task(TASK_RAL_UE, ctxt_pP->instance, msg_p);
|
||||
@@ -3243,7 +3243,7 @@ static int decode_SI( const protocol_ctxt_t* const ctxt_pP, const uint8_t eNB_in
|
||||
if (UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].State == RRC_IDLE) {
|
||||
LOG_I( RRC, "[UE %d] Received SIB1/SIB2/SIB3 Switching to RRC_SI_RECEIVED\n", ctxt_pP->module_id );
|
||||
UE_rrc_inst[ctxt_pP->module_id].Info[eNB_index].State = RRC_SI_RECEIVED;
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
{
|
||||
MessageDef *message_ral_p = NULL;
|
||||
rrc_ral_system_information_ind_t ral_si_ind;
|
||||
@@ -4171,7 +4171,7 @@ void *rrc_ue_task( void *args_p )
|
||||
|
||||
# endif
|
||||
|
||||
# if defined(ENABLE_RAL)
|
||||
# if ENABLE_RAL
|
||||
|
||||
case RRC_RAL_SCAN_REQ:
|
||||
LOG_D(RRC, "[UE %d] Received %s: state %d\n", ue_mod_id, msg_name);
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
# include "intertask_interface.h"
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
# include "rrc_eNB_ral.h"
|
||||
#endif
|
||||
|
||||
@@ -2947,7 +2947,7 @@ rrc_eNB_process_RRCConnectionReconfigurationComplete(
|
||||
ue_context_pP->ue_context.kenb, &kRRCint);
|
||||
|
||||
#endif
|
||||
#ifdef ENABLE_RAL
|
||||
#if ENABLE_RAL
|
||||
{
|
||||
MessageDef *message_ral_p = NULL;
|
||||
rrc_ral_connection_reconfiguration_ind_t connection_reconfiguration_ind;
|
||||
@@ -4353,12 +4353,11 @@ rrc_enb_task(
|
||||
openair_rrc_lite_eNB_configuration(ENB_INSTANCE_TO_MODULE_ID(instance), &RRC_CONFIGURATION_REQ(msg_p));
|
||||
break;
|
||||
|
||||
# ifdef ENABLE_RAL
|
||||
# if ENABLE_RAL
|
||||
|
||||
case RRC_RAL_CONFIGURE_THRESHOLD_REQ:
|
||||
rrc_enb_ral_handle_configure_threshold_request(instance, msg_p);
|
||||
break;
|
||||
# endif
|
||||
|
||||
//SPECTRA: Add the RRC connection reconfiguration with Second cell configuration
|
||||
case RRC_RAL_CONNECTION_RECONFIGURATION_REQ:
|
||||
@@ -4372,13 +4371,11 @@ rrc_enb_task(
|
||||
msg_p->ittiMsgHeader.lte_time.slot);
|
||||
LOG_I(RRC, "[eNB %d] Send RRC_RAL_CONNECTION_RECONFIGURATION_REQ to UE %s\n", instance, msg_name_p);
|
||||
//Method RRC connection reconfiguration command with Second cell configuration
|
||||
# ifdef ENABLE_RAL
|
||||
//rrc_eNB_generate_RRCConnectionReconfiguration_SCell(instance, 0/* TODO put frameP number ! */, /*ue_mod_id force ue_mod_id to first UE*/0, 36126);
|
||||
# else
|
||||
//rrc_eNB_generate_defaultRRCConnectionReconfiguration(instance, 0/* TODO put frameP number ! */, /*ue_mod_id force ue_mod_id to first UE*/0,
|
||||
// eNB_rrc_inst[instance].HO_flag);
|
||||
# endif
|
||||
break;
|
||||
# endif
|
||||
|
||||
default:
|
||||
LOG_E(RRC, "[eNB %d] Received unexpected message %s\n", instance, msg_name_p);
|
||||
|
||||
Reference in New Issue
Block a user