Cedric Roux
e0eac2e331
hotfix: do not set s-Measure in measurement report configuration
...
The value was set to 20 which means -120 dB. Setting this value means
that the UE reports an event only if the RSRP of the serving cell
is lower than -120 dB.
In the lab, we get values of around -70, and to go as low as -120
means a very degraded environment. This is not practical.
Let's disactivate the setting of this parameter for the moment so that
the UE reports an event without taking into consideration the RSRP
of the serving cell.
With this hotfix, the X2 handover works much better.
2019-07-04 14:47:11 +02:00
Raphael Defosseux
67293964ac
Merge branch 'develop_integration_2019_w25' into 'develop'
...
Develop: Integration 2019 Week 25
See merge request oai/openairinterface5g!617
The following Merge Requests are included:
* MR 576 : Multi-RU support and OTA Synch/Calibration for TDD
* MR 589 : UE side FeMBMS-EnTV
* MR 610 : Enhance CI with external EPC usage
* MR 614 : fixed rar_Hopping configuration for eMT
* MR 619 : bugfix: fix RRC UE removal
* MR 620 : Coverity Scan defect fixes
2019-06-21 18:58:38 +02:00
Raphael Defosseux
541184c2cc
CI: adding pauses in F1 cases
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-06-21 16:05:28 +02:00
Raphael Defosseux
99012f88b9
HACK: force initialization of variables in CU case!
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-06-21 16:02:23 +02:00
Raphael Defosseux
ec0538c461
CI: adding a include path to cppcheck
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-06-21 13:06:05 +02:00
Raphael Defosseux
8931915030
Merge remote-tracking branch 'origin/434-coverity-scan-fix-week25' into develop_integration_2019_w25
2019-06-21 13:04:51 +02:00
Raphael Defosseux
18b8bd4ee9
Merge remote-tracking branch 'origin/bugfix-rrc-ue-removal' into develop_integration_2019_w25
2019-06-21 13:03:39 +02:00
Raphael Defosseux
4bf932d6bd
DOC: added caution message about nasmesh
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-06-21 12:57:40 +02:00
Dong Anyuan
42a0f7b016
Remove Coverity Scan CID 261519 (Using uninitialized value tmp. Field tmp.elems is uninitialized when calling _mm256_insert_epi16.)
2019-06-21 18:39:47 +09:00
Dong Anyuan
14e6da9ab5
Remove Coverity Scan CID 261470 (Using uninitialized value tmp. Field tmp.elems is uninitialized when calling _mm256_insert_epi8.)
2019-06-21 18:36:44 +09:00
Dong Anyuan
4c60ee7775
Remove Coverity Scan CID 60471 (Function memory_read does not terminate string *user->nas_user_nvdata.)
2019-06-21 18:34:14 +09:00
Dong Anyuan
0e2406f0fe
Remove Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-21 18:31:58 +09:00
Cedric Roux
f6f83ca01b
bugfix: fix RRC UE removal
...
If several UEs are removed, the variable ue_to_be_removed may be overwritten.
Let's use an array instead.
2019-06-20 17:20:20 +02:00
Dong Anyuan
3adb2efd8c
Fix Coverity Scan CID 339954 (Overrunning callee's array of size 16 by passing argument ue_id (which evaluates to 65535) in call to flexran_set_ue_ul_slice_idx.)
2019-06-20 14:06:32 +09:00
Dong Anyuan
2f2f21d2aa
Fix Coverity Scan CID 339964 (Passing &rrc_eNB_mui to function rrc_eNB_process_S1AP_DOWNLINK_NAS which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-20 14:06:04 +09:00
Dong Anyuan
61ebac43f1
Fix Coverity Scan CID 339972 (Variable msg going out of scope leaks the storage it points to.)
2019-06-20 14:05:40 +09:00
Dong Anyuan
486f1368e0
Fix Coverity Scan CID 339974 (Overrunning array eutra_bandtable of 48 24-byte elements at element index 48 (byte offset 1152) using index i (which evaluates to 48).)
2019-06-20 14:05:13 +09:00
Dong Anyuan
4fd1495be6
Fix Coverity Scan CID 339978 (Variable msg going out of scope leaks the storage it points to..)
2019-06-20 14:04:40 +09:00
Dong Anyuan
21c4e256bf
Fix Coverity Scan CID 339991 (Variable msg going out of scope leaks the storage it points to.)
2019-06-20 14:04:05 +09:00
Dong Anyuan
f3c3a1ff67
Fix Coverity Scan CID 340004 (Overrunning array eutra_bandtable of 48 24-byte elements at element index 48 (byte offset 1152) using index i (which evaluates to 48).)
2019-06-20 14:03:17 +09:00
Dong Anyuan
a70288769a
Fix Coverity Scan CID 340209 (Variable message_p going out of scope leaks the storage it points to.)
2019-06-20 14:02:45 +09:00
Dong Anyuan
9b80070a59
Fix Coverity Scan CID 340211 (Variable message_p going out of scope leaks the storage it points to.)
2019-06-20 14:02:11 +09:00
Dong Anyuan
c7d2937e35
Fix Coverity Scan CID 340221 (Variable msg going out of scope leaks the storage it points to.)
2019-06-20 14:01:40 +09:00
Dong Anyuan
4a3f26b2cf
Fix Coverity Scan CID 340228 (Handle variable s going out of scope leaks the handle.)
2019-06-20 14:01:05 +09:00
Dong Anyuan
f6765e0633
Fix Coverity Scan CID 340232 (Variable message_p going out of scope leaks the storage it points to.)
2019-06-20 14:00:24 +09:00
Dong Anyuan
f1fdff80a0
Fix Coverity Scan CID 340235 (Using variable UE_id_mac as an index to array RC.mac[ctxt_pP->module_id]->UE_list.UE_sched_ctrl.)
2019-06-20 13:59:53 +09:00
Dong Anyuan
bca84e8160
Fix Coverity Scan CID 340237 (Using variable UE_id as an index to array UE_list->UE_sched_ctrl.)
2019-06-20 13:59:21 +09:00
Dong Anyuan
e9267be8db
Fix Coverity Scan CID 340243 (Overrunning array of 1 bytes at byte offset 1 by dereferencing pointer ie->value.choice.UESecurityCapabilities.encryptionAlgorithms.buf + 1.)
2019-06-20 13:58:52 +09:00
Dong Anyuan
6087373184
Fix Coverity Scan CID 340245 (Variable Sparams going out of scope leaks the storage it points to.)
2019-06-20 13:58:08 +09:00
Dong Anyuan
8e599681b0
Fix Coverity Scan CID 340247 (Variable pc5s_header going out of scope leaks the storage it points to.)
2019-06-20 13:57:34 +09:00
Dong Anyuan
b40385aa09
Fix Coverity Scan CID 340261 (Variable securityConfigHO going out of scope leaks the storage it points to.)
2019-06-20 13:57:04 +09:00
Dong Anyuan
1ad6361bd1
Fix Coverity Scan CID 340263 (Using uninitialized value DRB2LCHAN[i] when calling rrc_mac_config_req_eNB.)
2019-06-20 13:56:35 +09:00
Dong Anyuan
20406a7057
Fix Coverity Scan CID 340268 (Passing freed pointer pdu_mem_pP as an argument to rlc_um_store_pdu_in_dar_buffer.)
2019-06-20 13:56:05 +09:00
Dong Anyuan
62b5911bb3
Fix Coverity Scan CID 340277 (Variable gNB_CUSystemInformation going out of scope leaks the storage it points to.)
2019-06-20 13:55:32 +09:00
Dong Anyuan
3354bd5122
Fix Coverity Scan CID 340278 (Variable quantityConfig going out of scope leaks the storage it points to.)
2019-06-20 13:54:55 +09:00
Dong Anyuan
84acd4c692
Fix Coverity Scan CID 340280 (Variable msg going out of scope leaks the storage it points to.)
2019-06-20 13:53:58 +09:00
Dong Anyuan
cd31745af1
Fix Coverity Scan CID 340290 (Variable msg_p going out of scope leaks the storage it points to.)
2019-06-20 13:53:08 +09:00
Dong Anyuan
2a8ed1a056
Fix Coverity Scan CID 21666 (Variable measResultListEUTRA2 going out of scope leaks the storage it points to.)
2019-06-20 12:43:44 +09:00
Dong Anyuan
dc8b2c1ef0
Fix Coverity Scan CID 21694 (Variable quantityConfig going out of scope leaks the storage it points to.)
2019-06-20 12:43:17 +09:00
Dong Anyuan
87023eeb6a
Fix Coverity Scan CID 21734 (Variable Sparams going out of scope leaks the storage it points to.)
2019-06-20 12:42:42 +09:00
Dong Anyuan
b7c04de927
Fix Coverity Scan CID 21842 (Using uninitialized value data_req. Field data_req.ue_id_type_indicator is uninitialized.)
2019-06-20 12:42:05 +09:00
Dong Anyuan
d415fc52ad
Fix Coverity Scan CID 21843 (Using uninitialized value data_req. Field data_req.buffer_occupancy_in_pdus is uninitialized.)
2019-06-20 12:41:38 +09:00
Dong Anyuan
3d12d16c29
Fix Coverity Scan CID 21906 (Using uninitialized value pcfich_bt[2 * i].)
2019-06-20 12:41:05 +09:00
Dong Anyuan
bdd6b0fb18
Fix Coverity Scan CID 21911 (Using uninitialized value data_req. Field data_req.buffer_occupancy_in_pdus is uninitialized.)
2019-06-20 12:40:36 +09:00
Dong Anyuan
3c81412704
Fix Coverity Scan CID 21929 (Using uninitialized value newtbl.num_elements when calling hashtable_insert.)
2019-06-20 12:40:04 +09:00
Dong Anyuan
e84ba4fa6c
Fix Coverity Scan CID 21938 (Using uninitialized value status_resp. Field status_resp.head_sdu_creation_time is uninitialized.)
2019-06-20 12:39:34 +09:00
Dong Anyuan
3b96a7ac3f
Fix Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-20 12:39:06 +09:00
Dong Anyuan
7cf75c6d50
Fix Coverity Scan CID 60277 (Calling strncpy with a maximum size argument of 4096 bytes on destination array user_api_id->recv_buffer of size 4096 bytes might leave the destination string unterminated.)
2019-06-20 12:38:33 +09:00
Dong Anyuan
4eb0344714
Fix Coverity Scan CID 60348 (Variable addr going out of scope leaks the storage it points to.)
2019-06-20 12:37:36 +09:00
Dong Anyuan
264e429f23
Fix Coverity Scan CID 60351 (Variable sctp_cnx going out of scope leaks the storage it points to.)
2019-06-20 12:37:08 +09:00