dect
/
libdect
Archived
13
0
Fork 0

mm: fix model identifier placement in MM messages

Model Identifier IEs are located after IWU-to-IWU IEs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-02-28 14:06:52 +01:00
parent ef2884c634
commit bdaa02113d
2 changed files with 4 additions and 4 deletions

View File

@ -50,8 +50,8 @@ struct dect_mm_access_rights_accept_msg {
struct dect_ie_zap_field *zap_field;
struct dect_ie_service_class *service_class;
struct dect_ie_setup_capability *setup_capability;
struct dect_ie_model_identifier *model_identifier;
struct dect_ie_iwu_to_iwu *iwu_to_iwu;
struct dect_ie_model_identifier *model_identifier;
struct dect_ie_escape_to_proprietary *escape_to_proprietary;
struct dect_ie_codec_list *codec_list;
};
@ -168,8 +168,8 @@ struct dect_mm_identity_reply_msg {
struct dect_ie_list portable_identity;
struct dect_ie_list fixed_identity;
struct dect_ie_list nwk_assigned_identity;
struct dect_ie_model_identifier *model_identifier;
struct dect_ie_list iwu_to_iwu;
struct dect_ie_model_identifier *model_identifier;
struct dect_ie_escape_to_proprietary *escape_to_proprietary;
};

View File

@ -33,8 +33,8 @@ static DECT_SFMT_MSG_DESC(mm_access_rights_accept,
DECT_SFMT_IE(S_VL_IE_ZAP_FIELD, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_SERVICE_CLASS, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_SETUP_CAPABILITY, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_MODEL_IDENTIFIER, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_IWU_TO_IWU, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_MODEL_IDENTIFIER, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_ESCAPE_TO_PROPRIETARY, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE(S_VL_IE_CODEC_LIST, IE_OPTIONAL, IE_NONE, 0),
DECT_SFMT_IE_END_MSG
@ -161,9 +161,9 @@ static DECT_SFMT_MSG_DESC(mm_identity_reply,
DECT_SFMT_IE(S_VL_IE_FIXED_IDENTITY, IE_NONE, IE_OPTIONAL, DECT_SFMT_IE_REPEAT),
DECT_SFMT_IE(S_SO_IE_REPEAT_INDICATOR, IE_NONE, IE_OPTIONAL, 0),
DECT_SFMT_IE(S_VL_IE_NWK_ASSIGNED_IDENTITY, IE_NONE, IE_OPTIONAL, DECT_SFMT_IE_REPEAT),
DECT_SFMT_IE(S_VL_IE_MODEL_IDENTIFIER, IE_NONE, IE_OPTIONAL, 0),
DECT_SFMT_IE(S_SO_IE_REPEAT_INDICATOR, IE_NONE, IE_OPTIONAL, 0),
DECT_SFMT_IE(S_VL_IE_IWU_TO_IWU, IE_NONE, IE_OPTIONAL, DECT_SFMT_IE_REPEAT),
DECT_SFMT_IE(S_VL_IE_MODEL_IDENTIFIER, IE_NONE, IE_OPTIONAL, 0),
DECT_SFMT_IE(S_VL_IE_ESCAPE_TO_PROPRIETARY, IE_NONE, IE_OPTIONAL, 0),
DECT_SFMT_IE_END_MSG
);