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
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
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
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
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
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
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
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
6986cbdd2a
Fix Coverity Scan CID 261468 (Using variable UE_id as an index to array UE_list->UE_sched_ctrl.)
2019-06-20 12:00:10 +09:00
Dong Anyuan
5fbea5caf1
Fix Coverity Scan CID 261489 (Overrunning array cc->mbsfn_SubframeConfig of 8 8-byte elements at element index 65535 (byte offset 524280) using index j (which evaluates to 65535).)
2019-06-20 11:34:46 +09:00
Dong Anyuan
00c10b7706
Fix Coverity Scan CID 261498 (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 11:31:42 +09:00
Dong Anyuan
ab06b52486
Fix Coverity Scan CID 261506 (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 11:21:07 +09:00
Dong Anyuan
1e14bee4f3
Fix Coverity Scan CID 261548 (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 11:15:26 +09:00
Dong Anyuan
c65e3d2eea
Fix Coverity Scan CID 300371 (Overrunning array rb_table of 34 bytes at byte offset 255 using index rb_table_index (which evaluates to 255).)
2019-06-20 11:03:41 +09:00
Dong Anyuan
4ab9c49a13
Fix Coverity Scan CID 300464 (Using hi as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-20 10:44:05 +09:00
SAWADA Kentaro
4acb50f99e
ReFix Coverity Scan CID 340196 (Using uninitialized value prose_addr_len when calling recvfrom.)
2019-05-29 15:25:38 +09:00
Dong Anyuan
29081f0a16
Fix Coverity Scan CID 300431 (Overrunning array pdu_info_pP->li_list of 128 2-byte elements at element index 128 (byte offset 256) using index pdu_info_pP->num_li (which evaluates to 128).)
2019-05-28 21:37:30 +09:00
SAWADA Kentaro
4939f38a57
Fix Coverity Scan CID 340196
2019-05-28 19:22:24 +09:00
SAWADA Kentaro
95c8693181
Fix Coverity Scan CID 340000
2019-05-28 19:18:27 +09:00
frtabu
0bf3d8f6bc
Remove deprecated build options, now available as config options: noS1, basic_simulator. Remove DISABLE_LOG_X macros, disabling logs now available via disabling the T_TRACER
2019-04-29 18:46:55 +02:00
Raphael Defosseux
d312a9d797
Merge remote-tracking branch 'origin/fix-cudu' into develop_integration_2019_w17
2019-04-25 17:07:00 +02:00
Robert Schmidt
82db432191
Make separate func_ptr setters for PDCP Ind/RLC Req
2019-04-19 14:06:48 +02:00
Robert Schmidt
42713b95fc
Configure complete PDCP in lte-(ue)softmodem
...
* Instead of partly initializing in read_config_and_init(), everything of
PDCP is initialized in main() of lte-softmodem
* Omit RC.rrc access in RRU through checking of RC.nb_inst > 0
* Includes FlexRAN, i.e. do not start FlexRAN in RRU
* Function pointers to PDCP functions have to be set explicitly (avoid
confusion of multiply setting function pointers)
2019-04-19 14:05:51 +02:00
Robert Schmidt
b4f462b9c8
Align PROTO_AGENT functions with PDCP/RLC function pointers
2019-04-18 13:42:20 +02:00
Louis Adrien Dufrene
0e6431a7b9
Moved code for HARQ process from PHY layer to MAC layer
2019-04-18 11:51:20 +02:00
Louis Adrien Dufrene
5ae494e974
merge from develop
2019-04-16 09:13:25 +02:00
Louis Adrien Dufrene
36cd05bcba
Bug fix: dci0_ongoing timer ok, now impossible to set ul_SR when dci0 is ongoing.
2019-04-16 08:22:54 +02:00
Louis Adrien Dufrene
d7cddc2825
Bug fix of drx_config == PrNothing is now handled. Bug fix for dci0_ongoing not working. To investigate
2019-04-15 10:57:39 +02:00
Cedric Roux
9ea7073c68
Merge remote-tracking branch 'origin/fixes-mac-scheduler-2019-w13' into develop_integration_2019_w15
...
Conflicts:
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
2019-04-15 10:50:38 +02:00
Louis Adrien Dufrene
4c931888e6
Add dci0_ongoing_timer. Commit to build and test.
2019-04-15 08:54:00 +02:00
Rohit Gupta
a05255d246
increased size of maximum SI allocation (to mcs 9 with 3 PRBs) Fixes issues with SI message using eMTC information elementswq
2019-04-13 01:12:33 +02:00
Louis Adrien Dufrene
46b0a9fb38
Remove bypass_cdrx variable and add cdrx_waiting_ack. The CDRX is now activated at RRC COnnection Reconfiguration Complete reception. To Test
2019-04-11 07:36:05 +02:00
Louis Adrien Dufrene
3406634b6b
This is version 1.0. To test. Cleanup of phy_procedures_lte_eNb.c eNB_scheduler_dlsch.c eNB_scheduler_ulsch.c pre_processor.c and asn1_msg.c
2019-04-10 08:48:37 +02:00
Raphael Defosseux
064d7fd917
CI: fixing the build report and a few warnings
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-04-08 11:54:03 +02:00
frtabu
30b7c973e0
merge nfapi_cleanup
2019-04-05 18:43:40 +02:00
Louis Adrien Dufrene
7817358197
Cleanup of enb_config.c config.c asn1_msg.c asn1_msg.h
2019-04-05 11:56:29 +02:00
Louis Adrien Dufrene
8359b9684e
Cleanup of mac.h and mac_proto.h
2019-04-05 08:28:23 +02:00
Louis Adrien Dufrene
ca11800087
Cleanup of eNB_scheduler.c
2019-04-05 08:14:27 +02:00
Stefan Schaffelder
42e0929a0c
apply last diff from ssr to local orange_cdrx branch. Remove SSR comments
2019-04-04 10:15:38 +02:00
Louis Adrien Dufrene
81f04d2982
Apply diff between ssr (CDRX) branch and develop
2019-04-04 08:17:26 +02:00
Cedric Roux
a5a1690394
bugfixes for UL scheduling
...
- size of PUCCH has been fixed to:
- 2 RBs for N_RB_UL = 25 (1 RB at top of resource grid, 1 RB at bottom)
- 4 RBs for N_RB_UL = 50
- 6 RBs for N_RB_UL = 100
this is arbitrary and will need some rework at some point.
This may be also wrong. PUCCH size actually depends on DL traffic
(if the ack/nack is not done in PUSCH) and scheduling request
configurations.
- add sched_frame %= 1024 at one needed place
- reserve RBs for retransmission
this was not done so new transmissions were scheduled in the same
RBs. Since the code works with the notion of 'first_rb' only, it
was decided to skip all RBs lower than those retransmitted. This
works but is not correct (imagine we have to retransmit RB 23, then
all RBs < 23 will not be used for new transmission). The work to
fix this properly is complex, a lot has to change, so let's do it
this simple way for now.
- sort_ue_ul was not correct
- add the function maxround_ul to use the correct 'round' (the one
from DL was used, which is totally wrong)
- be sure to use the correct frame/subframe to get the correct HARQ pid
2019-03-30 15:19:27 +01:00
Cedric Roux
0e38852b05
bugfix: access correctly round_UL
2019-03-30 15:18:18 +01:00
Cedric Roux
26118ed860
bugfix: fix cqi_req usage in UL scheduler
...
For retransmission, let's use cqi_req used for the 1st transmission.
Maybe incorrect, should check the specs. (In the worst case, we
simply won't decode this transmission at all. No big deal.)
2019-03-30 15:18:18 +01:00
Cedric Roux
9565544e3f
bugfix: test free RBs and CCE allocation feasible only for new transmissions
2019-03-30 15:18:18 +01:00
Cedric Roux
04c24ff698
minor cleanup
2019-03-30 15:13:37 +01:00
Cedric Roux
daee800e3e
bugfix: keep frame in [0..1023]
2019-03-30 15:13:37 +01:00
Cedric Roux
35a38fbee8
bugfix: fix T_ENB_MAC_UE_UL_SCHEDULE_RETRANSMISSION parameters
2019-03-30 15:13:37 +01:00
Raphael Defosseux
551319ef87
Fix segmentation fault. The si_Periodicity value was taking very lage values.
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-03-26 13:52:53 +01:00
Robert Schmidt
024007716a
Check type of node using NODE_IS_CU/DU/MONOLITHIC macros
2019-03-26 13:15:02 +01:00