Commit Graph
239 Commits
Author SHA1 Message Date
Melissa Elkadi 26e3f32b69 Fixed fill_ul_mutex
Mutexes were not being initialized. In multiple
places they were not being unlocked. In fill rach
it was not being locked or unlocked.
2021-02-15 12:40:32 -08:00
Melissa Elkadi bc524ea192 Minor fixes and new definitions for build success 2021-02-15 09:00:22 -08:00
Raymond Knopp a446eb0ebc Merge branch 'episys/master' into episys-merge
Conflicts:
	common/utils/LOG/log.h
	common/utils/ocp_itti/intertask_interface.cpp
	nfapi/oai_integration/nfapi_vnf.c
	nfapi/open-nFAPI/nfapi/src/nfapi.c
	openair2/LAYER2/MAC/main_ue.c
	openair2/LAYER2/PDCP_v10.1.0/pdcp.c
	openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
	openair2/PHY_INTERFACE/phy_stub_UE.c
	openair2/RRC/LTE/rrc_UE.c
	openair2/RRC/LTE/rrc_eNB.c
	openair3/NAS/UE/ESM/esm_ebr_context.c
	targets/COMMON/openairinterface5g_limits.h
	targets/RT/USER/lte-softmodem.c
	targets/RT/USER/lte-uesoftmodem.c
2021-02-13 22:52:33 +01:00
Michael Cook ee86a66722 Merge commit '0b40edef2adc45965dcfe2071b0c4170389ae8b5' into episys/master 2021-01-12 18:11:10 -05:00
Melissa Elkadi 42ae8207ee NFAPI_MODE logic to include standalone mode
Every if statement that includes a check for
the NFAPI_MODE that did not check for the new
PNF_STANDALONE_MODE now has been updated. Also
changed the tx_req and dl_config_req logs
when they are received at the OAI UE to be
info logs instead of error logs.
2021-01-12 06:54:16 -08:00
Melissa Elkadi a288e502f0 Cleanup before merge
The clean up includes removing white space changes, adding logs,
adding comments to make various changes more obvious, etc.
2021-01-08 14:31:13 -08:00
Melissa 4fe4f6cd60 dl_config_Req and tx_reqs are queued together
Additionally, combined many of the individual
dl_config_req and tx_req handle functions.
Also removed some unused functions we added.
Futhermore, removed our additions to the
dl_config_req and tx_req memcpy functions.
2020-11-20 16:04:14 -08:00
Melissa 7aa9a95e8e dl_config_Req and tx_reqs are queued together
Additionally, combined many of the individual
dl_config_req and tx_req handle functions.
Also removed some unused functions we added.
Futhermore, removed our additions to the
dl_config_req and tx_req memcpy functions.
2020-11-20 15:06:30 -08:00
Andrew Burger 206fd09bd6 Adding comments for less confusion 2020-11-16 15:33:23 -08:00
Andrew Burger 0d865eea8a merging 2020-11-16 11:50:27 -08:00
Andrew Burger cb4e5a35c4 Episys/andrew/dlsch pdu index bug fix 2020-11-13 14:11:35 -08:00
Michael Cook ade37fea82 unqueue_matching: Add max_depth argument
Look only at the last `max_depth` items on the queue, at most.
2020-10-24 09:50:00 -04:00
Andrew Burger 39f07d7ac9 Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-23 14:54:40 -07:00
Michael Cook 6dd80ffd2f queue: add requeue, fix unqueue_matching
Synchronized with emane.git's implementation of this code which
includes a unit test.

This commit also fixes two bugs in unqueue_matching and one inb
unqueue:

- unqueue_matching was returning the wrong pointer when
  there was no match

- both unqueue_matching and unqueue were not clearing the vacated
  queue entry after removing the item
2020-10-20 09:04:23 -04:00
Andrew Burger 1a96de4518 Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-14 14:52:25 -07:00
Robert Schmidt 9882460607 Remove Mutexes in phy_stub_UE.c
Various mutexes are present in the phy_stub_UE.c file. However, it will
only be run in a single thread; the multiple-thread implementation also
runs the higher layers concurrently, which leads to races and segfaults.
Therefore, remove these mutexes, as we don't need them.
2020-10-13 08:49:30 +02:00
Andrew Burger ec4a05515c Set scheduler priorty to 1
To match emane.

Checked with:
```
ps ax -o pid,class,priority,comm |grep RR
```
2020-10-12 14:35:53 -07:00
Andrew Burger ce2cbb9017 Episys/andrew/msg4 reception failure 2020-10-02 15:19:11 -07:00
Michael Cook ed01a338c0 Fix compiler warnings 2020-09-26 13:31:46 -04:00
Andrew Burger fe6d713988 Cleaning up merge request 2020-09-18 16:58:16 -07:00
Andrew Burger 9bb8390578 Merge branch 'episys/master' into episys/andrew/debugging_rach+fixing_rx_unpack 2020-09-18 14:34:54 -07:00
Andrew Burger 7045166f68 cant unpack rx_ind in UE 2020-09-16 10:44:05 -07:00
Andrew Burger 2d657b5e30 another rx_ind print 2020-09-15 16:54:08 -07:00
Andrew Burger 6cef6c340c print function for rx_ind 2020-09-15 16:23:52 -07:00
Andrew Burger e19cee6386 hexdumping packed buffer 2020-09-15 14:12:42 -07:00
Andrew Burger 9339b06315 pack unpack 2020-09-15 13:45:34 -07:00
Andrew Burger 791347d5da forgot comma 2020-09-15 13:36:22 -07:00
Andrew Burger 1655324b69 Some logging 2020-09-15 13:35:23 -07:00
Andrew Burger 348fcb47b2 Logging 2020-09-12 15:04:13 -07:00
Andrew Burger 90af41e68e Logging buflen of rx_ind data 2020-09-12 14:47:31 -07:00
Andrew Burger 96b5525d88 removal of LOG_A messages 2020-09-08 10:50:46 -07:00
Andrew Burger 465f1a77e0 New prach procedures 2020-09-08 10:31:36 -07:00
Andrew Burger d089d4a289 Additional warning/Analysis logs 2020-09-06 11:45:18 -07:00
Andrew Burger 3483f7ad36 New timing members 2020-09-06 11:31:55 -07:00
Michael Cook 3a2e4a3189 Use LOG_A for log messages intended for analysis
This change allows us to disable the LOG_I messages to reduce
overhead.

Removed LOG_VAR macro because it was used in only one place, and
a better solution is to simply use `__attribute__((unused))`.
2020-09-06 07:54:56 -07:00
Andrew Burger 506000cdc9 Saving work 2020-09-05 10:30:32 -07:00
Andrew Burger 79df38d515 Episys/fixing cqi problem 2020-09-02 12:27:09 -07:00
Andrew Burger 319b0fde99 Cleaning up logs removing unecessary code 2020-07-25 12:14:56 -07:00
Andrew Burger 5ead5cf2da Fixed memory error 2020-07-24 15:19:04 -07:00
Andrew Burger 5db290dd96 Need to fix these carriage returns but here are some important changes 2020-07-24 10:38:46 -07:00
Andrew Burger 4e1f08fd7e Debugging after msg4 Problem 2020-07-22 12:01:15 -07:00
Javier Morgade 9b37dcecdb fembms: handle MBMS in new RLC
Signed-off-by: Javier Morgade <javier.morgade@ieee.org>
2020-07-21 18:14:44 +02:00
Michael Cook 5714440427 Cleanup
Revert unnecessary changes relative to origin/develop

Reviewed with Andrew
2020-07-19 13:42:35 -04:00
Andrew Burger 03e0656e69 Debugging msg4 2020-07-16 12:29:05 -07:00
Andrew Burger efb786d808 Merge branch 'episys/sfn_semaphore' into episys/new_queue_system 2020-07-13 11:30:27 -07:00
Andrew Burger f3d30dae15 Removed trailing white space and added subfram and frame log to CRC_IND 2020-07-13 10:59:48 -07:00
Andrew Burger 42709fce5a Fixing subframe issue in UE UL 2020-07-13 10:37:37 -07:00
Andrew Burger 864e594e14 Removed logging to speed up system 2020-07-11 10:20:14 -07:00
RS 7b387999b3 Replaced usleep with semaphore for current_sfn_sf 2020-07-10 15:05:02 -07:00
Andrew Burger 9a8880fd39 Added timestamps and logging 2020-07-10 10:39:55 -07:00