Commit Graph
129 Commits
Author SHA1 Message Date
Navid Nikaein 1fe8ef6c13 * add oaisim walkthrough document in targets/DOCS
* update the targets/README.txt
* fix the pdcp timing stats for eNB in oaisim


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5223 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-28 20:10:37 +00:00
Lionel Gauthier e7921f03a3 Changed default DRB id from 3 to 1
With folowwing implicit rule
drb id = x => correspondind lc id = x+2, eps bearer id = x+4

Changed RLC inner structs, no more statically allocated array, now it is dynamic via malloc and collection of RLC entities are stored in a hashtable.
Changed misc simple types
Started compiling with all warning setted and treated as errors, still working on RLC and around...
Add const qualifier wherever suitable (for example param frame, module id, const pointers, etc)

Thinking about a type of context parameter in procedure calls in L2 data plane (modules id, frame, srb flag, enb flag, etc)...


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5222 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-27 17:07:39 +00:00
Navid Nikaein e133076de8 *fix few issues related to the OTG (rb_id and start time)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5220 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-27 15:56:39 +00:00
Navid Nikaein 5f74a7e29d * swap the oai performance profiler eNB stats between tx and rx
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5219 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-27 15:04:54 +00:00
Navid Nikaein 42f97a9e3f * fix the compilation errors when PRINT_STATS flag is set
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5175 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-16 21:54:41 +00:00
Navid Nikaein 388ad20553 *update dlsim to capture overall timing
*add performance measurment test cases
*update the start_one_eNB_multi_UE_nas script



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5151 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-12 16:33:33 +00:00
nguyennd 30b4c55310 LGAUTHIER, Duy, OK for e-MBMS, may be one remaining problem with stats
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5121 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-05 14:50:38 +00:00
Lionel Gauthier bb94952707 For 802.21 explicit compilation flag USE_3GPP_ADDR_AS_LINK_ADDR
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5107 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-03 16:18:26 +00:00
Lionel Gauthier da74451120 eNB and MBMS flags are now boolean
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5097 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-28 14:32:23 +00:00
Lionel Gauthier c60dc45b2b Changed uX, uX_t sX, sX_t to uinX_t
Cleaned some PDCP/driver code

types parameters and vars

Please see openair2/COMMON/platform_types.h for simple coding rules.

