12#include "packet-rohc.h"
15#define PDCP_NR_DIRECTION_UPLINK 0
16#define PDCP_NR_DIRECTION_DOWNLINK 1
20 NR_SIGNALING_PLANE = 1,
24typedef enum NRBearerType
34#define PDCP_NR_SN_LENGTH_12_BITS 12
35#define PDCP_NR_SN_LENGTH_18_BITS 18
37#define PDCP_NR_UL_SDAP_HEADER_PRESENT 0x01
38#define PDCP_NR_DL_SDAP_HEADER_PRESENT 0x02
40enum nr_security_integrity_algorithm_e { nia0, nia1, nia2, nia3 };
41enum nr_security_ciphering_algorithm_e { nea0, nea1, nea2, nea3, nea_disabled=999};
45 uint32_t algorithm_configuration_frame;
46 bool seen_next_ul_pdu;
47 bool dl_after_reest_request;
48 enum nr_security_integrity_algorithm_e integrity;
49 enum nr_security_ciphering_algorithm_e ciphering;
52 uint32_t previous_algorithm_configuration_frame;
53 enum nr_security_integrity_algorithm_e previous_integrity;
54 enum nr_security_ciphering_algorithm_e previous_ciphering;
64 NRBearerType bearerType;
68 enum pdcp_nr_plane plane;
69 uint8_t seqnum_length;
71 bool ciphering_disabled;
110#define PDCP_NR_START_STRING "pdcp-nr"
119#define PDCP_NR_SEQNUM_LENGTH_TAG 0x02
126#define PDCP_NR_DIRECTION_TAG 0x03
129#define PDCP_NR_BEARER_TYPE_TAG 0x04
132#define PDCP_NR_BEARER_ID_TAG 0x05
135#define PDCP_NR_UEID_TAG 0x06
138#define PDCP_NR_ROHC_COMPRESSION_TAG 0x07
144#define PDCP_NR_ROHC_IP_VERSION_TAG 0x08
147#define PDCP_NR_ROHC_CID_INC_INFO_TAG 0x09
150#define PDCP_NR_ROHC_LARGE_CID_PRES_TAG 0x0A
153#define PDCP_NR_ROHC_MODE_TAG 0x0B
156#define PDCP_NR_ROHC_RND_TAG 0x0C
159#define PDCP_NR_ROHC_UDP_CHECKSUM_PRES_TAG 0x0D
162#define PDCP_NR_ROHC_PROFILE_TAG 0x0E
165#define PDCP_NR_MACI_PRES_TAG 0x0F
168#define PDCP_NR_SDAP_HEADER_TAG 0x10
171#define PDCP_NR_CIPHER_DISABLED_TAG 0x11
176#define PDCP_NR_PAYLOAD_TAG 0x01
185void set_pdcp_nr_security_algorithms_failed(uint16_t ueid);
189void set_pdcp_nr_rrc_reestablishment_request(uint16_t ueid);
192void set_pdcp_nr_rrc_ciphering_key(uint16_t ueid,
const char *key, uint32_t frame_num);
193void set_pdcp_nr_rrc_integrity_key(uint16_t ueid,
const char *key, uint32_t frame_num);
194void set_pdcp_nr_up_ciphering_key(uint16_t ueid,
const char *key, uint32_t frame_num);
195void set_pdcp_nr_up_integrity_key(uint16_t ueid,
const char *key, uint32_t frame_num);
Definition packet_info.h:43
Definition packet-pdcp-nr.h:60
Definition packet-pdcp-nr.h:44
Definition packet-rohc.h:40