3 * Common tap definitions for LTE and NR MAC protocols
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
13 #include "ws_symbol_export.h"
16 /* For LTE, mapped to 0 to 10 and 32 to 38 */
17 #define MAC_3GPP_DATA_LCID_COUNT_MAX 33
22 typedef struct mac_3gpp_tap_info
{
26 /* Info from context */
30 uint8_t isPredefinedData
;
32 int crcStatus
; // mac_lte_crc_status
39 /* Number of bytes (which part is used depends upon context settings) */
40 uint32_t single_number_of_bytes
;
41 uint32_t bytes_for_lcid
[MAC_3GPP_DATA_LCID_COUNT_MAX
];
42 uint32_t sdus_for_lcid
[MAC_3GPP_DATA_LCID_COUNT_MAX
];
43 uint8_t number_of_rars
;
44 uint8_t number_of_paging_ids
;
46 /* Number of padding bytes includes padding subheaders and trailing padding */
47 uint16_t padding_bytes
;
52 * Editor modelines - https://www.wireshark.org/tools/modelines.html
57 * indent-tabs-mode: nil
60 * vi: set shiftwidth=4 tabstop=8 expandtab:
61 * :indentSize=4:tabSize=8:noTabs=true: