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
3fa03965
Commit
3fa03965
authored
Feb 21, 2024
by
Ejaz Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted some changes; added sec label, modified variable name
parent
d7b1a78e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
+2
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
+2
-0
No files found.
openair2/LAYER2/NR_MAC_COMMON/nr_mac.h
View file @
3fa03965
...
@@ -586,7 +586,7 @@ typedef struct {
...
@@ -586,7 +586,7 @@ typedef struct {
uint8_t
R
:
3
;
// 0-2 bits
uint8_t
R
:
3
;
// 0-2 bits
}
__attribute__
((
__packed__
))
nr_sl_csi_report_t
;
}
__attribute__
((
__packed__
))
nr_sl_csi_report_t
;
// 38321 sec. 6.1.3.3
5
// 38321 sec. 6.1.3.3
4
typedef
struct
{
typedef
struct
{
uint8_t
C1
:
1
;
// 1st bit
uint8_t
C1
:
1
;
// 1st bit
uint8_t
C2
:
1
;
// 2nd bit
uint8_t
C2
:
1
;
// 2nd bit
...
@@ -596,7 +596,7 @@ typedef struct {
...
@@ -596,7 +596,7 @@ typedef struct {
uint8_t
C6
:
1
;
// 6th bit
uint8_t
C6
:
1
;
// 6th bit
uint8_t
C7
:
1
;
// 7th bit
uint8_t
C7
:
1
;
// 7th bit
uint8_t
C8
:
1
;
// 8th bit
uint8_t
C8
:
1
;
// 8th bit
}
__attribute__
((
__packed__
))
nr_sl_config_grant
;
}
__attribute__
((
__packed__
))
nr_sl_config_grant
_t
;
typedef
enum
{
typedef
enum
{
NR_SRS_SRI_0
=
0
,
NR_SRS_SRI_0
=
0
,
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
View file @
3fa03965
...
@@ -738,6 +738,8 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
...
@@ -738,6 +738,8 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
uint16_t
mac_len
=
0x0000
;
uint16_t
mac_len
=
0x0000
;
uint16_t
mac_subheader_len
=
0x0001
;
// default to fixed-length subheader = 1-oct
uint16_t
mac_subheader_len
=
0x0001
;
// default to fixed-length subheader = 1-oct
uint8_t
rx_lcid
=
((
NR_MAC_SUBHEADER_LONG
*
)(
pduP
+
sizeof
(
NR_SLSCH_MAC_SUBHEADER_FIXED
)))
->
LCID
;
uint8_t
rx_lcid
=
((
NR_MAC_SUBHEADER_LONG
*
)(
pduP
+
sizeof
(
NR_SLSCH_MAC_SUBHEADER_FIXED
)))
->
LCID
;
LOG_D
(
NR_MAC
,
"[UE %x] LCID %d, PDU length %d
\n
"
,
mac
->
src_id
,
rx_lcid
,
pdu_len
);
switch
(
rx_lcid
){
switch
(
rx_lcid
){
// MAC CE
// MAC CE
case
SL_SCH_LCID_4_19
:
case
SL_SCH_LCID_4_19
:
...
...
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