mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Compare commits
2 Commits
fft_dynami
...
softUeConf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cec07faef | ||
|
|
ca1a9001f1 |
@@ -1,10 +1,7 @@
|
||||
uicc0 = {
|
||||
imsi = "208970100001127";
|
||||
imsi = "001010000000001";
|
||||
key = "fec86ba6eb707ed08905757b1bb44b8f";
|
||||
opc= "c42449363bbad02b66d16bc975d77cc1";
|
||||
dnn= "oai";
|
||||
nssai_sst=1;
|
||||
nssai_sd=66051;
|
||||
#nssai_sst=1;
|
||||
}
|
||||
|
||||
thread-pool = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
|
||||
|
||||
57
ci-scripts/yaml_files/sa_nrue_2/docker-compose.yml
Normal file
57
ci-scripts/yaml_files/sa_nrue_2/docker-compose.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
services:
|
||||
oai-nr-ue:
|
||||
image: oai-nr-ue:w48
|
||||
logging:
|
||||
options:
|
||||
max-file: "1"
|
||||
network_mode: host
|
||||
container_name: oai-nr-ue
|
||||
command: "numactl --cpunodebind=0 --membind=0 /opt/oai-nr-ue/bin/nr-uesoftmodem"
|
||||
privileged: true
|
||||
cpuset: 2,4,6,8,10,12,14,16
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- NET_ADMIN # for interface bringup
|
||||
- NET_RAW # for ping
|
||||
- SYS_NICE # for performance
|
||||
- IPC_LOCK # for memory locking
|
||||
- SYS_PTRACE # for debugging
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
ulimits:
|
||||
core: -1 # for core dumps
|
||||
#entrypoint: /bin/bash -c "sleep infinity"
|
||||
environment:
|
||||
TZ: Europe/Paris
|
||||
DISPLAY: $DISPLAY
|
||||
USE_ADDITIONAL_OPTIONS: |
|
||||
--thread-pool 2,4,6,8,10,12
|
||||
--usrp-args type=x4xx,addr=192.168.10.2,mgmt_addr=10.31.66.220,clock_source=external,time_source=external --ue-rxgain 25
|
||||
--ue-nb-ant-tx 1
|
||||
--ue-nb-ant-rx 1
|
||||
--log_config.global_log_options level,wall_clock,nocolor
|
||||
--ssb 1478 -r 273 --numerology 1 --band 78 -C 3750000000
|
||||
--ue-txgain 0
|
||||
--uicc0.imsi 001010000000003
|
||||
--ue-fo-compensation -A 90
|
||||
--usrp-tx-thread-config 1
|
||||
# Unused options:
|
||||
#--T_stdout 2
|
||||
# --usrp-tx-thread-config 1
|
||||
# --log_config.mac_log_level debug
|
||||
# --log_config.nr_mac_log_level debug
|
||||
# --usrp-tx-thread-config 1 -d
|
||||
# --ssb 1478 -r 273 --numerology 1 --band 78 -C 3750000000 --sa
|
||||
# --ssb 1528 -r 273 --numerology 1 --band 48 -C 3649140000 --sa
|
||||
volumes:
|
||||
- ../../conf_files/ue.sa.conf:/opt/oai-nr-ue/etc/nr-ue.conf
|
||||
- ${HOME}/.Xauthority:/root/.Xauthority:rw
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||
- /var/log/aerial/:/var/log/aerial/
|
||||
- ~/2024.w48:/oai-ran:ro
|
||||
healthcheck:
|
||||
test: /bin/bash -c "pgrep nr-uesoftmodem"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -56,6 +56,7 @@ RUN apt-get update && \
|
||||
libconfig9 \
|
||||
openssl \
|
||||
net-tools \
|
||||
numactl \
|
||||
gdb \
|
||||
python3 \
|
||||
python3-six \
|
||||
|
||||
@@ -480,8 +480,6 @@ static void RU_write(nr_rxtx_thread_data_t *rxtxD, bool sl_tx_action)
|
||||
int tmp = openair0_write_reorder(&UE->rfdevice, proc->timestamp_tx, txp, rxtxD->writeBlockSize, fp->nb_antennas_tx, flags);
|
||||
AssertFatal(tmp == rxtxD->writeBlockSize, "");
|
||||
|
||||
for (int i = 0; i < fp->nb_antennas_tx; i++)
|
||||
memset(txp[i], 0, rxtxD->writeBlockSize);
|
||||
}
|
||||
|
||||
void processSlotTX(void *arg)
|
||||
@@ -788,6 +786,8 @@ void *UE_thread(void *arg)
|
||||
UE->is_synchronized = 0;
|
||||
int tmp2 = UE->rfdevice.trx_start_func(&UE->rfdevice);
|
||||
AssertFatal(tmp2 == 0, "Could not start the device\n");
|
||||
if (usrp_tx_thread == 1)
|
||||
UE->rfdevice.trx_write_init(&UE->rfdevice);
|
||||
|
||||
notifiedFIFO_t nf;
|
||||
initNotifiedFIFO(&nf);
|
||||
|
||||
@@ -3588,8 +3588,9 @@ void nr_ue_process_mac_pdu(NR_UE_MAC_INST_t *mac, nr_downlink_indication_t *dl_i
|
||||
{
|
||||
frame_t frameP = dl_info->frame;
|
||||
int slot = dl_info->slot;
|
||||
uint8_t *pduP = (dl_info->rx_ind->rx_indication_body + pdu_id)->pdsch_pdu.pdu;
|
||||
int32_t pdu_len = (int32_t)(dl_info->rx_ind->rx_indication_body + pdu_id)->pdsch_pdu.pdu_length;
|
||||
fapi_nr_pdsch_pdu_t *pdsch_pdu = &(dl_info->rx_ind->rx_indication_body + pdu_id)->pdsch_pdu;
|
||||
uint8_t *pduP = pdsch_pdu->pdu;
|
||||
int32_t pdu_len = (int32_t)pdsch_pdu->pdu_length;
|
||||
uint8_t gNB_index = dl_info->gNB_index;
|
||||
uint8_t CC_id = dl_info->cc_id;
|
||||
uint8_t done = 0;
|
||||
@@ -3598,6 +3599,7 @@ void nr_ue_process_mac_pdu(NR_UE_MAC_INST_t *mac, nr_downlink_indication_t *dl_i
|
||||
if (!pduP) {
|
||||
return;
|
||||
}
|
||||
T(T_GNB_MAC_DL_PDU_WITH_DATA, T_INT(0), T_INT(0), T_INT(mac->crnti), T_INT(frameP), T_INT(slot), T_INT(pdsch_pdu->harq_pid), T_BUFFER(pduP, pdu_len));
|
||||
|
||||
LOG_D(MAC,
|
||||
"[%d.%d]: processing PDU %d (with length %d) of %d total number of PDUs...\n",
|
||||
|
||||
@@ -1623,6 +1623,7 @@ void nr_ue_ul_scheduler(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_info)
|
||||
pdu->rb_start);
|
||||
|
||||
nr_ue_get_sdu(mac, cc_id, frame_tx, slot_tx, gNB_index, ulsch_input_buffer, TBS_bytes, tx_power, P_CMAX, &BSRsent);
|
||||
T(T_GNB_MAC_UL_PDU_WITH_DATA, T_INT(0), T_INT(0), T_INT(mac->crnti), T_INT(frame_tx), T_INT(slot_tx), T_INT(ulcfg_pdu->pusch_config_pdu.pusch_data.harq_process_id), T_BUFFER(ulsch_input_buffer, TBS_bytes));
|
||||
pdu->tx_request_body.fapiTxPdu = ulsch_input_buffer;
|
||||
pdu->tx_request_body.pdu_length = TBS_bytes;
|
||||
number_of_pdus++;
|
||||
|
||||
Reference in New Issue
Block a user