please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented.



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-28 13:03:10 +00:00
Navid Nikaein 98a9469f59 * add oaisim performance profiler OPP (enabled with option q )
* fix the bug for IP connectivity when more than 1 UE is connected (test with iperf: ok)
* set target ul/dl mcs in the eNB scheduler to hardwire the desired MCS (option t for UL and m for DL)
* add the code related to abstraction from http://svn.eurecom.fr/openairsvn/openair4G/tags/asilomar2013
* cleanup the code
* pre-ci passed for all except for eMBMS



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5093 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-27 12:27:58 +00:00
Lionel Gauthier 70920ffd27 abstraction mode is OK
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5092 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-26 16:23:44 +00:00
Lionel Gauthier 6f5219a600 Did not compiled for itti, stil problem with MBMS, see tomorrow
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5087 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-25 17:53:10 +00:00
Lionel Gauthier 899c178d08 Now virtualization should be OK.
TO DO :test RF and ethernet emulation.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5086 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-25 15:31:28 +00:00
Navid Nikaein 9a575c71ec * fix the bugs for the IP connectivity when more than one UE is activated
* add the phy abstraction for eMBMS, and the MCH transport info for distributed simulation
* add supports in PDCP to detect the multicast/broadcast packets
* update the readme files, and the script start_one_eNB_multi_UE_nas



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5079 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-17 17:45:18 +00:00
winckel f052b187d0 Add another NAS UE nvram file.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5054 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-07 15:16:07 +00:00
winckel e76b05682f Fixed log init issue.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5040 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-06 07:43:11 +00:00
winckel 7a811a72dc Sample NAS configuration files.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5034 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-05 14:39:16 +00:00
winckel 4aa7fbf16a Added some TDD configuration parameters in eNB config file.
Propagated eutra band into SIB 1.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5028 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-04 17:46:33 +00:00
winckel d8773fda4e Changed eNB configuration file reading position to update earlier physical parameters.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5025 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-04 15:57:39 +00:00
winckel 7d154e4c25 Changed L2L1 task start and termination control.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5011 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-02-03 14:28:54 +00:00
winckel 6e051abb93 Reorganized oasim option handling.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4965 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-27 17:31:59 +00:00
winckel f442a7c5f2 Modified -O option used for eNB configuration.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4961 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-27 15:53:59 +00:00
winckel 1acf4a6d0e Added "-lconfig" to link list.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4960 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-27 15:50:04 +00:00
Lionel Gauthier 6be97a95bf Added configuration File, example in targets/PROJECTS/GENERIC-LTE-EPC
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4950 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-27 11:40:06 +00:00
Lionel Gauthier 58b62709f3 Commit for updates to RAL (802.21, MIH)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4867 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-14 09:54:15 +00:00
Lionel Gauthier 674963da5a Added RLC FLAG
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4846 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-01-10 14:29:48 +00:00
Lionel Gauthier e036559292 sleep to let link_detected then user register then link_up occur
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4791 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 15:34:16 +00:00
Lionel Gauthier bb52a99c43 Update for oai_nw_drv
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4790 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 15:32:27 +00:00
winckel 5a6de28863 Added result check for calls to itti_free.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4782 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 10:41:27 +00:00
winckel 93cb343bae Modified oaisim -V option to get VCD log file name from command line.
Updated oaisim help.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4771 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-19 08:51:01 +00:00
Cedric Roux 91dfec6227 - Fix some more compiler warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4731 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 22:29:35 +00:00
winckel 058956bd1d Corrected eNB loop.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4704 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-13 10:25:25 +00:00
winckel 8f897e06b6 Added on UE side NAS controlled L2L1 start.
Saved parameters of NAS_CELL_SELECTION_REQ.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4691 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 12:54:01 +00:00
Cedric Roux ad1e986d26 - Valgrind script to track memories leackages
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4688 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-12 10:57:20 +00:00
Cedric Roux f91b16712c - Fixed missing compiler directives
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4679 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 21:00:17 +00:00
Cedric Roux 42f0ff23ea - Fix undefined reference when RAL disabled
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4662 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 10:15:01 +00:00
Cedric Roux c26a130033 - Mapped malloc/free for ITTI to itti_malloc/itti_free functions for future use within real-time softmodem
- Fixed softmodem build issues with RAL
- Merged ITTI into agilent softmodem for eNB

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4661 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-11 10:08:23 +00:00
Lionel Gauthier a632b032c6 Add 802.21 in oaisim exe, work in progress.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4658 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-10 15:58:00 +00:00
winckel 568128e190 Fixed some build issue with USE_MME enabled.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4657 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-10 15:18:43 +00:00
winckel 490d0f0fbf Modified makefiles to integrate UE NAS lib.
Corrected some NAS file to compile without C99 mode option.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4633 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 17:52:26 +00:00
winckel 5521ba109e Reorganized RTAI and SIMU makefiles to factorize some common code.
Added some NAS primitive handling on UE side.

pre-ci Ok.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4625 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 12:35:41 +00:00
Florian Kaltenberger 4711d8da74 repaired oaisim so that it compiles again with options XFORMS=1 and PRINT_STATS=1
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4624 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-06 10:34:17 +00:00
winckel 4150c634cf Fixed a task exit issue when receiving TERMINATE_MESSAGE before INITIALIZE_MESSAGE in L2L1 task.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4606 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 12:33:44 +00:00
winckel c5a3b8a954 Modified timer log to use oaisim / lte-softmodem logging rather than fprintf when available.
Moved itti initialization in oaisim to have log initialized just before.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4594 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 16:33:36 +00:00
winckel 678668dabd Modified create_tasks to be usable in RTAI builds.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4591 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 15:23:18 +00:00
winckel 20adaf6609 Grouped all ITTI tasks creation in the same place.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4585 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 13:13:50 +00:00
winckel 68909776a8 Removed eNB_app from oaisim.c.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4580 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 09:56:27 +00:00
winckel 0ef04198b5 Added a mechanism to wait for eNB MME link to be establish for all eNB before starting L2L1 task.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4577 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-04 08:32:21 +00:00
Cedric Roux 6102fa4b60 - Fix some performances issues for softmodem
- Remove eventfd if task has only polling mode
- Created dummy thread to convert eventfd from RT thread to non RT threads
- Added eNB app to softmodem
- Set poll mode for itti dumper thread in softmodem
- Disable timers for softmodem

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4545 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-28 15:51:49 +00:00