Cedric Roux
922b5b595a
Fix NFAPI integration
...
This commit fixes issues introduced by the previous commit.
Summary of work:
- cleanup:
- fix LOG_XX to be less verbose
- fix cmake_targets/CMakeLists.txt
- fix oaienv
- remove dead code
- bug fixes:
- in openair1/SCHED/fapi_l1.c we had:
eNB->pdcch_vars[subframe&1].num_dci = number_dci;
should be:
eNB->pdcch_vars[subframe&1].num_dci = 0;
This bug let the PHY send more DCIs than what should have been
sent because num_dci is incremented later on in the code.
This fix may be a problem for fapi mode, to be checked.
- add new T VCD traces
- revert openair1/PHY/TOOLS/file_output.c to 'develop' version
- remove thread_id in logRecord/logRecord_mt
- revert (and adapt) configuration files
- be careful when doing frame++, we need to % 1024
- revert target_rx_power in openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
- NFAPI:
- the open-nFAPI code has been included in the repository. See nfapi/README.
Maybe we should "git clone" the Cisco repository instead. We have to be
careful of availability though.
What has been tested:
- monolithic eNB FDD 5/10MHz with one UE, iperf UDP/TCP uplink/downlink
Anything else may fail to work, especially the FAPI mode, which has not
been tested at all.
2018-01-15 15:24:50 +01:00
Cedric Roux
7757b9e7e7
import NFAPI work from David Price from Cisco (non-working commit, do not use it)
...
It has been chosen to not include the full history of commits
from David. He included a binary version of wireshark, probably
a modified one that understands NFAPI. Wireshark is released under
the GPL license, we cannot include it in the repository. We could
have done a next commit to remove this binary. But then it would
still be present in the history of commits, which may not be allowed.
And it would take space on disk. We could edit the history to remove
wireshark entirely. But this operation is too complicated.
There was also a pcap capture file, which has nothing to do in
the history of commits and would take space on disk. There again,
it's too difficult to edit the history to remove it.
There was a file .gitignore that was also removed.
The original history can be found on David's repository:
https://gitlab.eurecom.fr/daveprice/openairinterface5g/
The branch is: nfapi-ru-rau-split.
A copy of that branch has been included in the internal OAI
repository, for those who have access to it.
The branch is the same. The last commit ID is
9106438239e0bc626ff1fa1d97d911caadd0fbb9.
You can compare the current commit with the commit 9106...
to see what differs.
The current commit has to be considered non-working.
The commit following the current commit will fix problems with
the work in the current commit.
If you use git bisect, don't spend time analyzing the current
commit.
2018-01-15 11:32:30 +01: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
Raymond Knopp
8846260bdf
Added prach background noise detection and threshold dependent on noise measurement.
2017-10-22 21:58:31 +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
e6936f1b7c
update T tracer
...
not finished, UE may not work, many things bad/to fix properly
2017-09-27 17:59:08 +02:00
Raymond Knopp
bc9c587b48
Merge remote-tracking branch 'origin/develop' into RU-RAU-split
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/defs.h
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/defs.h
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/defs.h
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/pusch_pc.c
openair2/ENB_APP/enb_config.c
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/ue_procedures.c
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.h
targets/RT/USER/lte-ue.c
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/oaisim_functions.c
2017-09-26 21:43:03 -07:00
Raymond Knopp
7ea7891b67
more warning removal
2017-09-21 15:53:54 -07:00
Raymond Knopp
0fccd99446
patch for open-nfapi
2017-09-19 04:59:15 -07:00
Raymond Knopp
362f584d66
integration of remaining nFAPI messages
2017-09-14 07:15:49 -07:00
Cedric Roux
a945f85d6f
Merge remote-tracking branch 'internal/T-new-traces' into develop_integration_w34
2017-08-29 10:25:41 +02:00
Cedric Roux
a35865b749
Merge remote-tracking branch 'internal/mobipass-standalone' into develop_integration_w34
2017-08-29 10:25:26 +02:00
Cedric Roux
0daf79bfc8
T: add some new traces
...
- ENB_PHY_OUTPUT_SIGNAL to trace output signal
- ENB_MAC_SCHEDULING_REQUEST to trace scheduling requests
2017-08-29 10:23:06 +02:00
Florian Kaltenberger
30e11cbf53
adding one more dummy ofdm symbol to the TX part of the special subframe to improve EVM
2017-08-23 14:46:54 +02:00
Cedric Roux
c866677a8f
mobipass standalone driver
...
How to use:
1 - compilation of softmodem:
./build_oai --eNB -t ETHERNET
2 - compilation of mobipass driver:
cd cmake_targets/lte_build_oai/build
make oai_mobipass
ln -sf liboai_mobipass.so liboai_transpro.so
3 - configuration:
edit the configuration file, set "node_timing" to
"synch_to_mobipass_standalone"
that is, have the line:
node_timing = "synch_to_mobipass_standalone";
4 - run:
run as usual: sudo ./lte-softmodem -C <configuration file>
2017-08-23 10:22:08 +02:00
Raymond.Knopp
ec6236f8c7
tests with monolithic eNB. runs fluidly. No UE stimulus yet
2017-08-11 01:44:22 +02:00
Raymond Knopp
a9eb51f177
prach.rxsigF allocation
2017-08-10 12:12:39 -07:00
Raymond Knopp
ad98f5aa9e
L1/L2 scheduling extensions for BL/CE operation, BR random-access procedure, BR PRACH detection. Still untested, but compilation succeeds. Missing elements in L2 - PUSCH programming for Msg3, Msg4 retransmission programming for BL/CE. DLSCH/ULSCH programming for UE-specific DLSCH/ULSCH for BL/CE
2017-08-07 23:25:17 -07:00
Raymond.Knopp
8ee3f3b353
initial tests with USRP as monolithic eNB, "connectionless" execution is fine.
2017-07-25 22:15:52 +02:00
Raymond Knopp
d56525c807
NFAPI UL indications added and full UE connection tested.
2017-07-19 03:07:40 -07:00
Raymond Knopp
8da1c4b5bb
Note: this commit is work in progress. Contains initial integration of NFAPI data structures which are tested for TX path. RX path to follow.
2017-07-06 08:18:32 -07:00
Florian Kaltenberger
9ddaf93eab
re-adding the possibility in dlsim to bypass the DCI/PDCCH generation. This is necessary for accuracy of the dlsim-tests, which are working again now.
2017-06-06 10:39:03 +02:00
Raymond Knopp
d23697aef3
Merge branch 'develop' into RU-RAU-split
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.h
openair1/PHY/LTE_TRANSPORT/pcfich.c
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/rar_tools.c
openair1/PHY/LTE_TRANSPORT/srs_modulation.c
openair1/PHY/defs.h
openair1/PHY/impl_defs_lte.h
openair1/PHY/impl_defs_top.h
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_ue.c
openair2/COMMON/mac_rrc_primitives.h
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.h
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_mch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/main.c
openair2/LAYER2/MAC/proto.h
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.h
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_common.c
openair2/RRC/LITE/rrc_eNB.c
targets/ARCH/COMMON/common_lib.c
targets/ARCH/COMMON/common_lib.h
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_raw.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.h
targets/ARCH/ETHERNET/USERSPACE/LIB/if_defs.h
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.25PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.oaisim.conf
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-ue.c
targets/RT/USER/rt_wrapper.h
targets/SIMU/USER/channel_sim.c
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim_functions.c
2017-06-05 15:33:38 -07:00
Raymond Knopp
413df163d8
first working version with oaisim. This is prior to MAC interface reworking
2017-06-04 02:44:26 -07:00
Cedric Roux
9d65f4dd09
warnings removal in LOG_X
...
those popped up thanks to previous commit
2017-05-18 14:16:24 +02:00
Raymond Knopp
63a18b8193
first time UE connection established
2017-04-25 11:50:15 -07:00
Raymond Knopp
b42aed9ed9
initial testing version of L1L-L1H split (RRU-RAU)
2017-04-17 10:40:23 -07:00
Cedric Roux
238b22e5b5
fixes for IF5
...
This work was done by Bruno Mongazon.
2017-03-23 09:23:07 +01:00
Florian Kaltenberger
b4f8219170
calibrations for 5/10/20 MHz LimeSDR
2017-03-15 16:04:42 +01:00
Florian Kaltenberger
340d05eebf
Merge branch 'calib-LimeSDR' of https://gitlab.eurecom.fr/oai/openairinterface5g into calib-LimeSDR
...
Conflicts:
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
2017-03-10 15:26:46 +01:00
Cedric Roux
339353a96c
integration fix: have a central place of definition for clock_difftime_ns
...
Prior to this commit, the following command failed to build dlsim:
./build_oai --phy_simulators -c
Choice has been made to define it in a .h file as a static inline
function.
2017-02-20 10:53:35 +01:00
Cedric Roux
e62f569b5d
Merge remote-tracking branch 'origin/various-l2-fixes-187' into develop_integration_w07
2017-02-17 18:23:00 +01:00
Cedric Roux
603c84c700
fix warnings: fix LOG_X problems when compiling lte-softmodem
...
The compilation line was:
./build_oai --eNB -w USRP
The file openairinterface5g/cmake_targets/log/lte-softmodem.Rel10.txt
has been checked and all LOG_X (and 'msg') warnings have been fixed.
2017-02-17 18:07:06 +01:00
Chia-Yu Chang
1b417979e9
Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into various-l2-fixes-187
...
Conflicts:
openair1/PHY/LTE_TRANSPORT/if4_tools.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/if_defs.h
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.25PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.usrpb210.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.oaisim.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.50PRB.oaisim.conf
2017-02-17 12:01:26 +01:00
pyroclaste
3dd1faadd4
Add the compression for IF5 and RTT measurements for FH and RF
2017-02-17 11:38:44 +01:00
Raymond Knopp
71af8ce824
Merge remote-tracking branch 'origin/develop' into enhancement-10-harmony-RU2
...
Conflicts:
openair1/PHY/defs.h
openair1/PHY/impl_defs_lte.h
openair1/PHY/vars.h
targets/RT/USER/lte-enb.c
2017-02-16 05:24:28 -08:00
Florian Kaltenberger
7c4630057f
fixing a wrongly placed } for correct exmimo initialization
2017-02-15 14:28:07 +01:00
Raymond Knopp
bb5ee76ad8
changes in oaisim to support RRU + fronthaul. minor bugs corrected in UE.
2017-02-05 14:31:00 -08:00
Raymond Knopp
90cb9d6cb8
adding RRU/Fronthaul functionality to oaisim
2017-02-01 23:17:54 -08:00
Florian Kaltenberger
e84a00174b
choosing the right version of the unresolved merge conflict in beamforming.c
...
changed the memory allocation of txdataF and beam_weigths
2017-01-21 16:20:10 +01:00
Cedric Roux
74d07a70f6
Merge branch 'enhancement-192-beamforming' into develop_integration_w03
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/MODULATION/beamforming.c
openair1/PHY/defs.h
targets/RT/USER/lte-enb.c
2017-01-20 16:58:29 +01:00
Cedric Roux
e6f3c9b899
Merge branch 'enhancement-10-harmony' into develop_integration_w03
...
Conflicts:
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.c
2017-01-20 16:49:39 +01:00
Florian Kaltenberger
e0c7479122
and one more fix
2017-01-19 09:32:29 +01:00
Florian Kaltenberger
0695828e4c
some fixes
2017-01-18 16:43:02 +01:00
Florian Kaltenberger
b0b5cb21e5
Beamforming is now only done when necessary. This patch is based on one from enhancement-10-harmony.
2017-01-18 15:31:04 +01:00
Tien-Thinh Nguyen
dce5191542
update to make harmony work with Mobipass[Ercom]
2017-01-18 13:53:05 +01:00
Tien-Thinh Nguyen
73920f3f6e
[minor modification] fixed the issue related to TX with FDD
2017-01-16 16:08:40 +01:00
Raymond Knopp
8be18c360b
debugging for RRU if4p5 TDD
2017-01-15 08:58:26 +01:00
Raymond Knopp
2da964bb2d
changes for RRU TDD if4p5
2017-01-15 01:07:30 +01:00