#define CONFIG_HLP_EXCCLK "tells hardware to use a clock reference (0:internal(default), 1:external, 2:gpsdo)\n"
#define CONFIG_HLP_USIM "use XOR autentication algo in case of test usim mode\n"
#define CONFIG_HLP_NOSNGLT "Disables single-thread mode in lte-softmodem\n"
#define CONFIG_HLP_TADV "Set timing_advance\n"
#define CONFIG_HLP_DLF "Set the downlink frequency for all component carriers\n"
#define CONFIG_HLP_ULOFF "Set the uplink frequnecy offset for all component carriers\n"
#define CONFIG_HLP_CHOFF "Channel id offset\n"
...
...
@@ -81,7 +80,6 @@
#define CONFIG_HLP_L2MONP "Enable L2 pcap messages on localhost \n"
#define CONFIG_HLP_MAC "Disable the MAC procedures at UE side (default is enabled)\n"
#define CONFIG_HLP_VCD "Enable VCD (generated file will is named openair_dump_eNB.vcd, read it with target/RT/USER/eNB.gtkw\n"
#define CONFIG_HLP_TQFS "Apply three-quarter of sampling frequency, 23.04 Msps to reduce the data rate on USB/PCIe transfers (only valid for 20 MHz)\n"
#define CONFIG_HLP_TPORT "tracer port\n"
#define CONFIG_HLP_NOTWAIT "don't wait for tracer, start immediately\n"
#define CONFIG_HLP_TNOFORK "to ease debugging with gdb\n"
...
...
@@ -109,6 +107,7 @@
#define CONFIG_HLP_SNR "Set average SNR in dB (for --siml1 option)\n"
#define CONFIG_HLP_NOS1 "Disable s1 interface\n"
#define CONFIG_HLP_NOKRNMOD "(noS1 only): Use tun instead of namesh module \n"
#define CONFIG_HLP_ULMCS "Set the maximum uplink MCS\n"
#define CONFIG_HLP_UE "Set the lte softmodem as a UE\n"
#define CONFIG_HLP_TQFS "Apply three-quarter of sampling frequency, 23.04 Msps to reduce the data rate on USB/PCIe transfers (only valid for 20 MHz)\n"
#define CONFIG_HLP_TQFS "Apply three-quarter of sampling frequency, (example 23.04 Msps for LTE 20MHz) to reduce the data rate on USB/PCIe transfers (only valid for some bandwidths)\n"
#define CONFIG_HLP_TPORT "tracer port\n"
#define CONFIG_HLP_NOTWAIT "don't wait for tracer, start immediately\n"
#define CONFIG_HLP_TNOFORK "to ease debugging with gdb\n"
...
...
@@ -111,6 +111,8 @@ extern "C"
#define CONFIG_HLP_NID2 "Set NID2 value in Sidelink\n"
#define CONFIG_HLP_NOITTI "Do not start itti threads, call queue processing in place, inside the caller thread"
LOG_D(MAC,"In %s [%d.%d]: processing PDU %d (with length %d) of %d total number of PDUs...\n",__FUNCTION__,frameP,slot,pdu_id,pdu_len,dl_info->rx_ind->number_pdus);
while(!done&&pdu_len>0){
uint16_tmac_len=0x0000;
uint16_tmac_subheader_len=0x0001;// default to fixed-length subheader = 1-oct
LOG_D(MAC,"In %s [%d.%d]: processing PDU %d (with length %ld) of %d total number of PDUs...\n",__FUNCTION__,frameP,slot,pdu_id,pduP-pduEnd,dl_info->rx_ind->number_pdus);
while(pduP<pduEnd){
uintmac_len=0;
uintmac_subheader_len=0;// default to fixed-length subheader = 1-oct
LOG_I(NR_MAC,"[UE %d][RAPROC] Got BI RAR subPDU %d ms\n",mod_id,ra->RA_backoff_indicator);
if(((NR_RA_HEADER_BI*)rarh)->E==1){
if(raBI->E==1){
rarh+=sizeof(NR_RA_HEADER_BI);
continue;
}else{
...
...
@@ -4040,17 +4026,13 @@ static void nr_ue_process_rar(nr_downlink_indication_t *dl_info, int pdu_id)
}
#ifdef DEBUG_RAR
LOG_D(MAC,"[DEBUG_RAR] (%d,%d) number of RAR subheader %d; number of RAR pyloads %d\n",frame,slot,n_subheaders,n_subPDUs);
LOG_D(MAC,"[DEBUG_RAR] Received RAR (%02x|%02x.%02x.%02x.%02x.%02x.%02x) for preamble %d/%d\n",*(uint8_t*)rarh,rar[0],rar[1],rar[2],rar[3],rar[4],rar[5],rarh->RAPID,preamble_index);
LOG_D(NR_MAC,"[DEBUG_RAR] (%d,%d) number of RAR subheader %d; number of RAR pyloads %d\n",frame,slot,n_subheaders,n_subPDUs);
LOG_D(NR_MAC,"[DEBUG_RAR] Received RAR (%02x|%02x.%02x.%02x.%02x.%02x.%02x) for preamble %d/%d\n",*(uint8_t*)rarh,rar[0],rar[1],rar[2],rar[3],rar[4],rar[5],rarh->RAPID,preamble_index);