rename filename

This commit is contained in:
Sukchan Lee 2019-07-06 22:52:09 +09:00
parent 89ed2dda88
commit 0bbc5124e7
95 changed files with 11 additions and 19 deletions

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by gtp-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-11 17:35:40.953361 by acetcom
* Created on: 2019-07-06 22:50:27.017552 by acetcom
* from 29274-d80.docx
******************************************************************************/

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by gtp-tlv.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-11 17:35:40.936758 by acetcom
* Created on: 2019-07-06 22:50:27.011335 by acetcom
* from 29274-d80.docx
******************************************************************************/

View File

@ -161,7 +161,7 @@ else:
d_error("Cannot find file : " + filename)
d_info("[Message List]")
cachefile = cachedir + 'tlv_msg_list.py'
cachefile = cachedir + 'tlv-msg-list.py'
if os.path.isfile(cachefile) and os.access(cachefile, os.R_OK):
execfile(cachefile)
print "Read from " + cachefile
@ -238,7 +238,7 @@ else:
type_list['MM Context'] = { "type": "107", "max_instance" : "0" }
d_info("[Group IE List]")
cachefile = cachedir + 'tlv_group_list.py'
cachefile = cachedir + 'tlv-group-list.py'
if os.path.isfile(cachefile) and os.access(cachefile, os.R_OK):
execfile(cachefile)
print "Read from " + cachefile
@ -334,7 +334,7 @@ msg_list["Modify Access Bearers Response"]["table"] = 87
for key in msg_list.keys():
if "table" in msg_list[key].keys():
d_info("[" + key + "]")
cachefile = cachedir + "tlv_msg_" + msg_list[key]["type"] + ".py"
cachefile = cachedir + "tlv-msg-" + msg_list[key]["type"] + ".py"
if os.path.isfile(cachefile) and os.access(cachefile, os.R_OK):
execfile(cachefile)
print "Read from " + cachefile

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by nas-message.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-21 14:10:51.931135 by acetcom
* Created on: 2019-07-06 22:48:01.560467 by acetcom
* from 24301-d80.docx
******************************************************************************/

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by nas-message.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-21 14:10:51.957409 by acetcom
* Created on: 2019-07-06 22:48:01.570057 by acetcom
* from 24301-d80.docx
******************************************************************************/

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by nas-message.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-21 14:10:51.889878 by acetcom
* Created on: 2019-07-06 22:48:01.547045 by acetcom
* from 24301-d80.docx
******************************************************************************/
@ -214,8 +214,6 @@ int nas_decode_mobile_identity(nas_mobile_identity_t *mobile_identity, ogs_pkbuf
if (mobile_identity->tmsi.type == NAS_MOBILE_IDENTITY_TMSI)
{
if (mobile_identity->tmsi.spare != 0xf)
ogs_warn("Spec warning : mobile_identity->tmsi.spare = 0x%x", mobile_identity->tmsi.spare);
mobile_identity->tmsi.tmsi = ntohl(mobile_identity->tmsi.tmsi);
}
@ -507,8 +505,6 @@ int nas_decode_eps_mobile_identity(nas_eps_mobile_identity_t *eps_mobile_identit
if (eps_mobile_identity->guti.type == NAS_EPS_MOBILE_IDENTITY_GUTI)
{
if (eps_mobile_identity->guti.spare != 0xf)
ogs_warn("Spec warning : eps_mobile_identy->spare = 0x%x", eps_mobile_identity->guti.spare);
eps_mobile_identity->guti.mme_gid = ntohs(eps_mobile_identity->guti.mme_gid);
eps_mobile_identity->guti.m_tmsi = ntohl(eps_mobile_identity->guti.m_tmsi);
}

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by nas-message.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-21 14:10:51.884139 by acetcom
* Created on: 2019-07-06 22:48:01.544954 by acetcom
* from 24301-d80.docx
******************************************************************************/

View File

@ -20,7 +20,7 @@
/*******************************************************************************
* This file had been created by nas-message.py script v0.1.0
* Please do not modify this file but regenerate it via script.
* Created on: 2019-06-21 14:10:51.908774 by acetcom
* Created on: 2019-07-06 22:48:01.552798 by acetcom
* from 24301-d80.docx
******************************************************************************/

View File

@ -258,7 +258,7 @@ for key in msg_list.keys():
continue;
d_info("[" + key + "]")
cachefile = cachedir + "nas_msg_" + msg_list[key]["type"] + ".py"
cachefile = cachedir + "nas-msg-" + msg_list[key]["type"] + ".py"
if os.path.isfile(cachefile) and os.access(cachefile, os.R_OK):
execfile(cachefile)
print "Read from " + cachefile

View File

@ -34,8 +34,6 @@ type_list["Tracking area identity"]["encode"] = \
type_list["Mobile identity"]["decode"] = \
" if (mobile_identity->tmsi.type == NAS_MOBILE_IDENTITY_TMSI)\n" \
" {\n" \
" if (mobile_identity->tmsi.spare != 0xf)\n" \
" ogs_warn(\"Spec warning : mobile_identity->tmsi.spare = 0x%x\", mobile_identity->tmsi.spare);\n" \
" mobile_identity->tmsi.tmsi = ntohl(mobile_identity->tmsi.tmsi);\n" \
" }\n\n"
type_list["Mobile identity"]["encode"] = \
@ -48,8 +46,6 @@ type_list["Mobile identity"]["encode"] = \
type_list["EPS mobile identity"]["decode"] = \
" if (eps_mobile_identity->guti.type == NAS_EPS_MOBILE_IDENTITY_GUTI)\n" \
" {\n" \
" if (eps_mobile_identity->guti.spare != 0xf)\n" \
" ogs_warn(\"Spec warning : eps_mobile_identy->spare = 0x%x\", eps_mobile_identity->guti.spare);\n" \
" eps_mobile_identity->guti.mme_gid = ntohs(eps_mobile_identity->guti.mme_gid);\n" \
" eps_mobile_identity->guti.m_tmsi = ntohl(eps_mobile_identity->guti.m_tmsi);\n" \
" }\n\n"