Skip to content

Commit

Permalink
DCT2000: when dissecting mac-nr frame, fill in sfn/sf into struct
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMathieson committed Oct 5, 2023
1 parent 84da1d8 commit bce8c7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions epan/dissectors/packet-catapult-dct2000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2930,6 +2930,11 @@ dissect_catapult_dct2000(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, vo

p_mac_nr_info->length = length;

/* Always present. TODO: miss out if both zero? */
p_mac_nr_info->sfnSlotInfoPresent = TRUE;
p_mac_nr_info->sysframeNumber = sfn;
p_mac_nr_info->slotNumber = sn; /* only right if mu==0, but don't know SCS */

/* Store info in packet */
set_mac_nr_proto_data(pinfo, p_mac_nr_info);

Expand Down

0 comments on commit bce8c7f

Please sign in to comment.