forked from osmocom/wireshark
NAS EPS: use E212_TAI fields for TAI and TAI List Information Elements
Change-Id: If53bfea77ad27b41823d3a653513b71604b92d49 Reviewed-on: https://code.wireshark.org/review/18464 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
40ce00fc8b
commit
517e777816
|
@ -1703,7 +1703,7 @@ de_emm_trac_area_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
|
|||
|
||||
curr_offset = offset;
|
||||
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_NONE, TRUE);
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_TAI, TRUE);
|
||||
proto_tree_add_item(tree, hf_nas_eps_emm_tai_tac, tvb, curr_offset, 2, ENC_BIG_ENDIAN);
|
||||
curr_offset+=2;
|
||||
|
||||
|
@ -1762,7 +1762,7 @@ de_emm_trac_area_id_lst(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
|
|||
* MNC digit 3 MCC digit 3 octet 3
|
||||
* MNC digit 2 MNC digit 1 octet 4
|
||||
*/
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_NONE, TRUE);
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_TAI, TRUE);
|
||||
/* type of list = "000" */
|
||||
/* TAC 1 octet 5
|
||||
* TAC 1 (continued) octet 6
|
||||
|
@ -1784,7 +1784,7 @@ de_emm_trac_area_id_lst(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
|
|||
* MNC digit 3 MCC digit 3 octet 3
|
||||
* MNC digit 2 MNC digit 1 octet 4
|
||||
*/
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_NONE, TRUE);
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_TAI, TRUE);
|
||||
proto_tree_add_item_ret_uint(tree, hf_nas_eps_emm_tai_tac, tvb, curr_offset, 2, ENC_BIG_ENDIAN, &tac);
|
||||
curr_offset+=2;
|
||||
for (i = 1; i < n_elem; i++) {
|
||||
|
@ -1803,7 +1803,7 @@ de_emm_trac_area_id_lst(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo,
|
|||
* MNC digit 3 MCC digit 3 octet 3
|
||||
* MNC digit 2 MNC digit 1 octet 4
|
||||
*/
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_NONE, TRUE);
|
||||
curr_offset = dissect_e212_mcc_mnc(tvb, pinfo, tree, curr_offset, E212_TAI, TRUE);
|
||||
proto_tree_add_item(tree, hf_nas_eps_emm_tai_tac, tvb, curr_offset, 2, ENC_BIG_ENDIAN);
|
||||
curr_offset+=2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue