Commit Graph
12862 Commits
Author SHA1 Message Date
Michael Cook 1687896730 Log the processor info like scheduler policy
And CPU affinity.
Also, use mlockall to keep our memory from being swapped out.
2020-11-22 13:50:35 -05:00
Michael Cook f13875b141 Merge branch 'episys/foobar' into 'episys/master'
Dl_config_req and tx_req filtering allowed for either order

See merge request aburger/openairinterface5g!13
2020-11-20 16:04:14 -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
Michael Cook b209f2ff23 Merge branch 'episys/andrew/dl_config+tx_req_combination' into 'episys/master'
Episys/andrew/dl config+tx req combination

See merge request aburger/openairinterface5g!12
2020-11-20 15:06:30 -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
Michael Cook b6b9f25082 Merge branch 'episys/andrew/dci0_filtering' into 'episys/master'
Episys/andrew/dci0 filtering

See merge request aburger/openairinterface5g!10
2020-11-16 15:33:50 -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
Michael Cook 4ad7d7b5f6 Merge branch 'episys/andrew/dlsch_pdu_index_bug_fix' into 'episys/master'
Episys/andrew/dlsch pdu index bug fix

See merge request aburger/openairinterface5g!9
2020-11-13 14:11:35 -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
Michael Cook 3011e229d4 Merge branch 'episys/andrew/fixing_s1_mode+change_to_shutdown' into 'episys/master'
This commit includes:

See merge request aburger/openairinterface5g!7
2020-11-04 14:29:07 -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 67e190960f Merge branch 'episys/andrew+mc/tx_pdu_list_change+dl_config_req_dropping' into 'episys/master'
Episys/andrew+mc/tx pdu list change+dl config req dropping

See merge request aburger/openairinterface5g!5
2020-10-23 14:54:40 -07: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
Michael Cook d449a4de8a Align thread priorities
```
$ ps -eL -o pid,lwp,class,priority,comm | grep -E softmodem|oai:'
 6500  6500 RR  -80 lte-softmodem
 6500  6520 RR  -80 oai:enb-L1-rx
 6500  6522 RR  -80 oai:enb-L1-tx
 6508  6508 RR  -80 lte-uesoftmodem
 6508  6537 RR  -80 oai:ue-phy
 6508  6538 RR  -80 oai:ue-stand
 6509  6509 RR  -80 lte-uesoftmodem
$
```
2020-10-18 12:11:10 -04:00
Michael Cook d61bb9836c Merge branch 'episys/andrew/dropping_dl_config_req_and_tx_req' into 'episys/master'
Episys/andrew/dropping dl config req and tx req

See merge request aburger/openairinterface5g!3
2020-10-14 14:52:25 -07: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 645bcc5eff Merge branch 'episys/andrew/ul_config_req_filtering' into 'episys/master'
Episys/andrew/ul config req filtering

See merge request aburger/openairinterface5g!2
2020-10-12 14:35:53 -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 ee8781f7e1 Support for using gprof profiling 2020-10-11 12:31:40 -04:00
Michael Cook 7d0497ca80 Fix a compiler warning 2020-10-11 11:02:47 -04:00
Michael Cook 79ba247fe6 Catch SIGTERM and attempt to exit cleanly
This change is to enable use of gprof which requires the process
call `exit` to write out the collected data.

The UE (lte-uesoftmodem) exits cleanly, but the eNB
(lte-softmodem) crashes as it tries to shut down...
2020-10-11 10:22:24 -04:00
Michael Cook f4fc89bce8 Uninitialized memory
Found by valgrind
2020-10-10 12:06:32 -04:00
Michael Cook da81c6f97b Fix uninitialized memory
Found by valgrind
2020-10-10 11:56:55 -04:00
Michael Cook 870465e0a9 Fix numerous uninitialized memory issues
Found by valgrind.
2020-10-10 11:00:38 -04:00
Michael Cook 920fde6a69 Fix a compiler warning 2020-10-10 11:00:19 -04:00
Michael Cook f489a751b9 Fix memcpy with overlapping memory
Found by valgrind.
2020-10-10 10:40:26 -04:00
Andrew Burger 03157f93d6 Merge branch 'episys/andrew/msg4_reception_failure' into 'episys/master'
Episys/andrew/msg4 reception failure

See merge request aburger/openairinterface5g!1
2020-10-02 15:19:12 -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 a67379ea52 platform constants change 2020-09-21 18:13:27 -07:00
Andrew Burger 6d566eb583 Merge branch 'episys/andrew/debugging_rach+fixing_rx_unpack' into 'episys/master'
Episys/andrew/debugging rach+fixing rx unpack

See merge request aburger/openairinterface5g!4
2020-09-19 11:32:25 -07:00
Andrew Burger 516de3ae9c fixing remove ul_config_req pdu func 2020-09-19 11:30:03 -07:00
Andrew Burger 129b95eec5 removing comment 2020-09-18 17:28:21 -07:00
Andrew Burger 634872b611 Changing back to 10 max indicies 2020-09-18 17:27:42 -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 f383a5bc5b Wrong code 2020-09-18 14:24:20 -07:00
Andrew Burger d3747fe122 non-used code 2020-09-18 13:55:48 -07:00
Andrew Burger 78744a4f7a Added dropping multi cqis 2020-09-18 13:16:32 -07:00
Andrew Burger 08e52445a4 Before testing 2020-09-18 09:11:56 -07:00
Andrew Burger fc0673bdd1 Allocating memory for new oai unpack rx_ind func 2020-09-17 12:27:42 -07:00
Andrew Burger 7045166f68 cant unpack rx_ind in UE 2020-09-16 10:44:05 -07:00
Andrew Burger 6ed8610a53 Fix for rx_ind 2020-09-16 09:54:52 -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 8852bb19c9 Adding hexdump logs in unpack 2020-09-15 14:44:43 -07:00