OAI ran slot ordering Current slot 9 is NOT DL slot, cannot schedule DCI0 for UL data

Hello I am seeing an issue with the cubb running with the OAI ran, seeing downlink CP/UP packets but no uplink CP packets, wondering if this is an issue with the slot/ symbol/ antenna settings in Openair RAN, see a number of different reference configs/slot patterns in openair so wondeiring if there is something missing, or if this is expected?

  #tdd-UL-DL-ConfigurationCommon
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
      referenceSubcarrierSpacing                                    = 1;
      # pattern1
      # dl_UL_TransmissionPeriodicity
      # 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
     
      #see no rach/ no ul packets CP packets at all
      #reference fxn conf
      dl_UL_TransmissionPeriodicity                                 = 6;
      nrofDownlinkSlots                                             = 6;
      nrofDownlinkSymbols                                           = 6;
      nrofUplinkSlots                                               = 3; #2;
      nrofUplinkSymbols                                             = 0;      

      #see only ul rach packets
      #from benetel 273 prb config
      # dl_UL_TransmissionPeriodicity                                 = 5;
      # nrofDownlinkSlots                                             = 3;
      # nrofDownlinkSymbols                                           = 6;
      # nrofUplinkSlots                                               = 1; #2;
      # nrofUplinkSymbols                                             = 4;
      
      #see only ul rach packets
      #from other 273 prb conf
      # dl_UL_TransmissionPeriodicity                                 = 6;
      # nrofDownlinkSlots                                             = 7;
      # nrofDownlinkSymbols                                           = 6;
      # nrofUplinkSlots                                               = 2;
      # nrofUplinkSymbols                                             = 4;

Saw the following in the oai log

oai-ran  | [NR_MAC]   Configuring common parameters from NR ServingCellConfig
oai-ran  | [NR_MAC]   DL_Bandwidth:100
oai-ran  | [NR_MAC]   NR band duplex spacing is 0 KHz (nr_bandtable[40].band = 78)
oai-ran  | [NR_MAC]   Frequency from NR-ARFCN for N_OFFs 620000, duplex spacing 0 KHz, deltaFglobal 15 KHz
oai-ran  | [NR_MAC]   Computing frequency (nrarfcn 620244 => 3303660 KHz (freq_min 3300000 KHz, NR band 78 N_OFFs 620000))
oai-ran  | [NR_MAC]   DL_Bandwidth:100
oai-ran  | [NR_MAC]   NR band duplex spacing is 0 KHz (nr_bandtable[40].band = 78)
oai-ran  | [NR_MAC]   Frequency from NR-ARFCN for N_OFFs 620000, duplex spacing 0 KHz, deltaFglobal 15 KHz
oai-ran  | [NR_MAC]   Computing frequency (nrarfcn 620244 => 3303660 KHz (freq_min 3300000 KHz, NR band 78 N_OFFs 620000))
oai-ran  | [NR_MAC]   NR band duplex spacing is 0 KHz (nr_bandtable[40].band = 78)
oai-ran  | [NR_MAC]   NR band 78, duplex mode TDD, duplex spacing = 0 KHz
oai-ran  | [NR_MAC]   ssb_OffsetPointA 324, ssb_SubcarrierOffset 12
oai-ran  | [NR_MAC]   Set RX antenna number to 2, Set TX antenna number to 2 (num ssb 1: 80000000,0)
oai-ran  | [NR_MAC]   Setting TDD configuration period to 6
oai-ran  | [NR_MAC]   Getting Total PRACH info from index 159 (col 1 ) absoluteFrequencyPointA 620244 mu 1 frame_type 1 start_symbol 0 N_t_slot 1 N_dur 12 N_RA_sfn = 1
oai-ran  | [NR_MAC]   Total available RO 2, num of active SSB 1: unused RO = 0 association_period 2 N_RA_sfn 1 total_prach_occasions_per_config_period 1
oai-ran  | [NR_MAC]   slot 0 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 1 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 2 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 3 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 4 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 5 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 6 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 7 DL 0 UL 1
oai-ran  | [NR_MAC]   slot 8 DL 0 UL 1
oai-ran  | [NR_MAC]   slot 9 DL 0 UL 1
oai-ran  | [NR_MAC]   slot 10 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 11 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 12 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 13 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 14 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 15 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 16 DL 1 UL 0
oai-ran  | [NR_MAC]   slot 17 DL 0 UL 1
oai-ran  | [NR_MAC]   slot 18 DL 0 UL 1
oai-ran  | [NR_MAC]   slot 19 DL 0 UL 1
...

