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
zzha zzha
OpenXG-RAN
Commits
4f653c84
Commit
4f653c84
authored
Dec 08, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR-UE-store-allowed-nssai' into integration_2023_w49
parents
1f0e5bd6
d61c4f10
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
172 additions
and
24 deletions
+172
-24
openair2/COMMON/as_message.h
openair2/COMMON/as_message.h
+7
-0
openair2/COMMON/rrc_messages_def.h
openair2/COMMON/rrc_messages_def.h
+1
-0
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+1
-0
openair3/NAS/NR_UE/nr_nas_msg_sim.c
openair3/NAS/NR_UE/nr_nas_msg_sim.c
+147
-22
openair3/NAS/NR_UE/nr_nas_msg_sim.h
openair3/NAS/NR_UE/nr_nas_msg_sim.h
+8
-0
openair3/UTILS/conversions.h
openair3/UTILS/conversions.h
+8
-2
No files found.
openair2/COMMON/as_message.h
View file @
4f653c84
...
@@ -464,6 +464,13 @@ typedef ul_info_transfer_cnf_t dl_info_transfer_cnf_t;
...
@@ -464,6 +464,13 @@ typedef ul_info_transfer_cnf_t dl_info_transfer_cnf_t;
*/
*/
typedef
ul_info_transfer_ind_t
dl_info_transfer_ind_t
;
typedef
ul_info_transfer_ind_t
dl_info_transfer_ind_t
;
typedef
struct
nas_pdu_session_req_s
{
int
pdusession_id
;
int
pdusession_type
;
int
sst
;
int
sd
;
}
nas_pdu_session_req_t
;
/*
/*
* --------------------------------------------------------------------------
* --------------------------------------------------------------------------
* Radio Access Bearer establishment
* Radio Access Bearer establishment
...
...
openair2/COMMON/rrc_messages_def.h
View file @
4f653c84
...
@@ -82,3 +82,4 @@ MESSAGE_DEF(NRRRC_FRAME_PROCESS, MESSAGE_PRIORITY_MED, NRRrcFramePr
...
@@ -82,3 +82,4 @@ MESSAGE_DEF(NRRRC_FRAME_PROCESS, MESSAGE_PRIORITY_MED, NRRrcFramePr
// eNB: RLC -> RRC messages
// eNB: RLC -> RRC messages
MESSAGE_DEF
(
RLC_SDU_INDICATION
,
MESSAGE_PRIORITY_MED
,
RlcSduIndication
,
rlc_sdu_indication
)
MESSAGE_DEF
(
RLC_SDU_INDICATION
,
MESSAGE_PRIORITY_MED
,
RlcSduIndication
,
rlc_sdu_indication
)
MESSAGE_DEF
(
NAS_PDU_SESSION_REQ
,
MESSAGE_PRIORITY_MED
,
nas_pdu_session_req_t
,
nas_pdu_session_req
)
openair2/COMMON/rrc_messages_types.h
View file @
4f653c84
...
@@ -92,6 +92,7 @@
...
@@ -92,6 +92,7 @@
#define NRDuDlReq(mSGpTR) (mSGpTR)->ittiMsg.nr_du_dl_req
#define NRDuDlReq(mSGpTR) (mSGpTR)->ittiMsg.nr_du_dl_req
#define NAS_OAI_TUN_NSA(mSGpTR) (mSGpTR)->ittiMsg.nas_oai_tun_nsa
#define NAS_OAI_TUN_NSA(mSGpTR) (mSGpTR)->ittiMsg.nas_oai_tun_nsa
#define NAS_PDU_SESSION_REQ(mSGpTR) (mSGpTR)->ittiMsg.nas_pdu_session_req
//-------------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------//
typedef
struct
RrcStateInd_s
{
typedef
struct
RrcStateInd_s
{
...
...
openair3/NAS/NR_UE/nr_nas_msg_sim.c
View file @
4f653c84
This diff is collapsed.
Click to expand it.
openair3/NAS/NR_UE/nr_nas_msg_sim.h
View file @
4f653c84
...
@@ -73,6 +73,14 @@
...
@@ -73,6 +73,14 @@
#define PAYLOAD_CONTAINER_LENGTH_MIN 3
#define PAYLOAD_CONTAINER_LENGTH_MIN 3
#define PAYLOAD_CONTAINER_LENGTH_MAX 65537
#define PAYLOAD_CONTAINER_LENGTH_MAX 65537
/* List of allowed NSSAI from NAS messaging. */
typedef
struct
{
int
sst
;
int
hplmn_sst
;
int
sd
;
int
hplmn_sd
;
}
nr_nas_msg_snssai_t
;
/* Security Key for SA UE */
/* Security Key for SA UE */
typedef
struct
{
typedef
struct
{
uint8_t
kausf
[
32
];
uint8_t
kausf
[
32
];
...
...
openair3/UTILS/conversions.h
View file @
4f653c84
...
@@ -34,13 +34,19 @@
...
@@ -34,13 +34,19 @@
(((x & 0x00FF) << 8) | ((x & 0xFF00) >> 8)
(((x & 0x00FF) << 8) | ((x & 0xFF00) >> 8)
# define ntoh_int32_buf(bUF) \
# define ntoh_int32_buf(bUF) \
((*(
bUF)) << 24) | ((*((bUF) + 1)) << 16) | ((*((bUF)
+ 2)) << 8) \
((*(
(uint8_t*)bUF)) << 24) | ((*((uint8_t*)bUF + 1)) << 16) | ((*((uint8_t*)bUF
+ 2)) << 8) \
| (*((
bUF)
+ 3))
| (*((
uint8_t*)bUF
+ 3))
#else
#else
# define hton_int32(x) (x)
# define hton_int32(x) (x)
# define hton_int16(x) (x)
# define hton_int16(x) (x)
#endif
#endif
#define ntoh_int24_buf(bUF) \
((*(uint8_t*)bUF << 16) | ((*((uint8_t*)bUF + 1)) << 8) | (*((uint8_t*)bUF + 2)))
#define ntoh_int16_buf(bUF) \
((*((uint8_t*)bUF) << 8) | (*((uint8_t*)bUF + 1)))
#define IN_ADDR_TO_BUFFER(X,bUFF) INT32_TO_BUFFER((X).s_addr,(char*)bUFF)
#define IN_ADDR_TO_BUFFER(X,bUFF) INT32_TO_BUFFER((X).s_addr,(char*)bUFF)
#define IN6_ADDR_TO_BUFFER(X,bUFF) \
#define IN6_ADDR_TO_BUFFER(X,bUFF) \
...
...
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