Currently receiving measurement data from NR UE
This commit has several other changes. The changes include the following: 1. Changed the port numbers for the NRUE<->Proxy 2. Fixed the send to function in the NR UE (Previously only sending buffer not buffer+msg_type) 3. Updated pack/unpack of the SSB PDU (new RSRB field added) 4. Fixed several NR logs 5. Opening socket with NRUE<->Proxy AFTER receving RRC measurement request from the LTE UE
This commit is contained in:
+2
-2
@@ -127,8 +127,8 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue,
|
||||
void init_nrUE_standalone_thread(int ue_idx)
|
||||
{
|
||||
const char *standalone_addr = "127.0.0.1";
|
||||
int standalone_tx_port = 3211 + (1+ue_idx)*2;
|
||||
int standalone_rx_port = 3212 + (1+ue_idx)*2;
|
||||
int standalone_tx_port = 3611 + (ue_idx)*2;
|
||||
int standalone_rx_port = 3612 + (ue_idx)*2;
|
||||
nrue_init_standalone_socket(standalone_addr, standalone_tx_port, standalone_rx_port);
|
||||
|
||||
pthread_t thread;
|
||||
|
||||
@@ -587,20 +587,8 @@ int main( int argc, char **argv ) {
|
||||
printf("UE threads created by %ld\n", gettid());
|
||||
|
||||
}
|
||||
if (NFAPI_MODE == NFAPI_MODE_STANDALONE_PNF) {
|
||||
init_queue(&dl_itti_config_req_tx_data_req_queue);
|
||||
init_queue(&ul_dci_config_req_queue);
|
||||
|
||||
config_sync_var=0;
|
||||
if (sem_init(&sfn_slot_semaphore, 0, 0) != 0)
|
||||
{
|
||||
LOG_E(MAC, "sem_init() error\n");
|
||||
abort();
|
||||
}
|
||||
init_nrUE_standalone_thread(ue_id_g);
|
||||
//init_NR_UE_threads(NB_UE_INST);
|
||||
}
|
||||
|
||||
config_sync_var=0;
|
||||
// wait for end of program
|
||||
printf("TYPE <CTRL-C> TO TERMINATE\n");
|
||||
// Sleep a while before checking all parameters have been used
|
||||
|
||||
Reference in New Issue
Block a user