oai-ran  | [NR_MAC]   0.19 UL_tti_req_ahead SFN.slot = 1.18 for index 18
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   Current slot 19 is NOT DL slot, cannot schedule DCI0 for UL data
oai-ran  | [NR_MAC]   1.0 UL_tti_req_ahead SFN.slot = 1.19 for index 19
oai-ran  | [NR_MAC]   Frame 1, Slot 19: Prach Occasion id = 1  fdm index = 0 start symbol = 0 slot index = 0 subframe index = 0
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.1 UL_tti_req_ahead SFN.slot = 2.0 for index 0
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.2 UL_tti_req_ahead SFN.slot = 2.1 for index 1
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.3 UL_tti_req_ahead SFN.slot = 2.2 for index 2
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.4 UL_tti_req_ahead SFN.slot = 2.3 for index 3
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.5 UL_tti_req_ahead SFN.slot = 2.4 for index 4
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.6 UL_tti_req_ahead SFN.slot = 2.5 for index 5
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   1.7 UL_tti_req_ahead SFN.slot = 2.6 for index 6
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   Current slot 7 is NOT DL slot, cannot schedule DCI0 for UL data
oai-ran  | [NR_MAC]   1.8 UL_tti_req_ahead SFN.slot = 2.7 for index 7
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   Current slot 8 is NOT DL slot, cannot schedule DCI0 for UL data
oai-ran  | [NR_MAC]   1.9 UL_tti_req_ahead SFN.slot = 2.8 for index 8
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   RA[state:0]
oai-ran  | [NR_MAC]   Current slot 9 is NOT DL slot, cannot schedule DCI0 for UL data
oai-ran  | [NR_MAC]   1.10 UL_tti_req_ahead SFN.slot = 2.9 for index 9

OAI log with lower log level

