Commit Graph
49 Commits
Author SHA1 Message Date
Lionel Gauthier 0fc45b0cf1 Move {LITE,MESH} NETWORK DRIVERS FROM openair2/NAS/DRIVER to openair2/NETWORK_DRIVER
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7150 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-14 08:07:52 +00:00
Lionel Gauthier ebc6ff983d Now compile.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7149 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-14 07:44:45 +00:00
Lionel Gauthier 56c9000558 branch LG_PRE_RELEASE_0.3 reintegration
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7117 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-10 13:18:11 +00:00
Lionel Gauthier 059a0a3fdc astyle --recursive --indent=spaces=2 --style=kr --indent-col1-comments --break-blocks --convert-tabs --max-code-length=200
This is done for better merging branch/LG_PRE_RELEASE_0.3 into trunk (same process is applied on this branch)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7073 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:29:12 +00:00
thomasl b87c47d222 revert my last modif, sorry
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6727 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-03-09 14:19:37 +00:00
thomasl fd15c67c87 fix #ifdef fro NAS_NETLINK to RTAI
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6721 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-03-09 12:09:54 +00:00
thomasl 88a2507ea1 fix issues about PEDANTIC checks in kernel makefile
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6209 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 14:27:27 +00:00
thomasl 8ce194450d fixed build modules issues I created, hope it is ok now
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6207 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 14:04:56 +00:00
thomasl 0d37fcf6c9 ireplace = by := when it is constant
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6202 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:07:56 +00:00
thomasl 30e2218350 simplified Makefiles: group all general options of gcc in trunk/common/utils/Makefile.inc
remain issues with -m32 and -std=gnu99 , so I kept it defined locally in eahc makefile



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6198 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 09:50:13 +00:00
thomasl 2b9475288f fix variation for kenrel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6091 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 12:12:07 +00:00
thomasl 556fc40be2 remove -mregparam=3 that seems not secure un i686 as we don't compile all with this option and it makes warnings in 64 bits as this option is not valid in this case
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6090 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 11:14:49 +00:00
thomasl dfc473ca74 iremove 2.6.22 kernel conditional compil
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6085 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:01:16 +00:00
thomasl 4ace223927 istill include modules.h in comment!
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6084 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 09:59:24 +00:00
thomasl 1b2c507d36 fix legacy kernel conditional compil
and the line to include modules.h has become commented (weird!)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6083 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 09:50:23 +00:00
thomasl c7d7e0ae06 Use one single way to know the kernel sorce directory:
include $(OPENAIR_HOME)/common/utils/Makefile.inc

then use the variable $(KERNEL_DIR)

this variable is set in $(OPENAIR_HOME)/common/utils/Makefile.inc as 
export KERNEL_DIR=/lib/modules/$(shell uname -r)/

Not fixed: card bus MIMO 1, third party SW as PMIPv6 and shell scripts



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6081 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 18:11:38 +00:00
thomasl fb9dd1a42d remove legacy conditional compil for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6072 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:10:55 +00:00
thomasl 4532d555f9 remove legacy options for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6071 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:06:30 +00:00
thomasl 2209fe4cef clean old kernel 2.6 conditional options
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6070 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:01:28 +00:00
thomasl f53d4d4275 remove kernel 2.6 conditional compilation and replace other by native linux macros
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6069 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:58:22 +00:00
thomasl b25a551b68 cleanup kernel version tests
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6068 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:45:59 +00:00
thomasl af6a266d62 remove #if for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6067 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:41:04 +00:00
thomasl e576ee4046 alloc_netdev changed in kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6050 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:38:34 +00:00
thomasl bbaa0633e9 alloc_netdev changed in kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6049 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:34:06 +00:00
thomasl 0074535592 alloc_netdev changed for kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6047 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:28:48 +00:00
ghaddab c23783c702 License corrected
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5714 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-08-14 07:26:42 +00:00
Navid Nikaein 65c84039ad * Update license and header files
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5578 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-07-22 13:43:51 +00:00
Navid Nikaein 286c092cfc * add reordering window management to PDCP
* update PDCP security and count calculation



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5307 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-05-06 20:05:07 +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
Lionel Gauthier e90b729e5c Commit for e-MBMS DUY, to be debugged/harmonized with MAC (lcid, rbid)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5119 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-03-04 14:11:45 +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
Lionel Gauthier 91c7c3bc42 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5089 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2014-02-26 14:10:34 +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
Lionel Gauthier fd2bda1954 Log update
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4794 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-20 15:36:27 +00:00
Cedric Roux bb8e616dd4 - Fix pdcp_header for communication NASMESH/PDCP
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4728 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-15 12:35:07 +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 4a4773b3de Moved "nas_ue_task.c" to integrate it into libuenas.a to simplify include dependencies.
Modified nas logging function to use the same than oaisim or lte-softmodem.
Added some object and include paths in nas ue lib makefile.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4653 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-09 15:41:14 +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
winckel 387753e78d Created NAS UE task files.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4617 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-12-05 15:55:12 +00:00
Cedric Roux 5697a9353c - Update for kernel versions > 3.5.0
pre-ci ok

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4505 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-11-24 17:15:58 +00:00
wetterwa b8f8421def Update to support 2 mobiles.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4168 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-09-26 10:05:27 +00:00
Cedric Roux be8623a10f - Fix nasmesh driver for 64 bits architectures
[pre-ci tests passed on 32/64 bits platforms]

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4101 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-08-26 08:55:09 +00:00
Cedric Roux 350c7808d8 - Updating NAS driver (lite) for kernel versions > 3.6.0
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4041 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-19 09:05:26 +00:00
guibene 198427262b fix in Makefile
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4040 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-19 08:36:23 +00:00
Navid Nikaein 8c339ad672 add makefile support for DB stats, fix minor issues for jitter calculation
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4030 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-15 16:21:05 +00:00
Raymond Knopp 9fac807d2c added support for 1.5/10/20 MHz. 1.5MHz primary synch is still broken (128-bit alignment issue with 128-point DFTs). 1/2 UEs connection seems to work ok for 10/20 MHz.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4023 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-14 20:13:30 +00:00
Lionel Gauthier f6e664af4c Modified ETHERNET DRIVER: deleted the classifier, classification is done by marking. Changed netlink reading code in pdcp_fifo.c
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4007 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-03 16:11:31 +00:00
Cedric Roux b62ae47b90 - Fix uninitialized variables in MAC UL scheduler
- Fix invalid write in MAC pre-processor
- Fix variable defaulted to int (instead of double)

Pre-ci passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4005 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-07-01 14:08:53 +00:00
Cedric Roux 56c66c09aa - Fix: avoid infinite loop on mulitcast read thread if no data to read
Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2013-06-25 09:05:02 +00:00