Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
2d50ad0b
Commit
2d50ad0b
authored
11 years ago
by
gauthier
Browse files
Options
Downloads
Patches
Plain Diff
list init
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4830
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
d3d70215
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Link_Primitives.h
+2
-2
2 additions, 2 deletions
.../RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Link_Primitives.h
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Types.h
+6
-1
6 additions, 1 deletion
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Types.h
with
8 additions
and
3 deletions
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Link_Primitives.h
+
2
−
2
View file @
2d50ad0b
...
...
@@ -200,8 +200,8 @@ typedef struct MIH_C_Link_Configure_Thresholds_request
LIST
(
MIH_C_LINK_CFG_PARAM
,
LinkConfigureParameterList
)
/*!< \brief A list of link threshold parameters.*/
}
__attribute__
((
__packed__
))
MIH_C_Link_Configure_Thresholds_request_t
;
TYPEDEF_LIST
(
MIH_C_LINK_CFG_STATUS
,
16
);
#define MIH_C_LINK_CFG_STATUS_LIST_LENGTH 16
TYPEDEF_LIST
(
MIH_C_LINK_CFG_STATUS
,
MIH_C_LINK_CFG_STATUS_LIST_LENGTH
);
/*! \struct MIH_C_Link_Configure_Thresholds_confirm
* \brief Structure defining the Link_Configure_Thresholds.confirm MIH_LINK_SAP primitive (see IEEE Std 802.21-2008 7.3.13.2 Link_Configure_Thresholds.confirm)
*/
...
...
This diff is collapsed.
Click to expand it.
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Types.h
+
6
−
1
View file @
2d50ad0b
...
...
@@ -546,13 +546,18 @@ u_int16_t MIH_C_LIST_LENGTH_get_encode_length(u_int16_t lengthP);
DATA_TYPE_NAME
##
_encode
(
bbP
,
&
listP
->
val
[
index
++
]);
\
}
\
}
\
};
\
inline
void
DATA_TYPE_NAME
##
_LIST_init
(
DATA_TYPE_NAME
##
_LIST_T
*
listP
)
{
\
listP
->
length
=
0
;
\
memset
(
listP
->
val
,
0
,
MAX_LENGTH
*
sizeof
(
DATA_TYPE_NAME
##
_T
));
\
};
#else
#define TYPEDEF_LIST(DATA_TYPE_NAME, MAX_LENGTH) typedef struct DATA_TYPE_NAME ## _LIST { u_int16_t length; DATA_TYPE_NAME ## _T val[MAX_LENGTH];} DATA_TYPE_NAME ## _LIST_T;\
extern
unsigned
int
DATA_TYPE_NAME
##
_LIST2String
(
DATA_TYPE_NAME
##
_LIST_T
*
listP
,
char
*
bufP
);
\
extern
void
DATA_TYPE_NAME
##
_LIST_decode
(
Bit_Buffer_t
*
bbP
,
DATA_TYPE_NAME
##
_LIST_T
*
listP
);
\
extern
void
DATA_TYPE_NAME
##
_LIST_encode
(
Bit_Buffer_t
*
bbP
,
DATA_TYPE_NAME
##
_LIST_T
*
listP
);
extern
void
DATA_TYPE_NAME
##
_LIST_encode
(
Bit_Buffer_t
*
bbP
,
DATA_TYPE_NAME
##
_LIST_T
*
listP
);
\
extern
void
DATA_TYPE_NAME
##
_LIST_init
(
DATA_TYPE_NAME
##
_LIST_T
*
listP
);
#endif
#define LIST(DATA_TYPE_NAME, VAR_NAME) DATA_TYPE_NAME ## _LIST_T VAR_NAME ## _list;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment