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:
parent
ef2884c634
commit
bdaa02113d
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
4
src/mm.c
4
src/mm.c
|
@ -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
|
||||
);
|
||||
|
|
Reference in New Issue