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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
ZhouShuya
OpenXG-RAN
Commits
a59ccb36
Commit
a59ccb36
authored
Dec 26, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the problem that might cause the connection issue
parent
aae1ac05
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
+8
-1
openair2/LAYER2/MAC/extern_NB_IoT.h
openair2/LAYER2/MAC/extern_NB_IoT.h
+1
-0
openair2/LAYER2/MAC/vars_NB_IoT.h
openair2/LAYER2/MAC/vars_NB_IoT.h
+1
-0
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+4
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
View file @
a59ccb36
...
...
@@ -279,7 +279,14 @@ void rx_sdu_NB_IoT(module_id_t module_id, int CC_id, frame_t frame, sub_frame_t
0
);
LOG_D
(
MAC
,
"rx_lengths : %d
\n
"
,
rx_lengths
[
i
]);
msg4_rrc_pdu
=
mac_rrc_msg3_ind_NB_IoT
(
payload_ptr
,
rnti
,
rx_lengths
[
i
]);
receive_msg3_NB_IoT
(
mac_inst
,
rnti
,
PHR
,
ul_total_buffer
,
first_6
,
msg4_rrc_pdu
);
if
(
Valid_msg3
==
1
)
{
receive_msg3_NB_IoT
(
mac_inst
,
rnti
,
PHR
,
ul_total_buffer
,
first_6
,
msg4_rrc_pdu
);
}
else
{
LOG_E
(
MAC
,
"Not available RA here
\n
"
);
Valid_msg3
=
1
;
}
LOG_I
(
MAC
,
"Contention resolution ID = %02x %02x %02x %02x %02x %02x
\n
"
,
first_6
[
0
],
first_6
[
1
],
first_6
[
2
],
first_6
[
3
],
first_6
[
4
],
first_6
[
5
]);
break
;
case
DCCH0_NB_IoT
:
...
...
openair2/LAYER2/MAC/extern_NB_IoT.h
View file @
a59ccb36
...
...
@@ -122,4 +122,5 @@ extern int extend_alpha_offset[2];
extern
const
int
si_repetition_pattern
[
4
];
extern
int
waiting_flag_from_RLC
;
extern
int
block_RLC
;
extern
int
Valid_msg3
;
#endif //DEF_H
openair2/LAYER2/MAC/vars_NB_IoT.h
View file @
a59ccb36
...
...
@@ -146,6 +146,7 @@ const int si_repetition_pattern[4] = {20, 40, 80, 160};
int
waiting_flag_from_RLC
=
0
;
int
block_RLC
=
0
;
int
Valid_msg3
=
1
;
#endif
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
a59ccb36
...
...
@@ -38,6 +38,7 @@
#include "extern.h"
#include "extern_NB_IoT.h"
#include "LAYER2/MAC/proto_NB_IoT.h"
#include "LAYER2/MAC/extern_NB_IoT.h"
#include "RRC/LITE/MESSAGES/asn1_msg_NB_IoT.h"
#include "RRCConnectionRequest-NB.h"
#include "UL-CCCH-Message-NB.h"
...
...
@@ -223,7 +224,10 @@ uint8_t* mac_rrc_msg3_ind_NB_IoT(uint8_t *payload_ptr, uint16_t rnti, uint32_t l
msg4_rrc_sdu
=
generate_msg4_NB_IoT
(
&
eNB_rrc_inst_NB_IoT
->
carrier
[
0
]);
}
else
{
LOG_E
(
RRC
,
"unknown MSG3 format for NB-IoT for current test
\n
"
);
Valid_msg3
=
0
;
}
return
msg4_rrc_sdu
;
}
...
...
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