nv-cubb  | 20:37:50.939675 WRN msg_processing 0 [CUPHY.MEMFOOT] cuphyMemoryFootprint - GPU allocation: 0.093 MiB for cuPHY CSIRS channel object (0x3dc6430b180).
nv-cubb  | 20:37:50.939686 WRN msg_processing 0 [DRV.API] Update cell: mplane_id=1 dl_grid_sz=273
nv-cubb  | 20:37:50.939687 WRN msg_processing 0 [DRV.API] Update cell: mplane_id=1 ul_grid_sz=273
nv-cubb  | 20:37:50.949017 WRN timer_thread 0 [L2A.TICK] Thread slot_indication_thread_sleep_method initialized fmtlog
nv-cubb  | 20:37:50.949023 WRN timer_thread 0 [L2A.TICK] PTP Configs: gps_alpha: 0 gps_beta: 0
oai-ran  | [NFAPI_VNF]
oai-ran  | ============================================================================
oai-ran  | sfn slot doesn't match unpacked one! L2->L1 0.0  vs L1->L2 0.3
oai-ran  | ============================================================================
nv-cubb  | 20:37:54.360029 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.00 Mbps    0 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 0
nv-cubb  | 20:37:54.399004 WRN msg_processing 0 [L2A.MODULE] Current SFN 4.1, Previous slot received=false process_phy_commands: cell_id=0 channels=0 - invalid PDSCH pTbInput=0x0 data_buf=0x0
nv-cubb  | 20:37:54.399005 WRN msg_processing 0 [L2A.MODULE] Dropping the slot command for slot 0
nv-cubb  | 20:37:55.360005 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   48 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 2000
oai-ran  | [NR_MAC]   Frame.Slot 128.0
oai-ran  |
nv-cubb  | 20:37:56.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 4000
oai-ran  | [NR_MAC]   Frame.Slot 256.0
oai-ran  |
nv-cubb  | 20:37:57.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 6000
oai-ran  | [NR_MAC]   Frame.Slot 384.0
oai-ran  |
nv-cubb  | 20:37:58.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 8000
nv-cubb  | 20:37:59.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 10000
oai-ran  | [NR_MAC]   Frame.Slot 512.0
oai-ran  |
nv-cubb  | 20:38:00.360005 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 12000
oai-ran  | [NR_MAC]   Frame.Slot 640.0
oai-ran  |
nv-cubb  | 20:38:01.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 14000
oai-ran  | [NR_MAC]   Frame.Slot 768.0
oai-ran  |
nv-cubb  | 20:38:02.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 16000
oai-ran  | [NR_MAC]   Frame.Slot 896.0
oai-ran  |
nv-cubb  | 20:38:03.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 18000
nv-cubb  | 20:38:04.360005 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 20000
oai-ran  | [NR_MAC]   Frame.Slot 0.0
oai-ran  |
nv-cubb  | 20:38:05.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 22000
oai-ran  | [NR_MAC]   Frame.Slot 128.0
oai-ran  |
nv-cubb  | 20:38:06.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 24000
oai-ran  | [NR_MAC]   Frame.Slot 256.0
oai-ran  |
nv-cubb  | 20:38:07.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 26000
nv-cubb  | 20:38:08.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 28000
oai-ran  | [NR_MAC]   Frame.Slot 384.0
oai-ran  |
nv-cubb  | 20:38:09.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 30000
oai-ran  | [NR_MAC]   Frame.Slot 512.0
oai-ran  |
nv-cubb  | 20:38:10.360004 WRN timer_thread 0 [SCF.PHY] Cell  0 | DL    0.05 Mbps   50 Slots | UL    0.00 Mbps    0 Slots CRC   0 (     0) | Tick 32000
oai-ran  | [NR_MAC]   Frame.Slot 640.0
oai-ran  |
nv-cubb  | 20:38:11.360004 WRN timer_thread 0 [SCF.PHY] Cell 

Example of missing UL-CP packet with foxconn radio we’ve captured with another test setup.

Hi Eric,
I tried all three of your configs and get UE attach for all of them.

Normally when the RU isn’t sending UL U-Plane you’ll see errors like this on console and in logs:

18:36:51.871093 ERR UlPhyDriver04 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 175, SFN 790 Slot 19 Order kernel timeout error (exit condition 3) for cell index 0 Dyn index 0!
18:36:51.875963 ERR UlPhyDriver04 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 176, SFN 791 Slot 7 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!
18:36:51.880964 ERR UlPhyDriver04 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 177, SFN 791 Slot 17 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!
18:36:51.884017 ERR UlPhyDriver05 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 178, SFN 791 Slot 19 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!
18:36:51.887073 ERR UlPhyDriver04 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 179, SFN 792 Slot 7 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!
18:36:51.890128 ERR UlPhyDriver05 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 180, SFN 792 Slot 8 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!
18:36:51.893182 ERR UlPhyDriver04 0 [AERIAL_CUPHY_API_EVENT] [DRV.FUNC_UL] Slot Map 181, SFN 792 Slot 9 Order kernel timeout error (exit condition 4) for cell index 0 Dyn index 0!```

Can you check that the capture server and the port mirror to it have an MTU of at least 8192? 

Have you changed your sectionId for PUSCH? That's normally 0 rather than 32: