Wireshark 4.7.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 <[email protected]>
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 28
28
29#define MAX_SECTION_IDs 32 /* i.e. how many may be reported from one frame */
30
31typedef struct oran_tap_info {
32 /* Key info */
33 bool userplane;
34 uint16_t eaxc;
35 bool uplink;
36 /* TODO: Timing info */
37 uint8_t frame;
38 uint8_t slot;
39 /* Missing SNs */
40 uint32_t missing_sns;
41 /* TODO: repeated SNs? */
42 /* Accumulated state */
43 uint32_t pdu_size;
44 bool section_types[SEC_C_MAX_INDEX];
45 uint16_t section_ids[MAX_SECTION_IDs+1];
46 uint8_t num_section_ids;
47 bool extensions[HIGHEST_EXTTYPE+1]; /* wasting first entry */
48
49 /* U-Plane stats */
50 uint32_t num_prbs;
51 uint32_t num_res;
52 bool non_zero_re_in_current_prb;
53 uint32_t num_prbs_zero;
54 uint32_t num_res_zero;
55
56 uint32_t ul_delay_in_us;
57 /* TODO: compression/bitwidth, mu/scs, slots, Section IDs, beams? */
58 /* N.B. bitwidth, method, but each section could potentially have different udcompHdr.. */
60
61/*
62 * Editor modelines - https://www.wireshark.org/tools/modelines.html
63 *
64 * Local variables:
65 * c-basic-offset: 4
66 * tab-width: 8
67 * indent-tabs-mode: nil
68 * End:
69 *
70 * vi: set shiftwidth=4 tabstop=8 expandtab:
71 * :indentSize=4:tabSize=8:noTabs=true:
72 */
Definition packet-oran.h:31