Raymond Knopp
b09a281b09
modifications for TDD and IF4p5 (in particular TDD). Both in RRU and RAU components. Monolithic is unchanged.
2017-10-19 12:25:51 +02:00
Cedric Roux
311f439a6a
T tracer: add uplink TBS (retransmissions not handled)
2017-10-19 12:05:16 +02:00
Cedric Roux
0ed42440ab
bugfix: set max MCS to 10 when UL scheduling a UE with no known uplink data
2017-10-19 10:54:04 +02:00
Cedric Roux
c78351c20e
bugfix: clear memory
...
Old values valid for a previous UE have to be reset for the new UE.
2017-10-19 10:24:50 +02:00
Cedric Roux
1a04ba5bfc
bugfix: do not modify dlsch structure at all in case of PDCCH order for RAPROC
...
introduce a new function to deal with this special case
2017-10-18 17:40:10 +02:00
Cedric Roux
f96491577f
bugfix: don't check /usr/include/uhd when compiling with -w USRP
...
Compilation will fail if UHD is not installed, there is no need
to check. Plus the test is wrong when you install UHD somewhere
else.
2017-10-18 16:28:40 +02:00
Cedric Roux
2516216d14
T tracer: improve a bit enb tracer
...
- UE_id 0 is for rnti 65535 (sib)
- UE_id 1 is for rnti 65534 (this is a hack)
- UE_id 2 is for rnti 2 (RA RNTI as of today's code/config)
- we start enb by displaying UE_id 3
- there was a bug: we need to lock when resetting UE ids (reset_ue_ids)
2017-10-18 12:06:16 +02:00
Raymond Knopp
73723a56aa
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-18 11:38:46 +02:00
Raymond Knopp
49f86b0aa9
added LUT for finer-grain ULSCH power measurement compensation based on TBS. Still seems too high, to be checked some more.
2017-10-18 11:37:26 +02:00
Cedric Roux
6d3fb2dca0
add some documentation for 3276 USB LTE dongle usage
2017-10-18 10:38:14 +02:00
Cedric Roux
0289b51969
set pucch_nRB_CQI to 0 in configuration files
...
see commit 622b919b37
2017-10-18 10:26:43 +02:00
Cedric Roux
256c5ab060
improve crnti reception (still not correct, we need to reconfigure the UE)
...
TODO: if the UE did random access (followed by a MAC uplink with
CRNTI) because none of its scheduling request was granted, then
according to 36.321 5.4.4 the UE's MAC will notify RRC to release
PUCCH/SRS. According to 36.331 5.3.13 the UE will then apply
default configuration for CQI reporting and scheduling requests,
which basically means that the CQI requests won't work anymore and
that the UE won't do any scheduling request anymore as long as the
eNB doesn't reconfigure the UE.
We have to take care of this. As the code is, nothing is done and
the UE state in the eNB is wrong.
2017-10-18 09:56:29 +02:00
Cedric Roux
599ba826a8
add some debug tracing
2017-10-17 16:50:40 +02:00
Cedric Roux
f1f31a7861
minor: cleanup spacing
2017-10-17 16:19:45 +02:00
Cedric Roux
783667552e
T: add -rb option to enb tracer
2017-10-17 13:16:44 +02:00
Cedric Roux
ac54521aed
do not put random bits in DCI, put 0 instead (to avoid false DCI detections)
2017-10-17 12:31:35 +02:00
Cedric Roux
ba11d72b63
minor: add some documentation for bandrich dongle and NetworkManager
2017-10-17 12:26:43 +02:00
Raymond Knopp
ccfe5a0472
removed "short_offset" code from normal_prefix_mod. removed static declaration in PHY_ofdm_mod which was a cause for problems when parallelizing FFTs for FEP TX.
2017-10-17 09:41:27 +02:00
Cedric Roux
3d14d5716a
trying to get better power management
...
- change target values
- change upper/lower limit to trigger a tpc
- don't use ul_cqi from SR
The value of ul_cqi is not convincing, for both PUSCH and PUCCH,
more work/analysis is required.
2017-10-16 17:23:41 +02:00
Raymond Knopp
5c60764408
testing FEP parrelization, default set back to single-thread. Reduced logging in MAC
2017-10-15 18:38:24 +02:00
Raymond Knopp
8420dce1aa
addition of worker thread for fep TX procedures in RU
2017-10-15 01:47:14 -07:00
Raymond Knopp
667b9f1a88
time profiling for RU and activation of feprx worker thread in RU if get_nprocs()>2
2017-10-15 08:31:10 +02:00
Raymond Knopp
75040edfdb
put pucch metric into uci->stat before calling harq_indication. Fixes an issue with PUCCH1 SNR measurements coming from HARQ.
2017-10-14 22:24:37 +02:00
Raymond Knopp
424c1b502a
added deactivation of ULSCH harq process after 3rd retransmission. Avoids problem of accumulating failed RA processes.
2017-10-14 21:14:05 +02:00
Raymond Knopp
549a0b61b4
Adjustment for received power calculation in eNB pusch procedures. Added factor to account for mcs (mimic the power control adjustment in UE).
...
activated periodic trace for PHR/PUSCH SNR/PUCCH SNR in MAC.
2017-10-14 11:17:27 +02:00
Raymond Knopp
1f9ab059f9
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-13 18:06:25 +02:00
Cedric Roux
747372685a
bugfix: clear memory
2017-10-13 13:22:15 +02:00
Cedric Roux
00f45ec9f5
bugfix: modulo from frame
2017-10-13 12:19:12 +02:00
Cedric Roux
cf208d4192
bugfix: frame is bigger than 8 bits
2017-10-13 12:11:08 +02:00
Cedric Roux
dd44c82760
bugfix: fix assert
2017-10-13 11:52:34 +02:00
Raymond Knopp
1d8bec80a0
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-12 17:03:12 +02:00
Raymond Knopp
737c3e8ae1
traces for debugging
2017-10-12 17:02:13 +02:00
Cedric Roux
493110af7a
bugfix: fix schedule_SRS (not sure this is the correct solution)
2017-10-12 16:33:52 +02:00
Cedric Roux
beaeea740d
bugfix: careful when setting harq_mask (didn't work for dci 1a sent to UE to do uplink)
2017-10-12 16:28:37 +02:00
Cedric Roux
f80f1f617d
bugfixes
...
- better ulsch harq management in phy (maybe not over)
- don't do schedule_CSI if UE not in RRC_CONNECTED (not sure if correct)
- don't call find_ulsch in fill_dci0
- some spaces cleaned
- log improved
2017-10-12 14:39:55 +02:00
Cedric Roux
84bd5bd665
put nfapi public include file in the project
2017-10-12 14:34:10 +02:00
Cedric Roux
a85a341cae
debug: add an abort() when receiving crnti Control Element
...
this is not handled correctly as of now, let's crash
2017-10-12 11:44:32 +02:00
Cedric Roux
d6fdbb4da5
bugfix: check UE presence
2017-10-12 11:42:21 +02:00
Cedric Roux
748a0790c9
T: hack for enb tracer
2017-10-12 11:00:33 +02:00
Cedric Roux
df3ebacd88
add an assert
2017-10-12 10:01:38 +02:00
Cedric Roux
6abbf040be
bugfix: test existence before adding a new one
2017-10-11 17:45:53 +02:00
Cedric Roux
c407cdba2d
bugfix: use rnti 0 to mean "unused" instead of -1
...
-1 does not work
2017-10-11 16:44:27 +02:00
Cedric Roux
b49fd36c15
bugfix: fix calls to CCE_allocation_infeasible (bad format_flag)
2017-10-11 12:18:31 +02:00
Cedric Roux
ac6f09eb2f
fix find_dlsch and find_ulsch
2017-10-11 12:08:28 +02:00
Cedric Roux
1f487d6757
fix coment
2017-10-11 12:01:22 +02:00
Cedric Roux
6d7a1a1623
minor: improve T tracer logs
2017-10-11 11:40:42 +02:00
Cedric Roux
6e269b363b
bugfix: fix tpc on pusch (maybe not the end of the story)
2017-10-10 17:55:50 +02:00
Cedric Roux
854d2dfbda
bugfix: forgot this for timing advance
2017-10-10 17:53:32 +02:00
Cedric Roux
0404f5f3ba
minor: add more tracing
2017-10-10 17:52:11 +02:00
Cedric Roux
9b428e5e2f
bugfix: fix timing advance
...
- re-use ta_timer
- when ta_timer is running:
- no TA sent to UE
- no TA from UE (for UE to have time to apply previous TA command)
- decrease ta_timer every TTI
- be careful to use correct value of ta_update (31 means no TA)
Maybe not correct, to be checked.
2017-10-10 14:10:32 +02:00