Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-oran.h
1/* packet-oran.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10/* Section types from Table 7.3.1-1 */
11enum section_c_types {
12 SEC_C_UNUSED_RB = 0,
13 SEC_C_NORMAL = 1,
14 SEC_C_RSVD2 = 2,
15 SEC_C_PRACH = 3,
16 SEC_C_SLOT_CONTROL = 4,
17 SEC_C_UE_SCHED = 5,
18 SEC_C_CH_INFO = 6,
19 SEC_C_LAA = 7,
20 SEC_C_ACK_NACK_FEEDBACK = 8,
21 SEC_C_SINR_REPORTING = 9,
22 SEC_C_RRM_MEAS_REPORTS = 10,
23 SEC_C_REQUEST_RRM_MEAS = 11,
24 SEC_C_MAX_INDEX
25};
26
27#define HIGHEST_EXTTYPE 27
28
29typedef struct oran_tap_info {
30 /* Key info */
31 bool userplane;
32 uint16_t eaxc;
33 bool uplink;
34 /* TODO: Timing info */
35 uint8_t slot;
36 /* Missing SNs */
37 uint32_t missing_sns;
38 /* TODO: repeated SNs? */
39 /* Accumulated state */
40 uint32_t pdu_size;
41 bool section_types[SEC_C_MAX_INDEX];
42 bool extensions[HIGHEST_EXTTYPE+1]; /* wasting first entry */
43
44 /* TODO: compression/bitwidth, mu/scs, slots, Section IDs, beams? */
45 /* N.B. bitwidth, method, but each section could potentially have different udcompHdr.. */
47
48/*
49 * Editor modelines - https://www.wireshark.org/tools/modelines.html
50 *
51 * Local variables:
52 * c-basic-offset: 4
53 * tab-width: 8
54 * indent-tabs-mode: nil
55 * End:
56 *
57 * vi: set shiftwidth=4 tabstop=8 expandtab:
58 * :indentSize=4:tabSize=8:noTabs=true:
59 */
Definition packet-oran.h:29