Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
44f7d431
Commit
44f7d431
authored
Dec 20, 2013
by
gauthier
Browse files
Very small fixes
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4796
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
dbc78cfb
Changes
3
Hide whitespace changes
Inline
Side-by-side
openair3/RAL-LTE/INTERFACE-802.21/C/MIH_C_F4_data_types_for_links_codec.c
View file @
44f7d431
...
...
@@ -773,8 +773,8 @@ inline void MIH_C_LINK_TUPLE_ID_encode(Bit_Buffer_t* bbP, MIH_C_LINK_TUPLE_ID_T
MIH_C_LINK_ID_encode
(
bbP
,
&
dataP
->
link_id
);
MIH_C_CHOICE_encode
(
bbP
,
&
dataP
->
choice
);
switch
(
dataP
->
choice
)
{
case
0
:
break
;
case
1
:
MIH_C_LINK_ADDR_encode
(
bbP
,
&
dataP
->
_union
.
link_addr
);
break
;
case
MIH_C_LINK_TUPLE_ID_CHOICE_NULL
:
break
;
case
MIH_C_LINK_TUPLE_ID_CHOICE_LINK_ADDR
:
MIH_C_LINK_ADDR_encode
(
bbP
,
&
dataP
->
_union
.
link_addr
);
break
;
default:
printf
(
"[MIH_C] ERROR NO KNOWN VALUE FOR ENCODING CHOICE OF MIH_C_LINK_TUPLE_ID_T %d
\n
"
,
dataP
->
choice
);
}
...
...
@@ -785,8 +785,8 @@ inline void MIH_C_LINK_TUPLE_ID_decode(Bit_Buffer_t* bbP, MIH_C_LINK_TUPLE_ID_T
MIH_C_LINK_ID_decode
(
bbP
,
&
dataP
->
link_id
);
MIH_C_CHOICE_decode
(
bbP
,
&
dataP
->
choice
);
switch
(
dataP
->
choice
)
{
case
0
:
break
;
case
1
:
MIH_C_LINK_ADDR_decode
(
bbP
,
&
dataP
->
_union
.
link_addr
);
break
;
case
MIH_C_LINK_TUPLE_ID_CHOICE_NULL
:
break
;
case
MIH_C_LINK_TUPLE_ID_CHOICE_LINK_ADDR
:
MIH_C_LINK_ADDR_decode
(
bbP
,
&
dataP
->
_union
.
link_addr
);
break
;
default:
printf
(
"[MIH_C] ERROR NO KNOWN VALUE FOR DECODING CHOICE OF MIH_C_LINK_TUPLE_ID_T %d
\n
"
,
dataP
->
choice
);
}
...
...
openair3/RAL-LTE/INTERFACE-802.21/C/MIH_C_bit_buffer.c
View file @
44f7d431
...
...
@@ -5,6 +5,7 @@
#include <assert.h>
#include <string.h>
#include <arpa/inet.h>
#include <stdio.h>
//-----------------------------------------------------------------------------
#include "MIH_C_bit_buffer.h"
//-----------------------------------------------------------------------------
...
...
openair3/RAL-LTE/INTERFACE-802.21/INCLUDE/MIH_C_Types.h
View file @
44f7d431
...
...
@@ -1459,6 +1459,12 @@ TYPEDEF_UNSIGNED_INT1(MIH_C_LINK_PARAM_GEN)
* 6–255: (Reserved)
*/
TYPEDEF_UNSIGNED_INT1
(
MIH_C_LINK_PARAM_QOS
)
#define MIH_C_LINK_PARAM_QOS_MAX_NUM_DIF_COS_SUPPORTED (MIH_C_LINK_PARAM_QOS_T)0
#define MIH_C_LINK_PARAM_QOS_MIN_PACKET_TRANSFER_DELAY_ALL_COS (MIH_C_LINK_PARAM_QOS_T)1
#define MIH_C_LINK_PARAM_QOS_AVG_PACKET_TRANSFER_DELAY_ALL_COS (MIH_C_LINK_PARAM_QOS_T)2
#define MIH_C_LINK_PARAM_QOS_MAX_PACKET_TRANSFER_DELAY_ALL_COS (MIH_C_LINK_PARAM_QOS_T)3
#define MIH_C_LINK_PARAM_QOS_STD_DEVIATION_PACKET_TRANSFER_DELAY (MIH_C_LINK_PARAM_QOS_T)4
#define MIH_C_LINK_PARAM_QOS_PACKET_LOSS_RATE_ALL_COS_FRAME_RATIO (MIH_C_LINK_PARAM_QOS_T)5
//-------------------------------------------
/*! \var MIH_C_LINK_PARAM_GG_T
* \ingroup MIH_C_F4_DATA_TYPES_FOR_LINKS_CODEC
...
...
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