Commit Graph
316 Commits
Author SHA1 Message Date
Melissa Elkadi 98c8ddb673 Merge remote-tracking branch 'origin/develop' into episys-merge
Removing references to memcpy_dl_config_req and
memcpy_tx_req because these functions are leaking
memory. For our standalone mode we have created
new/modified memcpy_dl/tx_req functions.
2021-02-24 11:49:17 -08:00
Melissa Elkadi 4dcb32c180 Removed unused memcpy functions and references 2021-02-24 09:12:00 -08:00
Melissa Elkadi 125e0aa186 Updating incorrect logic in phy_stub_ue.c 2021-02-24 07:07:45 -08:00
Raymond Knopp a6e16e7c8a Merge remote-tracking branch 'origin/develop' into oairu 2021-02-23 11:51:29 +01:00
Melissa Elkadi df2d3459d8 Set first random value to be UE number
Also added logs for debugging this rare random value issue.
2021-02-19 15:00:36 -08:00
Melissa Elkadi 2c8aab0671 Included PHY channel parameter handling
Also, updated openairinterface5g_limits.h to match develop branch.
2021-02-17 16:04:00 -08:00
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 7b4c1eae33 Merge branch 'oairu' of https://gitlab.eurecom.fr/oai/openairinterface5g into oairu 2021-02-14 14:06:18 +01:00
Raymond Knopp b67a3502b8 commit before merge 2021-02-14 14:06:05 +01:00
Raymond Knopp 5b865df202 fixed for oairu target after merge with develop 2021-02-14 14:05:16 +01: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
Melissa 9fa09f530f Updated non-blocking PDCP socket
More accurately, we changed the do/while infinite
loop to be an infinite for loop for the read command of
the socket. The socket file descriptor choice is more clear now.
2021-02-09 14:09:39 -08:00
Mahesh 0e6f1e6ad6 Merge conflicts resolved 2021-02-08 18:05:29 +05:30
Melissa Elkadi 78341d9db1 Updated bler table lookup mechanism and logs 2021-01-25 14:52:44 -08:00
Melissa 0f210073c5 Fixed two bugs
There was a variable that was being used that was undefined.
Also fixed save_dci_pdu_for_crnti() function.
2021-01-22 16:37:41 -08:00
Melissa Elkadi 80fc9b3908 Removed duplicate def of pdu_size 2021-01-18 13:06:57 -08:00
Melissa Elkadi 4a763d14cd Utilizing local pdu_size variable 2021-01-18 11:53:04 -08:00
Melissa Elkadi d0e380da1e Updated array index check with macro def in log.h 2021-01-18 11:39:03 -08:00
Melissa Elkadi a1ec989d47 Added array index checks and local loop variable 2021-01-18 11:03:42 -08:00
Melissa Elkadi 48662ed520 Fixed uci_harq_ind issue by adding drop_tb call
Also updated the spelling of global variable NUM_NFAPI_SUBFRAME
2021-01-15 15:39:09 -08:00
Melissa Elkadi 27a232ab63 Sending ACK or NACK for uci_harq_ind fix
A fix had to be made in the uci_harq indication function
in the UE. The uci_harq indicaiton function was not properly
checking for dropped packets four subframes back in the UE.
2021-01-15 13:42:31 -08:00
Ricky S b2f85f7ac2 Episys/initial channel model 2021-01-14 15:53:06 -08: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
Raymond Knopp 881ac5491c merge with develop 2020-12-25 16:18:24 +01: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
Mahesh 87105d77cf Merged latest develop to nfapi 2020-11-19 22:33:39 +05:30
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
Mahesh e6bf90e2dd LTE and NR NFAPI integration 2020-11-11 15:10:32 +05:30
Mahesh 643fc632d6 PBCH working 2020-11-06 19:48:34 +05:30
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
Mahesh K 66a6d550a6 benetel: driver for Benetel's 4G and 5G RRUs
This commit contains work done by Eurecom and by Benetel.
2020-10-12 18:56:41 +02:00
Mahesh 062d00fb85 PBCH and PDCCH constellation obtained for downlink. 2020-10-12 19:02:11 +05:30
Mahesh ff64d6ac10 Resolved UE building error and updated packing of P7 messages 2020-10-07 15:01:40 +05:30
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