Commit Graph
4217 Commits
Author SHA1 Message Date
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 3a5912a00a 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-12 08:59:00 -08: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
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
Deokseong "David" Kim b220ed29c4 Updating PDCP module for proxy
Adding ue id parameter to pdcp_init
Updating tun interface functions for proxy
2021-01-12 14:45:52 -08: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
Michael Cook 1a3ef7ab8c rrc_UE.c: Log the initial random values 2020-12-23 11:58:24 -05:00
Michael Cook cb84581678 Set max UEs to 40 (was 20) 2020-12-13 09:19:03 -08:00
Melissa e3d34c8b01 Fixed multiple UE EPC integration by resetting user->ueid=0;. Lots of logs in this commit, will remove later 2020-12-01 13:39:05 -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
Andrew Burger 3960694b27 Revert "This commit includes:"
This reverts commit b1ff8e1a6a.
2020-11-12 15:50:49 -08:00
Andrew Burger b1ff8e1a6a This commit includes:
1.) Shutdown fix which allows us to see who requested to abort the simulation
2.) Properly initializing the NAS layer which previously was not happening for our simulation mode 5
3.) Changes in configurations to support the EPC(Have Melissa Verify these)
2020-11-04 13:39:43 -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
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
Michael Cook f4fc89bce8 Uninitialized memory
Found by valgrind
2020-10-10 12:06:32 -04:00
Michael Cook f489a751b9 Fix memcpy with overlapping memory
Found by valgrind.
2020-10-10 10:40:26 -04: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 516de3ae9c fixing remove ul_config_req pdu func 2020-09-19 11:30:03 -07: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 96d7214c68 Changing constants 2020-09-08 14:50:20 -07:00
Andrew Burger 821ef8572a RRCConnectionsetup happening too early 2020-09-08 12:14:26 -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