Commit Graph
171 Commits
Author SHA1 Message Date
Cedric Roux a31432e37e some cleanup 2015-12-04 09:15:08 +01:00
Cedric Roux f14a401f27 Manage free downlink HARQ processes with a circular list.
The oldest PID (the PID that was used the longest
TTI ago) is at the head and is the next one that
will be used.

No test is done to check that when a process is
allocated it is at least N TTIs old, but some quick
thinking strongly leads to the 'conclusion' that N
won't be smaller than 8, which seems to be what
cat3 UEs require to function properly in the downlink
direction (from the eNodeB to the UE).
2015-11-23 11:57:03 +01:00
Cedric Roux 68249569ef Give a better name to this array. 2015-11-10 10:34:16 +01:00
Cedric Roux f2b3597b55 This is a very basic fix, more work is needed.
The problem seems that we reuse HARQ processes too early.
For example, at subframe 0 we allocate PID 0. At subframe 4
we receive an ACK. At subframe 5 we may well reallocate this
PID. It seems category 3 UEs don't like that. They expect
some delay. How much? I don't know. 8 maybe, as for UL.

This commit forces allocation of HARQ PID:
  0 on subframe 1,
  1 on subframe 2,
  2 on subframe 3,
  3 on subframe 4,
  4 on subframe 6,
  5 on subframe 7,
  6 on subframe 8,
  7 on subframe 9.

