Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
46452030
Commit
46452030
authored
Aug 05, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge develop, make DNN, NSSAI configurable, fix infinite loop
parent
3cbf5168
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+5
-2
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+4
-2
openair3/UICC/usim_interface.c
openair3/UICC/usim_interface.c
+6
-3
openair3/UICC/usim_interface.h
openair3/UICC/usim_interface.h
+3
-0
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
46452030
...
...
@@ -2004,7 +2004,7 @@ nr_ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP,
buflen
,
sdu_length_total
,
total_rlc_pdu_header_len
,
buflen_remain
);
// ,nr_ue_mac_inst->scheduling_info.BSR_bytes[nr_ue_mac_inst->scheduling_info.LCGID[lcid]]
while
(
buflen_remain
>
0
&&
lcid_buffer_occupancy_new
){
while
(
buflen_remain
>
MAX_RLC_SDU_SUBHEADER_SIZE
&&
lcid_buffer_occupancy_new
){
sdu_lengths
[
num_sdus
]
=
mac_rlc_data_req
(
module_idP
,
mac
->
crnti
,
...
...
@@ -2034,6 +2034,9 @@ nr_ue_get_sdu(module_id_t module_idP, int CC_id, frame_t frameP,
}
/* Get updated BO after multiplexing this PDU */
// we don't recompute it if the waiting queue is much larger than our buffer
// because mac_rlc_get_buffer_occupancy_ind() cpu cost is high when waiting queu is large
if
(
lcid_buffer_occupancy_new
<
buflen_remain
+
1000
)
lcid_buffer_occupancy_new
=
mac_rlc_get_buffer_occupancy_ind
(
module_idP
,
mac
->
crnti
,
eNB_index
,
frameP
,
subframe
,
ENB_FLAG_NO
,
lcid
);
buflen_remain
=
buflen
-
(
total_rlc_pdu_header_len
+
sdu_length_total
+
MAX_RLC_SDU_SUBHEADER_SIZE
);
}
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
46452030
...
...
@@ -263,7 +263,8 @@ mac_rlc_status_resp_t mac_rlc_status_ind(
* reports '> 81338368' (table 6.1.3.1-2). Passing 100000000 is thus
* more than enough.
*/
buf_stat
=
rb
->
buffer_status
(
rb
,
100000000
);
// Fix me: temproary reduction meanwhile cpu cost of this computation is optimized
buf_stat
=
rb
->
buffer_status
(
rb
,
1000
*
1000
);
ret
.
bytes_in_buffer
=
buf_stat
.
status_size
+
buf_stat
.
retx_size
+
buf_stat
.
tx_size
;
...
...
@@ -326,7 +327,8 @@ rlc_buffer_occupancy_t mac_rlc_get_buffer_occupancy_ind(
* more than enough.
*/
// Fixme : Laurent reduced size for CPU saving
buf_stat
=
rb
->
buffer_status
(
rb
,
10000000
);
// Fix me: temproary reduction meanwhile cpu cost of this computation is optimized
buf_stat
=
rb
->
buffer_status
(
rb
,
1000
*
1000
);
ret
=
buf_stat
.
status_size
+
buf_stat
.
retx_size
+
buf_stat
.
tx_size
;
...
...
openair3/UICC/usim_interface.c
View file @
46452030
...
...
@@ -42,6 +42,9 @@ extern uint16_t NB_UE_INST;
{"opc", "USIM OPc\n", 0, strptr:&(uicc->opcStr), defstrval:"c42449363bbad02b66d16bc975d77cc1", TYPE_STRING, 0 },\
{"amf", "USIM amf\n", 0, strptr:&(uicc->amfStr), defstrval:"8000", TYPE_STRING, 0 },\
{"sqn", "USIM sqn\n", 0, strptr:&(uicc->sqnStr), defstrval:"000000", TYPE_STRING, 0 },\
{"dnn", "UE dnn (apn)\n", 0, strptr:&(uicc->dnnStr), defstrval:"oai", TYPE_STRING, 0 },\
{"nssai_st", "UE nssai\n", 0, iptr:&(uicc->nssai_st), defintval:1, TYPE_INT, 0 }, \
{"nssai_sd", "UE nssai\n", 0, iptr:&(uicc->nssai_sd), defintval:1, TYPE_INT, 0 }, \
};
static
uicc_t
**
uiccArray
=
NULL
;
...
...
openair3/UICC/usim_interface.h
View file @
46452030
...
...
@@ -49,6 +49,9 @@ typedef struct {
char
*
opcStr
;
char
*
amfStr
;
char
*
sqnStr
;
char
*
dnnStr
;
int
nssai_st
;
int
nssai_sd
;
uint8_t
key
[
16
];
uint8_t
opc
[
16
];
uint8_t
amf
[
2
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment