Melissa Elkadi
4dcb32c180
Removed unused memcpy functions and references
2021-02-24 09:12:00 -08:00
Melissa Elkadi
125e0aa186
Updating incorrect logic in phy_stub_ue.c
2021-02-24 07:07:45 -08:00
Melissa Elkadi
2c8aab0671
Included PHY channel parameter handling
...
Also, updated openairinterface5g_limits.h to match develop branch.
2021-02-17 16:04:00 -08:00
Melissa Elkadi
17ede97029
Changed UE Capabilities log to a LOG_A
2021-02-15 15:27:25 -08:00
Melissa Elkadi
ecaa20ed14
Re-do fix for merge issues
2021-02-15 15:08:46 -08:00
Melissa Elkadi
26e3f32b69
Fixed fill_ul_mutex
...
Mutexes were not being initialized. In multiple
places they were not being unlocked. In fill rach
it was not being locked or unlocked.
2021-02-15 12:40:32 -08:00
Melissa Elkadi
bc524ea192
Minor fixes and new definitions for build success
2021-02-15 09:00:22 -08:00
Raymond Knopp
a446eb0ebc
Merge branch 'episys/master' into episys-merge
...
Conflicts:
common/utils/LOG/log.h
common/utils/ocp_itti/intertask_interface.cpp
nfapi/oai_integration/nfapi_vnf.c
nfapi/open-nFAPI/nfapi/src/nfapi.c
openair2/LAYER2/MAC/main_ue.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_eNB.c
openair3/NAS/UE/ESM/esm_ebr_context.c
targets/COMMON/openairinterface5g_limits.h
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-uesoftmodem.c
2021-02-13 22:52:33 +01:00
Raphael Defosseux
39ab3c1e9e
* MR 1015: Multi-UE + more slots
...
This MR adds a multi-UE scheduler (proportional fair) for multiple UEs. Tested for two UEs, but should work for more. Additionally, it enables 12 DL slots and 2 UL slots (still fixed, will be read from the configuration file in a clean-up/follow-up MR).
* MR 1019: NASMESH: support for kernel version >= 5.6.0
he syntax for ndo_tx_timeout in Linux Kernel has changed since 5.6.0 i.e it has changed
* MR 1033: ue fixes
1. Write tx data to radio unit only on tx slots.
2. Fixed a bug in DL HARQ.
3. Disabled UE and some gNB side logs which were enabled (maybe by mistake) in previous MRs.
4. In UE, check if NDI toggled before reading SDU for PUSCH.
2021-02-11 12:21:21 +01:00
Robert Schmidt
54a2d698db
Fix build: test for slot from within preprocessor
2021-02-09 16:46:44 +01:00
hardy
665688681b
Merge remote-tracking branch 'origin/ue-fixes' into integration_2021_wk06_b
2021-02-09 10:54:58 +01:00
hardy
421cb60fa4
Merge remote-tracking branch 'origin/NR_DLUL_PF' into integration_2021_wk06_b
2021-02-09 10:49:28 +01:00
hardy
bcc009b2f9
Merge remote-tracking branch 'origin/nasmesh_kernel_5.8' into integration_2021_wk06_b
2021-02-09 10:48:57 +01:00
Sakthivel Velumani
8902902706
Merge branch 'develop' into ue-fixes
2021-02-08 15:06:17 +01:00
Sakthivel Velumani
3380f1a455
send data from MAC to PHY when NDI toggles
2021-02-08 12:49:32 +01:00
Robert Schmidt
b86fdaf59b
Revert "Lower UE log level"
...
This reverts commit 71e297de9d .
2021-02-08 11:20:23 +01:00
Robert Schmidt
9b77575af2
Use the MAX_BWP_SIZE macro everywhere
2021-02-07 10:45:57 +01:00
Robert Schmidt
318c4e0fd7
Skip DL HARQ feedbacks if the timing does not match
...
As the precedent commit, this commit deals with the realtime problems
that we currently have on the CI bench.
For DL HARQ feedback, nFAPI does not give us the HARQ process ID.
Instead, we have to figure this out "from timing", i.e., if we trigger
PUCCH reception, we will get a message with HARQ if we instructed the
PHY to do so. If we have real-time problems, it seems (I cannot verify:
don't have real time problems) that we do not get the nFAPI message with
HARQ feedback. Thus, we need to skip the HARQ processes that should have
been processed in the past, which happens in this commit.
2021-02-07 10:45:57 +01:00
Robert Schmidt
f23890e0b9
Search correct UL HARQ, don't assert on late slot
...
At the time of this commit, the CI has realtime issues. This can mean
that the HARQ result is delivered in a delayed fashion. Before this
commit, we were asserting on whether the slot corresponds to the HARQ
process's expected feedback slot, but a particular feedback might be
delayed under realtime issues, and we actually don't care about the
timing since we get the HARQ process ID.
Instead, we loop through the HARQ processes for which we wait for a
feedback in the beginning until we have the right process (which did not
seem to cause a problem till now, but who knows.
2021-02-07 10:45:57 +01:00
Robert Schmidt
423a0e4afe
Handle UL HARQ slot wrap around for slot = 0
2021-02-07 10:45:57 +01:00
Robert Schmidt
8bd3ec7602
Fix whitespace issues (review request)
2021-02-07 10:45:57 +01:00
Robert Schmidt
71fd526e12
Remove unused variables
2021-02-07 10:45:57 +01:00
Robert Schmidt
30d13ebf6d
Lower various log levels
2021-02-07 10:45:57 +01:00
Robert Schmidt
77203ee989
Fix nr_dlschsim unitary simulator
2021-02-07 10:45:57 +01:00
ChiehChun
a8cc08ace5
Cannot allocate CCE error -> debug message
2021-02-07 10:45:57 +01:00
ChiehChun
8a823d22cf
Better format dump_mac_stats()
2021-02-07 10:45:57 +01:00
ChiehChun
c51cb3f40b
Enable 2 UL slots
2021-02-07 10:45:57 +01:00
Robert Schmidt
dcd591bd2b
Schedule BSR0 UE only one at a time, in round-robin
2021-02-07 10:45:57 +01:00
Robert Schmidt
3b972f6766
ULSCH fix: Only allocate CCEs when necessary
2021-02-07 10:45:57 +01:00
Robert Schmidt
77de70c82f
Calculate TBS for coefficient only when needed
2021-02-07 10:45:57 +01:00
ChiehChun
8bf2d1a12f
Remove assert of allocate CSI PUCCH
2021-02-07 10:45:57 +01:00
ChiehChun
fde6c46ef1
Remove assertion for single UE
2021-02-07 10:45:57 +01:00
Robert Schmidt
6294ce715e
Reorder pf_ul to process retransmission
2021-02-07 10:45:57 +01:00
ChiehChun
14614d74cf
Find max coeff & Decrease n_rb_sched
2021-02-07 10:45:57 +01:00
ChiehChun
56831038d0
Check BSR & Create UE_sched for UL new transmission
2021-02-07 10:39:40 +01:00
Robert Schmidt
c8168085dd
Calculate UL coefficient
2021-02-07 10:39:40 +01:00
ChiehChun
1b1411727c
Calculate UL throughput & Initial ulsch_current_bytes
2021-02-07 10:39:40 +01:00
ChiehChun
cf725a1801
Create find_CCE in primitive
2021-02-07 10:39:40 +01:00
ChiehChun
bec348405b
Find the largest contiguos region
2021-02-07 10:39:40 +01:00
ChiehChun
8f988e384d
Add pf_ul & pseudo code
2021-02-07 10:39:40 +01:00
ChiehChun
5573b8e18c
Change vrb_map_UL to rballoc_mask
2021-02-07 10:39:40 +01:00
ChiehChun
2becbb9210
Verify the same K2
2021-02-07 10:39:40 +01:00
ChiehChun
7da43c95d2
Change pre_precessor_ul type to bool
...
- To check the current slot is the scheduled slot(UL slot - K2) and
only execute the post processor in scheduled slot.
2021-02-07 10:39:40 +01:00
ChiehChun
0234015f8e
Check slot is DL slot to pre-schedule UL data
2021-02-07 10:39:40 +01:00
ChiehChun
2283e12560
Calculate rbSize from estimated buffer
2021-02-07 10:39:40 +01:00
ChiehChun
c7ffd5740f
Add sched_ul_bytes/ulsch_current_bytes & Update in rx_sdu/schedule_ulsch
2021-02-07 10:39:40 +01:00
ChiehChun
4d0a2e4877
Save selected UL HARQ PID in post-processor
2021-02-07 10:39:40 +01:00
Robert Schmidt
4b1be522a5
Add estimated_ul_buffer & Update in DTCH
2021-02-07 10:39:40 +01:00
ChiehChun
989aade7b8
Log lcid default case & pirntout MAC PDU
2021-02-07 10:39:40 +01:00
ChiehChun
21e9339427
Add short/long BSR Table & Log the BSR value
2021-02-07 10:39:40 +01:00