Cedric Roux
faae3c8cd5
T: cleanup
...
Do not link the X stuff for tracers not needing it.
2017-10-27 16:14:39 +02:00
Cedric Roux
7e7fd3c4d5
T tracer: add a tracer to dump to VCD file
...
Later on, use this file with gtkwave.
To be used to check realtime behaviour of the system.
2017-10-27 16:14:39 +02:00
Cedric Roux
2beac6fed7
T: minor update of .gitignore
2017-10-27 16:14:39 +02:00
Cedric Roux
8dd3a2bdc4
T: add extract_output_subframe
...
This tracer extracts output subframes generated by the eNodeB,
so they can be analyzed with some external tools.
2017-10-27 16:14:39 +02:00
Cedric Roux
d413de0ad7
Merge remote-tracking branch 'origin/RU-RAU-split' into develop
2017-10-23 15:29:43 +02:00
Cedric Roux
61234aae05
update README for version 0.6.1.
2017-10-23 15:15:56 +02:00
Cedric Roux
1fa317733c
Merge remote-tracking branch 'origin/update-license' into develop
2017-10-23 15:02:06 +02:00
Cedric Roux
b4a48e199e
Merge remote-tracking branch 'origin/update-license' into RU-RAU-split
...
Conflicts:
openair1/PHY/CODING/rate_matching.c
openair1/PHY/LTE_REFSIG/primary_synch.h
openair2/LAYER2/layer2_top.c
openair2/RRC/LITE/rrc_config.c
2017-10-23 15:00:30 +02:00
Cedric Roux
1b1f941e3c
upgrade license to version 1.1
2017-10-23 12:22:13 +02:00
Cedric Roux
5502026ae1
adjust prach detection level
...
just a quick fix before merge, the real solution
is to disable pusch scheduling in the prach, to be
done later
2017-10-23 10:31:12 +02:00
Raymond Knopp
8846260bdf
Added prach background noise detection and threshold dependent on noise measurement.
2017-10-22 21:58:31 +02:00
Raymond Knopp
26d4ad2bb6
don't call fronthaul write on RX in TDD.
2017-10-22 17:28:50 +02:00
Raymond Knopp
761a77fad0
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-20 16:49:10 +02:00
Raymond Knopp
5fefa11234
TDD for RRU IF4p5, modifications and testing.
2017-10-20 15:02:25 +02:00
Cedric Roux
6087ede004
fix asn1_msg.c
...
- compile with warning enabled (changes in CMakeLists.txt)
- remove warnings that were present
2017-10-20 14:53:35 +02:00
Cedric Roux
5afc71f382
bugfix: fix featureGroup
...
- allocate memory, memory on stack does not survive the function
- avoid uint32_t, use a char buffer, for endianness neutrality
2017-10-20 14:49:45 +02:00
Raymond Knopp
c090015741
MTU tuning for IF4p5 fronthaul
2017-10-20 14:21:39 +02:00
Cedric Roux
e3d39a0192
bugfix/compilation warning removal (not sure if correct)
...
basically the T_xx variables are int, not uint
2017-10-20 12:10:19 +02:00
Cedric Roux
bf926e3546
bugfix/warning removal
...
The warning was:
/roux/ru/openairinterface5g/openair1/PHY/LTE_TRANSPORT/pucch.c: In function 'generate_pucch2x':
/roux/ru/openairinterface5g/openair1/PHY/LTE_TRANSPORT/pucch.c:729:73: warning: array subscript is above array bounds [-Warray-bounds]
AssertFatal(1==0,"Illegal modulation symbol %d for PUCCH %s\n",B2,pucch_format_string[fmt]);
^
/roux/ru/openairinterface5g/common/utils/./itti/assertions.h:52:53: note: in definition of macro '_Assert_'
__FUNCTION__, __FILE__, __LINE__, ##aRGS); \
^~~~
/roux/ru/openairinterface5g/openair1/PHY/LTE_TRANSPORT/pucch.c:729:7: note: in expansion of macro 'AssertFatal'
AssertFatal(1==0,"Illegal modulation symbol %d for PUCCH %s\n",B2,pucch_format_string[fmt]);
^
The root cause was that the array pucch_format_string was not in sync with
the structure. (This plus why force its size and put \0 in the string...)
2017-10-19 17:23:15 +02:00
Cedric Roux
f1e8bff3ec
remove gcc warnings
...
phy_init_lte_ue_signal was renamed init_lte_ue_signal in openair1/PHY/INIT/defs.h
maybe it's the opposite that should have been done?
Functions used in one file and defined in another may have been
declared in the wrong header file.
2017-10-19 17:00:30 +02:00
Raymond Knopp
cc47fbed90
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-19 12:27:13 +02:00
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