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
e93545bc
Commit
e93545bc
authored
Aug 27, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
d0c1bc43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
225 additions
and
235 deletions
+225
-235
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+225
-235
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
e93545bc
...
...
@@ -3139,7 +3139,6 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
LOG_D
(
MAC
,
"[UE] LCID %d, PDU length %d
\n
"
,
rx_lcid
,
pdu_len
);
switch
(
rx_lcid
){
// MAC CE
case
DL_SCH_LCID_CCCH
:
// MSG4 RRC Setup 38.331
// variable length
...
...
@@ -3176,7 +3175,6 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
nr_mac_rrc_data_ind_ue
(
module_idP
,
CC_id
,
gNB_index
,
frameP
,
0
,
mac
->
crnti
,
CCCH
,
pduP
+
mac_subheader_len
,
mac_sdu_len
);
}
break
;
case
DL_SCH_LCID_TCI_STATE_ACT_UE_SPEC_PDSCH
:
// 38.321 Ch6.1.3.14
...
...
@@ -3218,7 +3216,6 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
mac_subheader_len
=
3
;
}
break
;
case
DL_SCH_LCID_RECOMMENDED_BITRATE
:
// 38.321 Ch6.1.3.20
mac_ce_len
=
2
;
...
...
@@ -3308,21 +3305,16 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
ra
->
RA_active
=
0
;
}
}
break
;
case
DL_SCH_LCID_PADDING
:
done
=
1
;
// end of MAC PDU, can ignore the rest.
break
;
// MAC SDU
case
DL_SCH_LCID_DCCH
:
// check if LCID is valid at current time.
case
DL_SCH_LCID_DCCH1
:
// check if LCID is valid at current time.
default:
// check if LCID is valid at current time.
if
(((
NR_MAC_SUBHEADER_SHORT
*
)
pduP
)
->
F
){
...
...
@@ -3347,7 +3339,6 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
LOG_T
(
MAC
,
"
\n
"
);
#endif
// if (IS_SOFTMODEM_NOS1){
if
(
rx_lcid
<
NB_RB_MAX
&&
rx_lcid
>=
DL_SCH_LCID_DCCH
)
{
mac_rlc_data_ind
(
module_idP
,
...
...
@@ -3364,7 +3355,6 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
}
else
{
LOG_E
(
MAC
,
"[UE %d] Frame %d : unknown LCID %d (gNB %d)
\n
"
,
module_idP
,
frameP
,
rx_lcid
,
gNB_index
);
}
// }
break
;
}
...
...
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