We don't use subframes 0 and 5 (for initial transmission at
least). (Current develop branch doesn't either I think.)

This is not a good solution, just a quick and dirty one. With this
commit I can achieve 12Mbps with iperf UDP on a 5MHz band 7 carrier
with a cat3 UE. And more than 11Mbps with iperf TCP. And a bad
radio link.

We may want to implement some sort of free-list and take the
oldest PID in there, if it is older than let's say 8 subframes
(that is: the last transmission with this pid was done more
than 8 subframes ealier). We may well have no free PID if a
lot of retransmissions are done.
2015-11-10 10:19:07 +01:00
gauthier c7518ecf42 SVN to GIT migration (removed EPC software, updated mailing list address in all files)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7885 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-10-06 16:24:54 +00:00
roux a6ab1cb002 fix an arithmetic overflow
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7872 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-10-02 11:23:49 +00:00
kaltenbe 357476a08d fix missing variable
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7869 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-10-01 15:10:39 +00:00
guptar 4fc66a3879 updated cmake with extra phy layer build defines for extra debugging
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7831 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-09-21 17:35:11 +00:00
guptar 248ddcbd6e Fixed issues in openair1/NAS Mesh driver in doxygen
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7826 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-09-19 18:13:42 +00:00
kaltenbe a7cfd78a1a taking out exit on PUCCH-NACK
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7803 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-09-07 12:55:09 +00:00
knopp 1ad336faa8 commiting a patch on behalf of Raymond that fixes the some timing issues in the HARQ process
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7800 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-09-04 10:28:52 +00:00
roux 807afd80fa minor fixes
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7779 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-08-19 09:38:22 +00:00
gauthier c2cb567852 make build test work after the removal of RAL, MIH (802.21), minor coding guidelines corrections in RLCs
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7753 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-28 15:32:57 +00:00
knopp 8148c7ea04 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7745 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-07-26 18:59:03 +00:00
knopp c47b712b93 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7744 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-07-26 18:57:22 +00:00
knopp 2a9dc8c2da added format 1C support for UE. Corrected compilation error for EXMIMO2 targets
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7743 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-26 18:42:19 +00:00
knopp 9d037fdda8 removed silly debug trace in phy_procedures_lte_eNb.c
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7719 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-21 18:05:56 +00:00
knopp a118499139 fixed some SIB display messages in rrc_UE.c. Scheduling policy and priorities in lte-ue.c for SCHED_FIFO operation (with USRP B210).
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7714 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-21 08:21:32 +00:00
knopp e09d843d14 Added bugfixes for PDCCH (not all). New --ue-dump--frame and --loop-memory option for lte-softmodem. Updates in PMCH/MCH transmission which were forgotten in recent DLSCH/PDSCH changes. mbmssim works again.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7702 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-13 15:43:48 +00:00
knopp e9d75feaa2 fixed a compilation issue in pbchsim.c. Protected configuring ue_dlsch reception upon false DCI detection. changed visualization of channel estimates in UE signal scope
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7679 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-07-02 09:21:06 +00:00
roux e882526b40 minor fix, there was:
*subframe = (current_subframe+8) % 10;
in get_Msg3_alloc_ret.
Now there is:
  *subframe = (current_subframe+8);
because, well, because.
(Hey it's time for lunch!)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7649 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-24 11:02:36 +00:00
knopp 738aadeb75 UE PUCCH power control now accumulates TPC when receiveived (in dci_tools and not in pucch_pc)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7619 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-23 07:11:57 +00:00
knopp 2fa1ed783c UE component for PUCCH power control
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7615 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-20 20:28:49 +00:00
knopp 9bb953f96e FK/RK, added power control for PUCCH
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7612 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-20 18:46:07 +00:00
knopp 651a925249 bugfix in UE timing advance update interpreation + comments
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7608 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-19 15:17:07 +00:00
kaltenbe 7c0b6fcf3d bugfix: TDD was generating DL signal in UL portion of special subframe
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7602 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-19 15:02:40 +00:00
kaltenbe 7b999b7428 bugfix for RAR UL grant (frame%1024)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7601 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-19 15:01:52 +00:00
Raymond Knopp 51ce70c826 initial timing advance bandwidth scaling
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7595 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-18 14:41:38 +00:00
Raymond Knopp 65f8298ae7 modifications in UE system information handling to allow for decoding of all SIBs. For USRP targets, timing advance and TX power control.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7563 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-16 05:13:58 +00:00
Raymond Knopp f10e3f7769 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7554 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-06-10 18:17:22 +00:00
Raymond Knopp 0160079413 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7552 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-06-10 18:15:15 +00:00
Raymond Knopp bb34f0786b git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7550 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-06-10 18:11:06 +00:00
Raymond Knopp d82da27f28 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7548 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-06-10 18:08:29 +00:00
Raymond Knopp e4e974be2a git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7546 818b1a75-f10b-46b9-bf7c-635c3b92a50f 2015-06-10 17:50:23 +00:00
Cedric Roux 76fc205b35 carrier aggregation prepartion work:
- handle an UE on the second carrier
- quick fix (may change in the future) to deal with race conditions
  in lte-softmodem. TX procedures (phy_procedures_eNB_TX) are now done
  the one after the other, from carrier 0 to carrier N.


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7541 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-08 08:24:51 +00:00
Raymond Knopp 6e76ecddfe Applied S. Held's patches 16, additional modifications for UE frequency scanning and RSRP/RSSI calibration for ExpressMIMO2 and USRP B210
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7536 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-05 14:10:02 +00:00
Cedric Roux ebd95c5b83 remove global variable prach_ifft, make it local
(was a problem with multiple CCs)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7525 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-03 15:53:55 +00:00
Raymond Knopp ea15957667 fixed some amplitude issues in PSS/SSS
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7511 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-02 09:37:48 +00:00
Cedric Roux fe2d9eefe1 improve some logs (add cc_id)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7506 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-01 13:15:58 +00:00
Cedric Roux a01e889e62 fix log
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7504 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-01 10:37:43 +00:00
Cedric Roux 4fcde7b6d1 fix log
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7503 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-06-01 09:22:21 +00:00
Navid Nikaein 2ae01b5273 * add time measurement for lte softmodem
* bug fixe when missed slots happens
* bug fix in mac ULSCH preprocessor


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7490 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-28 15:14:00 +00:00
Lionel Gauthier fa5d2f5e22 Add subframe in some proc calls
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7480 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-28 13:08:53 +00:00
Lionel Gauthier 1d19379275 MSCGEN traces
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7452 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-21 14:55:31 +00:00
Florian Kaltenberger faf8953da6 fixed UL time domain channel estimation (was using the dft instead of idft) and removed repeated format issues
fixed bug in timing advance procedures in UE and eNB


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7446 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-20 11:10:09 +00:00
Lionel Gauthier e5b66cb066 Rework of GTPU in kernel (now use UDP socket, kthread for rx),
No need for GTPURH kernel module (work done in GTPUAH, will change module name later).
still classification with iptables mark, conntrack.
Tested with EPC local to eNB, test with remote EPC after this commit.

Added srb1 parameters in enb config file,

Correction of mscgen traces

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7413 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-13 15:08:17 +00:00
Raymond Knopp d6cdcb915b removed PHY/TOOLS/fft.c and all uses of this FFT implementation. All are replaced by the faster versions in PHY/TOOLS/lte_dfts.c
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7390 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-05-08 19:33:10 +00:00
Lionel Gauthier 737623201b Sebastian Held patches15/0045-reformatted.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7347 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:51:11 +00:00
Lionel Gauthier b4a2c3a572 Sebastian Held patches15/0028-fix-compiler-warnings.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7330 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:41:01 +00:00
Lionel Gauthier 2ffccf9de7 Sebastian Held patches15/0020-fix-uninitialized-variable.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7322 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-30 09:22:46 +00:00