Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
5a649b21
Commit
5a649b21
authored
Feb 15, 2016
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small bugfix + cosmetic changes
parent
29e6833c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
openair1/SCHED/phy_mac_stub.c
openair1/SCHED/phy_mac_stub.c
+3
-2
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+5
-2
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+4
-4
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+3
-3
No files found.
openair1/SCHED/phy_mac_stub.c
View file @
5a649b21
...
...
@@ -194,6 +194,7 @@ void fill_dci(DCI_PDU *DCI_pdu, uint8_t sched_subframe, PHY_VARS_eNB *phy_vars_e
break
;
}
break
;
//subframe switch
/*
case 6:
...
...
@@ -235,7 +236,7 @@ void fill_dci(DCI_PDU *DCI_pdu, uint8_t sched_subframe, PHY_VARS_eNB *phy_vars_e
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
rballoc
=
rballoc
;
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
TPC
=
0
;
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
harq_pid
=
DLSCH_ptr
->
harq_pid_freelist
[
DLSCH_ptr
->
head_freelist
];
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
mcs
=
subframe
*
3
;
//
openair_daq_vars.target_ue_dl_mcs;
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
mcs
=
openair_daq_vars
.
target_ue_dl_mcs
;
//((DCI1_5MHz_FDD_t *)&dlsch_pdu)->mcs = (unsigned char) ((phy_vars_eNB->frame%1024)%28);
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
ndi
=
phy_vars_eNB
->
proc
[
sched_subframe
].
frame_tx
&
1
;
((
DCI1_5MHz_FDD_t
*
)
&
dlsch_pdu
)
->
rv
=
0
;
...
...
@@ -471,7 +472,7 @@ void fill_dci(DCI_PDU *DCI_pdu, uint8_t sched_subframe, PHY_VARS_eNB *phy_vars_e
phy_vars_eNB
->
eNB_UE_stats
[
1
].
DL_pmi_single
=
(
phy_vars_eNB
->
eNB_UE_stats
[
0
].
DL_pmi_single
^
0x1555
);
}
break
;
break
;
//subframe switch
/*
case 8:
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
5a649b21
...
...
@@ -1161,7 +1161,10 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e
UE_id
=
i
;
if
(
UE_id
>=
0
)
{
// dump_dci(&phy_vars_eNB->lte_frame_parms,&DCI_pdu->dci_alloc[i]);
if
((
frame
%
100
)
==
0
)
{
LOG_D
(
PHY
,
"Frame %3d, SF %d
\n
"
,
frame
,
subframe
);
dump_dci
(
&
phy_vars_eNB
->
lte_frame_parms
,
&
DCI_pdu
->
dci_alloc
[
i
]);
}
#if defined(SMBV) && !defined(EXMIMO)
// Configure this user
if
(
smbv_is_config_frame
(
phy_vars_eNB
->
proc
[
sched_subframe
].
frame_tx
)
&&
(
smbv_frame_cnt
<
4
))
{
...
...
@@ -1232,7 +1235,7 @@ void phy_procedures_eNB_TX(unsigned char sched_subframe,PHY_VARS_eNB *phy_vars_e
if
(
harq_pid
==
255
)
{
LOG_E
(
PHY
,
"[eNB %"
PRIu8
"] Frame %d: Bad harq_pid for ULSCH allocation
\n
"
,
phy_vars_eNB
->
Mod_id
,
phy_vars_eNB
->
proc
[
sched_subframe
].
frame_tx
);
//mac_exit_wrapper("Invalid harq_pid (255) detected");
return
;
// not reached
return
;
}
if
(
phy_vars_eNB
->
mac_enabled
==
1
)
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
5a649b21
...
...
@@ -446,7 +446,7 @@ uint16_t get_n1_pucch(PHY_VARS_UE *phy_vars_ue,
if
(
frame_parms
->
frame_type
==
FDD
)
{
// FDD
sf
=
(
subframe
<
4
)
?
subframe
+
6
:
subframe
-
4
;
printf
(
"n1_pucch_UE: subframe %d, nCCE %d
\n
"
,
sf
,
phy_vars_ue
->
lte_ue_pdcch_vars
[
eNB_id
]
->
nCCE
[
sf
]);
LOG_D
(
PHY
,
"n1_pucch_UE: subframe %d, nCCE %d
\n
"
,
sf
,
phy_vars_ue
->
lte_ue_pdcch_vars
[
eNB_id
]
->
nCCE
[
sf
]);
if
(
SR
==
0
)
return
(
frame_parms
->
pucch_config_common
.
n1PUCCH_AN
+
phy_vars_ue
->
lte_ue_pdcch_vars
[
eNB_id
]
->
nCCE
[
sf
]);
...
...
@@ -2083,10 +2083,10 @@ int lte_ue_pdcch_procedures(uint8_t eNB_id,PHY_VARS_UE *phy_vars_ue,uint8_t abst
#ifdef DEBUG_PHY_PROC
// if (subframe_rx == 9) { //
( frame_rx % 100 == 0) {
if
(
frame_rx
%
100
==
0
)
{
LOG_D
(
PHY
,
"frame %d, subframe %d, rnti %x: dci %d/%d
\n
"
,
frame_rx
,
subframe_rx
,
phy_vars_ue
->
lte_ue_pdcch_vars
[
eNB_id
]
->
crnti
,
i
,
dci_cnt
);
//
dump_dci(&phy_vars_ue->lte_frame_parms, &dci_alloc_rx[i]);
//
}
dump_dci
(
&
phy_vars_ue
->
lte_frame_parms
,
&
dci_alloc_rx
[
i
]);
}
#endif
...
...
targets/RT/USER/lte-softmodem.c
View file @
5a649b21
...
...
@@ -427,7 +427,7 @@ void help (void) {
printf
(
" -d Enable soft scope and L1 and L2 stats (Xforms)
\n
"
);
printf
(
" -F Calibrate the EXMIMO borad, available files: exmimo2_2arxg.lime exmimo2_2brxg.lime
\n
"
);
printf
(
" -g Set the global log level, valide options: (9:trace, 8/7:debug, 6:info, 4:warn, 3:error)
\n
"
);
printf
(
" -G Set the global log
level
\n
"
);
printf
(
" -G Set the global log
verbosity
\n
"
);
printf
(
" -h provides this help message!
\n
"
);
printf
(
" -K Generate ITTI analyzser logs (similar to wireshark logs but with more details)
\n
"
);
printf
(
" -m Set the maximum downlink MCS
\n
"
);
...
...
@@ -2564,8 +2564,8 @@ int main( int argc, char **argv )
if
(
UE_flag
==
1
)
{
printf
(
"configuring for UE
\n
"
);
set_comp_log
(
HW
,
LOG_
INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
PHY
,
LOG_
INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
HW
,
LOG_
DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
PHY
,
LOG_
DEBUG
,
LOG_HIGH
,
1
);
set_comp_log
(
MAC
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
RLC
,
LOG_INFO
,
LOG_HIGH
,
1
);
set_comp_log
(
PDCP
,
LOG_INFO
,
LOG_HIGH
,
1
);
...
...
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