Merge remote-tracking branch 'origin/feature-21-TM7-tmp' into develop_integration_w50
This commit is contained in:
@@ -1072,14 +1072,14 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
|
||||
|
||||
if ((nb_antennas_tx <1) || (nb_antennas_tx > 64))
|
||||
AssertFatal (0,
|
||||
"Failed to parse eNB configuration file %s, enb %d unknown value \"%d\" for nb_antennas_tx choice: 1..4 !\n",
|
||||
"Failed to parse eNB configuration file %s, enb %d unknown value \"%d\" for nb_antennas_tx choice: 1..64 !\n",
|
||||
lib_config_file_name_pP, i, nb_antennas_tx);
|
||||
|
||||
enb_properties.properties[enb_properties_index]->nb_antennas_rx[j] = nb_antennas_rx;
|
||||
|
||||
if ((nb_antennas_rx <1) || (nb_antennas_rx > 4))
|
||||
if ((nb_antennas_rx <1) || (nb_antennas_rx > 64))
|
||||
AssertFatal (0,
|
||||
"Failed to parse eNB configuration file %s, enb %d unknown value \"%d\" for nb_antennas_rx choice: 1..4 !\n",
|
||||
"Failed to parse eNB configuration file %s, enb %d unknown value \"%d\" for nb_antennas_rx choice: 1..64 !\n",
|
||||
lib_config_file_name_pP, i, nb_antennas_rx);
|
||||
|
||||
enb_properties.properties[enb_properties_index]->tx_gain[j] = tx_gain;
|
||||
|
||||
@@ -641,6 +641,7 @@ schedule_ue_spec(
|
||||
switch (mac_xface->get_transmission_mode(module_idP,CC_id,rnti)) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 7:
|
||||
default:
|
||||
switch (frame_parms[CC_id]->N_RB_DL) {
|
||||
case 6:
|
||||
@@ -725,7 +726,8 @@ schedule_ue_spec(
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
/*
|
||||
// this code is disabled for now - needs to be done properly
|
||||
case 4:
|
||||
// if (nb_rb>10) {
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->ndi1 = 0;
|
||||
@@ -763,6 +765,7 @@ schedule_ue_spec(
|
||||
((DCI1E_5MHz_2A_M10PRB_TDD_t*)DLSCH_dci)->dai = (UE_list->UE_template[CC_id][UE_id].DAI-1)&3;
|
||||
((DCI1E_5MHz_2A_M10PRB_TDD_t*)DLSCH_dci)->dl_power_off = 1;//dl_pow_off[UE_id];
|
||||
break;
|
||||
*/
|
||||
}
|
||||
|
||||
add_ue_dlsch_info(module_idP,
|
||||
@@ -1417,8 +1420,9 @@ schedule_ue_spec(
|
||||
|
||||
break;
|
||||
|
||||
/*
|
||||
// disabled for now as this needs to be done properly
|
||||
case 4:
|
||||
// if (nb_rb>10) {
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->mcs1 = mcs;
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->harq_pid = harq_pid;
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->ndi1 = 1;
|
||||
@@ -1426,15 +1430,6 @@ schedule_ue_spec(
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->dai = (UE_list->UE_template[CC_id][UE_id].DAI-1)&3;
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->TPC = tpc;
|
||||
|
||||
//}
|
||||
/* else {
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->mcs1 = eNB_UE_stats->DL_cqi[0];
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->harq_pid = harq_pid;
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->ndi1 = 1;
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->rv1 = round&3;
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->tpmi = 5;
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->dai = (UE_list->UE_template[CC_id][UE_id].DAI-1)&3;
|
||||
}*/
|
||||
break;
|
||||
|
||||
case 5:
|
||||
@@ -1465,6 +1460,7 @@ schedule_ue_spec(
|
||||
((DCI1E_5MHz_2A_M10PRB_TDD_t*)DLSCH_dci)->TPC = tpc;
|
||||
|
||||
break;
|
||||
*/
|
||||
}
|
||||
|
||||
// Toggle NDI for next time
|
||||
@@ -1560,6 +1556,8 @@ fill_DLSCH_dci(
|
||||
case 1:
|
||||
|
||||
case 2:
|
||||
|
||||
case 7:
|
||||
LOG_D(MAC,"[eNB %d] CC_id %d Adding UE %d spec DCI for %d PRBS \n",module_idP, CC_id, UE_id, nb_rb);
|
||||
|
||||
if (PHY_vars_eNB_g[module_idP][CC_id]->frame_parms.frame_type == TDD) {
|
||||
@@ -1744,9 +1742,9 @@ fill_DLSCH_dci(
|
||||
|
||||
break;
|
||||
|
||||
/*
|
||||
case 4:
|
||||
|
||||
//if (nb_rb>10) {
|
||||
// DCI format 2_2A
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->rballoc = allocate_prbs_sub(nb_rb,rballoc_sub);
|
||||
((DCI2_5MHz_2A_TDD_t*)DLSCH_dci)->rah = 0;
|
||||
@@ -1758,17 +1756,6 @@ fill_DLSCH_dci(
|
||||
sizeof_DCI2_5MHz_2A_TDD_t,
|
||||
format2,
|
||||
0);
|
||||
/*}
|
||||
else {
|
||||
((DCI2_5MHz_2A_L10PRB_TDD_t*)DLSCH_dci)->rballoc = allocate_prbs_sub(nb_rb,rballoc_sub);
|
||||
add_ue_spec_dci(DCI_pdu,
|
||||
DLSCH_dci,
|
||||
rnti,
|
||||
sizeof(DCI2_5MHz_2A_L10PRB_TDD_t),
|
||||
2,//aggregation,
|
||||
sizeof_DCI2_5MHz_2A_L10PRB_TDD_t,
|
||||
format2_2A_L10PRB);
|
||||
}*/
|
||||
break;
|
||||
|
||||
case 5:
|
||||
@@ -1798,6 +1785,7 @@ fill_DLSCH_dci(
|
||||
format1E_2A_M10PRB,
|
||||
0);
|
||||
break;
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ int errno;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
//#define XER_PRINT
|
||||
#define XER_PRINT
|
||||
|
||||
extern Enb_properties_array_t enb_properties;
|
||||
typedef struct xer_sprint_string_s {
|
||||
|
||||
@@ -98,7 +98,7 @@ extern UE_MAC_INST *UE_mac_inst;
|
||||
extern void *bigphys_malloc(int);
|
||||
#endif
|
||||
|
||||
//#define XER_PRINT
|
||||
#define XER_PRINT
|
||||
|
||||
extern int8_t dB_fixed2(uint32_t x,uint32_t y);
|
||||
|
||||
|
||||
@@ -3745,7 +3745,7 @@ rrc_eNB_generate_RRCConnectionSetup(
|
||||
ue_context_pP,
|
||||
CC_id,
|
||||
(uint8_t*) eNB_rrc_inst[ctxt_pP->module_id].carrier[CC_id].Srb0.Tx_buffer.Payload,
|
||||
(fp->nb_antennas_tx_eNB==2)?2:1, //at this point we do not have the UE capability information, so it can only be TM1 or TM2
|
||||
(fp->nb_antenna_ports_eNB==2)?2:1, //at this point we do not have the UE capability information, so it can only be TM1 or TM2
|
||||
rrc_eNB_get_next_transaction_identifier(ctxt_pP->module_id),
|
||||
fp,
|
||||
SRB_configList,
|
||||
|
||||
@@ -288,6 +288,8 @@ const char* eurecomFunctionsNames[] = {
|
||||
"phy_eNB_dlsch_encoding",
|
||||
"phy_eNB_dlsch_encoding_w",
|
||||
"phy_eNB_dlsch_scrambling",
|
||||
"phy_eNB_beam_precoding",
|
||||
"phy_eNB_ofdm_mod_l",
|
||||
|
||||
/* MAC signals */
|
||||
"macxface_macphy_init",
|
||||
|
||||
@@ -262,6 +262,8 @@ typedef enum {
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_ENB_DLSCH_ENCODING,
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_ENB_DLSCH_ENCODING_W,
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_ENB_DLSCH_SCRAMBLING,
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_ENB_BEAM_PRECODING,
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_ENB_OFDM_MODULATION,
|
||||
|
||||
/* MAC signals */
|
||||
VCD_SIGNAL_DUMPER_FUNCTIONS_MACPHY_INIT,
|
||||
|
||||
Reference in New Issue
Block a user