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
Michael Black
OpenXG-RAN
Commits
4d98e76d
Commit
4d98e76d
authored
Jun 11, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rach being generated I think
parent
1dc4eb00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
openair2/LAYER2/MAC/ra_procedures.c
openair2/LAYER2/MAC/ra_procedures.c
+1
-1
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+2
-2
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+0
-6
No files found.
openair2/LAYER2/MAC/ra_procedures.c
View file @
4d98e76d
...
...
@@ -293,7 +293,7 @@ PRACH_RESOURCES_t *ue_get_rach(module_id_t module_idP, int CC_id,
LOG_E
(
MAC
,
"got inside ue_get_rach
\n
"
);
// Modification for phy_stub_ue operation
if
(
NFAPI_MODE
==
NFAPI_UE_STUB_PNF
)
{
// phy_stub_ue mode
if
(
NFAPI_MODE
==
NFAPI_UE_STUB_PNF
||
NFAPI_MODE
==
NFAPI_MODE_STANDALONE_PNF
)
{
// phy_stub_ue mode
UE_mode
=
UE_mac_inst
[
module_idP
].
UE_mode
[
0
];
LOG_D
(
MAC
,
"ue_get_rach , UE_mode: %d"
,
UE_mode
);
}
else
{
// Full stack mode
...
...
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
4d98e76d
...
...
@@ -96,8 +96,8 @@ void *get_queue(queue_t *q) {
}
extern
nfapi_tx_request_pdu_t
*
tx_request_pdu
[
1023
][
10
][
10
];
//
extern int timer_subframe;
//
extern int timer_frame;
extern
int
timer_subframe
;
extern
int
timer_frame
;
extern
uint16_t
sf_ahead
;
...
...
targets/RT/USER/lte-ue.c
View file @
4d98e76d
...
...
@@ -1296,12 +1296,6 @@ static void *UE_phy_stub_single_thread_rxn_txnp4(void *arg)
next_ra_frame
++
;
if
(
next_ra_frame
>
500
)
{
// check if we have PRACH opportunity
// LOG_I(MAC, "is_prach_subframe: %d UE_mac_inst[ue_MOD_id].SI_Decoded: %u\n",
// is_prach_subframe(&UE->frame_parms, proc->frame_tx, proc->subframe_tx),
// UE_mac_inst[ue_Mod_id].SI_Decoded);
LOG_I
(
MAC
,
"is_prach_subframe: %d UE_mac_inst %d
\n
"
,
is_prach_subframe
(
&
UE
->
frame_parms
,
proc
->
frame_tx
,
proc
->
subframe_tx
),
UE_mac_inst
[
ue_Mod_id
].
SI_Decoded
);
if
(
is_prach_subframe
(
&
UE
->
frame_parms
,
proc
->
frame_tx
,
proc
->
subframe_tx
)
&&
UE_mac_inst
[
ue_Mod_id
].
SI_Decoded
==
1
)
{
// The one working strangely...
//if (is_prach_subframe(&UE->frame_parms,proc->frame_tx, proc->subframe_tx && Mod_id == (module_id_t) init_ra_UE) ) {
...
...
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