Michael Cook
c5ff3376ef
Size asserts for harq_pdu_list, sr_pdu_list, cqi_pdu_list
2021-03-13 11:56:55 -08:00
Michael Cook
6d2590906c
Assert NFAPI_CRC_IND_MAX_PDU
2021-03-13 10:58:33 -08:00
Michael Cook
df81c0de14
Add asserts for size of rx_indication_body.rx_pdu_list
2021-03-13 10:26:33 -08:00
Melissa Elkadi
e5b0c26549
Changed sf_ahead based on NFAPI_MODE
2021-03-10 16:20:55 -08:00
Melissa Elkadi
e3168a7d8c
Merge remote-tracking branch 'eurecom/develop' into eurecom-episys-merge
2021-03-03 16:12:04 -08:00
Melissa Elkadi
15905c746d
Fixing cppcheck issues
2021-03-01 15:13:50 -08:00
Michael Cook
034d2cfed6
lte-ue.c: Allocate bigger arrays
...
This code allocates memory from the heap:
```
static void *UE_phy_stub_standalone_pnf_task(void *arg)
{
...
UL_INFO->crc_ind.crc_indication_body.crc_pdu_list =
calloc(NB_UE_INST, sizeof(nfapi_crc_indication_pdu_t));
```
I see NB_UE_INST==1.
Then this code:
```
void fill_crc_indication_UE_MAC(int Mod_id,
int frame,
int subframe,
UL_IND_t *UL_INFO,
uint8_t crc_flag,
int index,
uint16_t rnti,
nfapi_ul_config_request_t
*ul_config_req) {
...
nfapi_crc_indication_pdu_t *pdu =
&UL_INFO->crc_ind.crc_indication_body
.crc_pdu_list[UL_INFO->crc_ind.crc_indication_body.number_of_crcs];
```
used .number_of_crcs to index into .crc_pdu_list without first
checking if .number_of_crcs is in range.
When run with multiple UEs, sometimes .number_of_crcs==1 and then
-fsanitize=address complains.
Change is to use NUMBER_OF_UE_MAX instead of NB_UE_INST.
With this change, -fsanitize=address stopping complaining.
2021-02-28 09:45:31 -08:00
Michael Cook
414d3794fd
netlink_init.c: Memory leak
...
Found by `-fsanitize=address`.
2021-02-27 09:15:38 -08:00
hardy
8d05695722
Merge remote-tracking branch 'origin/benetel_driver_update' into integration_2021_wk09_b
2021-02-26 16:09:05 +01:00
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
hardy
accae67113
Merge remote-tracking branch 'origin/nr-pdcp-nea2-security' into integration_2021_wk08
2021-02-23 09:31:05 +01:00
hardy
3199b81584
Merge remote-tracking branch 'origin/enhance-rfsim' into integration_2021_wk08
2021-02-23 09:30:42 +01:00
hardy
90d6a57a3c
Merge remote-tracking branch 'origin/NR_UL_SCFDMA_100MHz' into integration_2021_wk08
2021-02-23 09:30:22 +01:00
Gokul Srinivasan
880096cc95
Delete create_nr_tasks.c
2021-02-21 18:40:51 +01:00
Florian Kaltenberger
30aaa0dc44
reducing UL target power for Benetel 5G RRU and adding missing parameter for PUSCH multi thread processing
2021-02-19 11:47:25 +01:00
Florian Kaltenberger
670c807a56
Merge remote-tracking branch 'origin/develop' into benetel_driver_update
2021-02-19 11:46:41 +01: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
ecaa20ed14
Re-do fix for merge issues
2021-02-15 15:08:46 -08:00
Melissa Elkadi
bc524ea192
Minor fixes and new definitions for build success
2021-02-15 09:00:22 -08:00
Cedric Roux
73f3a458cf
NSA: finalize nea2 security for gNB
...
- a new section in the configuration file to select security algorithms,
with new code to deal with it
- cleanup CG-ConfigInfo: specs seem to indicate that we must not
add mcg_RB_Config; the gNB has to deal with that
- as a consequence, modify fill_default_rbconfig() that is called in
every cases and needs security and bearer parameters
The new section in the configuration file looks like:
security = {
# preferred ciphering algorithms
# the first one of the list that an UE supports in chosen
# valid values: nea0, nea1, nea2, nea3
ciphering_algorithms = ( "nea0", "nea2" );
# preferred integrity algorithms
# the first one of the list that an UE supports in chosen
# valid values: nia0, nia1, nia2, nia3
integrity_algorithms = ( "nia0" );
};
2021-02-15 15:25:52 +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
Mahesh
f69af6abaf
merge MR978 (5G nFAPI) into develop
2021-02-12 16:26:22 +05:30
Mahesh
eb19e02cf3
Merging MR978 with develop
2021-02-11 22:50:25 +05:30
Laurent Thomas
c93482c4c6
trivial merge with develop"
2021-02-11 13:27:00 +01:00
Laurent Thomas
b3e21ad87b
only a printf
2021-02-10 17:58:10 +01:00
Laurent Thomas
2c5bd9fa8c
improve rfsim
2021-02-10 17:49:14 +01:00
dir
cfebcd19bd
Corrections to 217RBs, 273RB configuration files. RFSIM works with these changes
2021-02-09 17:32:51 +02:00
Florian Kaltenberger
04a4a6f451
Merge remote-tracking branch 'origin/develop' into benetel_driver_update
2021-02-09 11:13:01 +01:00
Florian Kaltenberger
12517f02e2
Reverting shifting the TX 4 bits to the left to exploit dynamic range.
...
adapted ssb_block_power to measured value
This partially reverts commit 857f9179f3 .
Conflicts:
targets/ARCH/ETHERNET/benetel/5g/benetel.c
2021-02-09 11:10:58 +01:00
Sakthivel Velumani
8902902706
Merge branch 'develop' into ue-fixes
2021-02-08 15:06:17 +01:00
Mahesh
0e6f1e6ad6
Merge conflicts resolved
2021-02-08 18:05:29 +05:30
Cedric Roux
b7ea4e0f6d
benetel 5g: support for two antennas
2021-02-05 16:48:30 +01:00
hardy
663dd1251c
Merge remote-tracking branch 'origin/NR_RA_cleanup' into integration_2021_wk05
2021-02-05 12:00:38 +01:00
Cedric Roux
a9f57407c7
benetel 4g: support two antennas
2021-02-03 17:07:18 +01:00
hardy
c00b44028b
Merge remote-tracking branch 'origin/develop-sib1-update' into integration_2021_wk05
2021-02-02 15:40:22 +01:00
Mahesh
ae422aca1f
Merge conficts resolved
2021-02-02 09:36:49 +05:30
Sakthivel Velumani
c9dcff3d7e
Merge branch 'develop' into ue-fixes
2021-02-01 16:07:58 +01:00
Sakthivel Velumani
f44dc35bfd
Reducing RX gain at gNB
...
1. Changed rx gain at gNB from 75 to 50. PUCCH works again with OAI-UE.
2. Disabling MAC layer retransmission logs.
2021-02-01 16:00:33 +01:00
Florian Kaltenberger
857f9179f3
shifting also the TX 4 bits to the left to exploit dynamic range. adapted ssb_block_power but proper calibration still necessary.
2021-02-01 10:24:22 +01:00
Florian Kaltenberger
a5b5d6f9b0
fixing RRC power levels at 5G side to avoid saturation
2021-02-01 10:24:22 +01:00
Florian Kaltenberger
0f57529b48
fixing benetel4g driver by setting ru->has_ctrl_prt =1 and thus starting the RU control thread, which is required for the 4G RRU. In the future we should revisit this and harmonize with the 5G version.
2021-02-01 10:24:22 +01:00
Thomas Schlichter
bca9f74e66
Merge remote-tracking branch 'develop' into NR_RA_cleanup
2021-01-29 18:52:37 +01:00
Sakthivel Velumani
0eb2e06725
Moved pusch thread parameter to L1 in config file
2021-01-29 13:14:14 +01:00
hardy
9c810b311d
Merge remote-tracking branch 'origin/itti-enhancement' into integration_2021_wk04_b
2021-01-29 07:40:07 +01:00
rmagueta
62bc47c820
Minor update in SIB1 contents. do_SIB1_NR() only if SA.
2021-01-28 16:04:41 +00:00
rmagueta
6e917c539f
Fill SIB1 with more contents
2021-01-25 23:18:35 +00:00
Thomas Schlichter
f32297fefa
fix cppcheck warnings
2021-01-25 14:32:32 +01:00
rmagueta
094f21a165
Fix REG to CCE mapping at UE
2021-01-23 18:40:30 +00:00
Laurent Thomas
eddebae1e4
fix after code review
2021-01-21 13:47:18 +01:00
Mahesh
185fcbf7fe
Merged latest commit(MR957)
2021-01-15 18:53:02 +05:30