Robert Schmidt
a6126a39a5
Remove MAX_NUMBER_NETIF and use num UE
2020-10-13 09:07:46 +02:00
Robert Schmidt
4c7035e6e3
Remove UESIM_EXPANSION
...
This completely removes the UESIM_EXPANSION define: it does not compile
at the moment. Its function was to multiplex multiple UEs on the same
TUN interface. However, this functionality is not needed since it is
possible to allocate many TUN devices (i.e., >= 32).
2020-10-13 09:07:46 +02:00
Thomas Schlichter
2a4153eb29
fixup previous merge with develop branch
2020-10-07 17:54:39 +02:00
Robert Schmidt
a389e6f5e9
Fixup: reserve space for TA command
2020-10-07 17:54:39 +02:00
Raphael Defosseux
5411461582
Merge remote-tracking branch 'origin/develop' into integration_2020_wk40
2020-10-07 10:53:36 +02:00
Shweta Shrivastava
2305470a75
Fix for using K2 offset other than 2
2020-10-06 13:26:45 -05:00
hardy
d61f45ecb9
Merge remote-tracking branch 'origin/ulsch_decode_mthread' into integration_2020_wk40
2020-10-06 11:00:09 +02:00
hardy
8f9ba5553d
Merge remote-tracking branch 'origin/nsa_remove_band_hardcodings' into integration_2020_wk40
2020-10-06 09:30:04 +02:00
Thomas Schlichter
97354f1e2f
Merge remote-tracking branch 'NR_UE_UL_DCI_improvements' into integration_2020_wk40
...
Conflicts:
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
2020-10-05 12:15:59 +02:00
Thomas Schlichter
8b4d1a0f0f
Merge remote-tracking branch 'NR_DL_scheduler' into integration_2020_wk40
2020-10-05 12:13:13 +02:00
Sakthivel Velumani
3367b0f199
fixing compile warnings
2020-10-02 14:30:42 +02:00
Robert Schmidt
a2bf8f478a
Add configurable UE as param for nr_generate_dlsch_pdu()
2020-09-30 14:52:59 +02:00
Robert Schmidt
f97c4f8ae6
Remove statistics from nr_generate_dlsch_pdu()
2020-09-30 14:52:59 +02:00
Robert Schmidt
574f47d014
nr_fill_nfapi_dl_pdu(): pdu index and nPDUs counting
2020-09-30 14:52:59 +02:00
Robert Schmidt
ea9aacd664
Directly construct tx_req nFAPI message in DL postprocessor
2020-09-30 14:52:59 +02:00
Robert Schmidt
b7b32fbe77
allocate only necessary amount of RBs
2020-09-30 14:52:59 +02:00
Robert Schmidt
0c61983196
Consider retransmissions in the preprocessor
2020-09-30 14:52:59 +02:00
Robert Schmidt
2209b999a0
DL Post processor: distinguish tx/retx
2020-09-30 14:52:59 +02:00
Robert Schmidt
09d85a052a
Store retx Info
2020-09-30 14:52:59 +02:00
Robert Schmidt
b4d8e41a00
Create UE MAC Context after successful RA
2020-09-30 14:52:59 +02:00
Robert Schmidt
a2b1fa5d57
fixup: throughput correct only if first TDD slot
2020-09-30 14:52:59 +02:00
Robert Schmidt
b9eb6c9843
Use vrb_map in in DL for NSA mode
2020-09-30 14:52:59 +02:00
Robert Schmidt
ce2dd17ed5
Post-processor: enable multi-UE handling
2020-09-30 14:52:59 +02:00
Robert Schmidt
fdb4c69221
Preprocessor: check for number of UEs
2020-09-30 14:52:59 +02:00
Robert Schmidt
f13c97db02
Mark active in add_new_nr_ue() only if phytest
2020-09-30 14:52:59 +02:00
Robert Schmidt
738d61a173
Remove fiveG_connected and use active
2020-09-30 14:52:59 +02:00
Robert Schmidt
77e2a5aab8
Simplify allocate_rn_CCEs()
2020-09-30 14:52:59 +02:00
Robert Schmidt
5efe475120
Make UE_info.active C99 bool
2020-09-30 14:52:59 +02:00
Robert Schmidt
34f61ce396
add_nr_ue_list()
2020-09-30 14:52:59 +02:00
Robert Schmidt
ccb83d16e1
Add NR_UE_list_t type
2020-09-30 14:52:59 +02:00
Robert Schmidt
adcd2949fe
Rename NR_UE_list_t to NR_UE_info_t
...
The name NR_UE_list_t is misleading: beyond being a simple "list", this
structure carries all/most UE-related MAC information. If at all, it is
a container for multiple lists. The next commit introduces a
NR_UE_list_t structure that organizes UEs in lists such that it is
easier to go through the UEs.
2020-09-30 14:52:59 +02:00
Robert Schmidt
476c7177f9
PreProc IF: save MCS-info per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
9ad94aad82
PreProc IF: Freq domain allocation per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
123a4e9ada
PreProc IF: save Time domain assignment info per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
ad4da1b068
PreProc IF: save PUCCH info per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
020405686c
PreProc IF: save CCE info per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
5e5abe420e
PreProc IF: RLC status per UE
2020-09-30 14:52:59 +02:00
Robert Schmidt
77a814fe27
Start PreProc interface, add UE active BWP
2020-09-30 14:52:59 +02:00
Robert Schmidt
a403ca0398
Reduce log DLSCH scheduler
2020-09-30 14:52:59 +02:00
Robert Schmidt
b516e26a66
Move HARQ calculations out of nr_fill_nfapi_dl_pdu()
2020-09-30 14:52:59 +02:00
Robert Schmidt
8dd212c0d1
Only send random data if phytest
2020-09-30 14:52:59 +02:00
Robert Schmidt
439095bc84
Remove UE-specific ulsch bitmap, special phy test slot
...
when in phy test, only schedule UE to be in slot 8
2020-09-30 14:52:59 +02:00
Robert Schmidt
4ffc4fdad8
clean up gNB_dlsch_ulsch_scheduler(), remove UE-specific DL bitmap
2020-09-30 14:52:59 +02:00
Robert Schmidt
5578aeb4a5
Do not allocate CCE in nr_configure_pdcch()
...
nr_configure_pdcch() allocates the CCE, but this is not wanted, e.g., in
multi-user scheduling, since it might not be possible to allocate the
CCEs for these UEs. This commit makes the following changes:
- remove CCE allocation in nr_configure_pdcch()
- remove coreset search in nr_configure_pdcch()
- add functions get_coreset() and get_searchspace() to retrieve coresets
and search spaces easily
- in nr_fill_nfapi_dl_pdu(), add extra parameters for aggregation level
and CCE indices and the searchspace and coreset of a UE, which might
be different for each UE
- allocate CCEs manually in phytest, RA, and DLSCH schedulers
2020-09-30 14:52:59 +02:00
Robert Schmidt
67a081772d
Restructure nr_schedule_ue_spec()
2020-09-30 14:52:59 +02:00
Robert Schmidt
f0533b9ec4
Move TBS calculation out of nr_fill_nfapi_dl_pdu
2020-09-30 14:52:59 +02:00
Robert Schmidt
71bfadf192
nr_fill_nfapi_dl_pdu(): MCS + other params configurable
2020-09-30 14:52:59 +02:00
Robert Schmidt
fc179f396c
Inline nr_get_tbs_dl()
2020-09-30 14:52:59 +02:00
Robert Schmidt
9b2be0a1f6
nr_fill_nfapi_dl_pdu(): Parameters by value, not pointers
2020-09-30 14:52:59 +02:00
Robert Schmidt
192da32734
Create separate nr_fill_nfapi_dl_pdu()
2020-09-30 14:52:59 +02:00