Commit 9b77c32e authored by tct-labo4's avatar tct-labo4 Committed by root

minor changes from TCL gNB PC

parent 75684d75
...@@ -53,9 +53,9 @@ int32_t nr_segmentation(unsigned char *input_buffer, ...@@ -53,9 +53,9 @@ int32_t nr_segmentation(unsigned char *input_buffer,
*C=*C+1; *C=*C+1;
Bprime = B+((*C)*L); Bprime = B+((*C)*L);
//#ifdef DEBUG_SEGMENTATION #ifdef DEBUG_SEGMENTATION
printf("Bprime %d\n",Bprime); printf("Bprime %d\n",Bprime);
//#endif #endif
} }
if ((*C)>MAX_NUM_DLSCH_SEGMENTS) { if ((*C)>MAX_NUM_DLSCH_SEGMENTS) {
......
...@@ -57,9 +57,9 @@ void lte_param_init(unsigned char N_tx_port_eNB, ...@@ -57,9 +57,9 @@ void lte_param_init(unsigned char N_tx_port_eNB,
memset((void*)UE,0,sizeof(PHY_VARS_UE)); memset((void*)UE,0,sizeof(PHY_VARS_UE));
srand(0); srand(128);
randominit(0); randominit(128);
set_taus_seed(0); set_taus_seed(128);
frame_parms = &(eNB->frame_parms); frame_parms = &(eNB->frame_parms);
......
...@@ -71,7 +71,7 @@ schedule_ue_spec_phy_test( ...@@ -71,7 +71,7 @@ schedule_ue_spec_phy_test(
uint16_t rnti = 0x1235; uint16_t rnti = 0x1235;
uint32_t rb_alloc = 0x1FFFFFFF; uint32_t rb_alloc = 0x1FFFFFFF;
int32_t tpc = 1; int32_t tpc = 1;
int32_t mcs = 0; int32_t mcs = 10;
int32_t cqi = 15; int32_t cqi = 15;
int32_t ndi = subframeP/5; int32_t ndi = subframeP/5;
int32_t dai = 0; int32_t dai = 0;
......
...@@ -33,7 +33,7 @@ eNBs = ...@@ -33,7 +33,7 @@ eNBs =
tdd_config_s = 0; tdd_config_s = 0;
prefix_type = "NORMAL"; prefix_type = "NORMAL";
eutra_band = 7; eutra_band = 7;
downlink_frequency = 2685000000L; downlink_frequency = 2680000000L;
uplink_frequency_offset = -120000000; uplink_frequency_offset = -120000000;
Nid_cell = 0; Nid_cell = 0;
N_RB_DL = 100; N_RB_DL = 100;
......
...@@ -171,7 +171,8 @@ static int tx_max_power[MAX_NUM_CCs]; /* = {0,0}*/; ...@@ -171,7 +171,8 @@ static int tx_max_power[MAX_NUM_CCs]; /* = {0,0}*/;
//char rf_config_file[1024]; //char rf_config_file[1024];
//char rf_config_file[1024]="./targets/ARCH/gNB.ini"; //char rf_config_file[1024]="./targets/ARCH/gNB.ini";
//FIXME! //FIXME!
char rf_config_file[1024]="./targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini"; char rf_config_file[1024]="./targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.NR80.adrv9371-zc706_HWgain15dB.ini";
//char rf_config_file[1024]="./targets/ARCH/ADRV9371_ZC706/USERSPACE/PROFILES/gnb.band7.tm1.PRB100.adrv9371-zc706_HWgain15dB.ini";
int chain_offset=0; int chain_offset=0;
int phy_test = 0; int phy_test = 0;
......
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