Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Sep 1, 2023
1 parent 69b6111 commit acd88aa
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 0 deletions.
12 changes: 12 additions & 0 deletions standards/rrc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "rasn-rrc"
version.workspace = true
edition.workspace = true
description = "Data types for the Radio Resource Control Protocol"
license.workspace = true
repository.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rasn = { path = "../..", version = "0.9.5" }
1 change: 1 addition & 0 deletions standards/rrc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Radio Resource Control
194 changes: 194 additions & 0 deletions standards/rrc/src/constants.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
pub const HI_PDSCH_IDENTITIES: usize = 64;
pub const HI_PUSCH_IDENTITIES: usize = 64;
pub const HI_RM: usize = 256;
pub const MAX_AC: usize = 16;
pub const MAX_ADDITIONAL_MEAS: usize = 4;
pub const MAX_ADD_POS: usize = 8;
pub const MAX_ASC: usize = 8;
pub const MAX_ASC_MAP: usize = 7;
pub const MAX_ASC_PERSIST: usize = 6;
pub const MAX_BEACONS: usize = 64;
pub const MAX_BTS: usize = 32;
pub const MAX_CCTR_CH: usize = 8;
pub const MAX_CELL_MEAS: usize = 32;
pub const MAX_CELL_MEAS_EXT: usize = 80;
pub const MAX_CELL_MEAS_EXT2: usize = 48;
pub const MAX_CELL_MEAS_ON_SEC_UL_FREQ: usize = 32;
pub const MAX_CELL_MEAS_1: usize = 31;
pub const MAX_CELL_MEAS_EXT_1: usize = 79;
pub const MAX_CELL_MEAS_ON_SEC_UL_FREQ_1: usize = 31;
pub const MAX_CN_DOMAINS: usize = 4;
pub const MAX_COMMON_HRNTI: usize = 4;
pub const MAX_COMMON_QUEUE_ID: usize = 2;
pub const MAX_CPCH_SETS: usize = 16;
pub const MAX_DEDICATED_CSG_FREQ: usize = 4;
pub const MAX_DPCH_DL_CHAN: usize = 8;
pub const MAX_DPDCH_UL: usize = 6;
pub const MAX_DRAC_CLASSES: usize = 8;
pub const MAX_EXCLUDED_DETECTED_SET_CELLS: usize = 64;
pub const MAX_EDCHMA_CD_FLOW: usize = 8;
pub const MAX_EDCHMA_CD_FLOW_1: usize = 7;
pub const MAX_MULTIPLE_FREQUENCY_BANDS_FDD: usize = 8;
pub const MAX_MULTIPLE_FREQUENCY_BANDS_EUTRA: usize = 8;
pub const MAX_EUTRA_CELL_PER_FREQ: usize = 16;
pub const MAX_EUTRA_TARGET_FREQS: usize = 8;
pub const MAX_EDCHRL: usize = 4;
pub const MAX_EDCHRL_1: usize = 3;
pub const MAX_EDCHS: usize = 32;
pub const MAX_EDCHS_1: usize = 31;
pub const MAX_EDCHT_XPATTERN_TDD128: usize = 4;
pub const MAX_EDCHT_XPATTERN_TDD128_1: usize = 3;
pub const MAX_ERNTI_GROUP: usize = 32;
pub const MAX_ERNTI_PER_GROUP: usize = 2;
pub const MAX_ERUCCH: usize = 256;
pub const MAX_FACHPCH: usize = 8;
pub const MAX_FREQ: usize = 8;
pub const MAX_FREQ_BANDS_EUTRA: usize = 16;
pub const MAX_FREQ_BANDS_EUTRA_EXT: usize = 48;
pub const MAX_FREQ_BANDS_FDD: usize = 8;
pub const MAX_FREQ_BANDS_FDD2: usize = 22;
pub const MAX_FREQ_BANDS_FDD3: usize = 86;
pub const MAX_FREQ_BANDS_FDD_EXT: usize = 15;
pub const MAX_FREQ_BANDS_FDD_EXT2: usize = 64;
pub const MAX_FREQ_BANDS_FDD_EXT3: usize = 78;
pub const MAX_FREQ_BANDS_INDICATOR_SUPPORT: usize = 2;
pub const MAX_FREQ_BANDS_TDD: usize = 4;
pub const MAX_FREQ_BANDS_TDD_EXT: usize = 16;
pub const MAX_FREQ_BANDS_GSM: usize = 16;
pub const MAX_FREQ_MEASWITHOUTCM: usize = 2;
pub const MAX_GANSS: usize = 8;
pub const MAX_GANSS_1: usize = 7;
pub const MAX_GANSS_SAT: usize = 64;
pub const MAX_GANSS_SAT_1: usize = 63;
pub const MAX_GERAN_SI: usize = 8;
pub const MAX_GSM_TARGET_CELLS: usize = 32;
pub const MAX_HNB_NAME_SIZE: usize = 48;
pub const MAX_HPROCESSES: usize = 8;
pub const MAX_HS_SCCH_LESS_TR_BLK: usize = 4;
pub const MAX_HSDSCHTB_INDEX: usize = 64;
pub const MAX_HSDSCHTB_INDEX_TDD384: usize = 512;
pub const MAX_HSSCCHS: usize = 4;
pub const MAX_HSSCCHS_1: usize = 3;
pub const MAX_HSSICH_TDD128: usize = 4;
pub const MAX_HSSICH_TDD128_1: usize = 3;
pub const MAX_IGP_INFO: usize = 320;
pub const MAX_INTER_SYS_MESSAGES: usize = 4;
pub const MAX_LOCH_PER_RLC: usize = 2;
pub const MAX_LOGGED_MEAS_REPORT: usize = 128;
pub const MAX_MAC_D_PDU_SIZES: usize = 8;
pub const MAX_MBMS_COMMON_CCTR_CH: usize = 32;
pub const MAX_MBMS_COMMON_PHY_CH: usize = 32;
pub const MAX_MBMS_COMMON_RB: usize = 32;
pub const MAX_MBMS_COMMON_TR_CH: usize = 32;
pub const MAX_MBMS_FREQ: usize = 4;
pub const MAX_MBMS_L1CP: usize = 4;
pub const MAX_MBMSSERVCOUNT: usize = 8;
pub const MAX_MBMSSERVMODIF: usize = 32;
pub const MAX_MBMSSERVSCHED: usize = 16;
pub const MAX_MBMSSERVSELECT: usize = 8;
pub const MAX_MBMSSERVUNMODIF: usize = 64;
pub const MAX_MBMSTRANSMIS: usize = 4;
pub const MAX_MBSFNCLUSTERS: usize = 16;
pub const MAX_MEASCSGRANGE: usize = 4;
pub const MAX_MEASEVENT: usize = 8;
pub const MAX_MEASEVENTONSECULFREQ: usize = 8;
pub const MAX_MEASIDENTITY: usize = 32;
pub const MAX_MEASINTERVALS: usize = 3;
pub const MAX_MEASOCCASIONPATTERN: usize = 5;
pub const MAX_MEASOCCASIONPATTERN_1: usize = 4;
pub const MAX_MEASPAREVENT: usize = 2;
pub const MAX_NONCONTIGUOUSMULTICELLCOMBINATIONS: usize = 3;
pub const MAX_NUMACCESSGROUPS: usize = 16;
pub const MAX_NUMACDCCATEGORY: usize = 16;
pub const MAX_NUMCDMA2000FREQS: usize = 8;
pub const MAX_NUME_AGCH: usize = 4;
pub const MAX_NUME_HICH: usize = 4;
pub const MAX_NUMEUTRAFREQS: usize = 8;
pub const MAX_NUMEUTRAFREQS_FACH: usize = 4;
pub const MAX_NUMEUTRAFREQS_FACH_EXT: usize = 8;
pub const MAX_NUMGSMCELLGROUP: usize = 16;
pub const MAX_NUMGSMFREQRANGES: usize = 32;
pub const MAX_NUMFDDFREQS: usize = 8;
pub const MAX_NUMANRLOGGEDITEMS: usize = 4;
pub const MAX_NUMLOGGEDMEAS: usize = 8;
pub const MAX_NUMMDTPLMN: usize = 15;
pub const MAX_NUMTDDFREQS: usize = 8;
pub const MAX_NOOFMEAS: usize = 16;
pub const MAX_OTHERRAT: usize = 15;
pub const MAX_OTHERRAT_16: usize = 16;
pub const MAX_PAGE1: usize = 8;
pub const MAX_PCPCH_APSIG: usize = 16;
pub const MAX_PCPCH_APSUBCH: usize = 12;
pub const MAX_PCPCH_CDSIG: usize = 16;
pub const MAX_PCPCH_CDSUBCH: usize = 12;
pub const MAX_PCPCH_SF: usize = 7;
pub const MAX_PCPCHS: usize = 64;
pub const MAX_PDCPA_LGO_TYPE: usize = 8;
pub const MAX_PDSCH: usize = 8;
pub const MAX_PDSCH_TFCI_GROUPS: usize = 256;
pub const MAX_PRACH: usize = 16;
pub const MAX_PRACH_EUL: usize = 4;
pub const MAX_PRACH_FPACH: usize = 8;
pub const MAX_PREDEF_CONFIG: usize = 16;
pub const MAX_OTHER_STATE_CONFIG: usize = 4;
pub const MAX_OTHER_STATE_CONFIG_1: usize = 3;
pub const MAX_PRIO: usize = 8;
pub const MAX_PRIO_1: usize = 7;
pub const MAX_PRIO_EXT: usize = 16;
pub const MAX_PUSCH: usize = 8;
pub const MAX_QUEUE_IDS: usize = 8;
pub const MAX_RAB_SETUP: usize = 16;
pub const MAX_RAT: usize = 16;
pub const MAX_RB: usize = 32;
pub const MAX_RB_ALL_RABS: usize = 27;
pub const MAX_RB_MUX_OPTIONS: usize = 8;
pub const MAX_RB_PER_RAB: usize = 8;
pub const MAX_RB_PER_TR_CH: usize = 16;
pub const MAX_REPORTED_EUTRA_CELL_PER_FREQ: usize = 4;
pub const MAX_REPORTED_EUTRA_FREQS: usize = 4;
pub const MAX_REPORTED_EUTRA_FREQS_EXT: usize = 8;
pub const MAX_REPORTED_GSM_CELLS: usize = 8;
pub const MAX_RETRIEV_CONFIG: usize = 8;
pub const MAX_RETRIEV_CONFIG_1: usize = 7;
pub const MAX_RL: usize = 8;
pub const MAX_RL_1: usize = 7;
pub const MAX_RLC_PDU_SIZE_PER_LOG_CHAN: usize = 32;
pub const MAX_RMP_FREQUENCIES: usize = 8;
pub const MAX_RFC3095_CID: usize = 16384;
pub const MAX_ROHC_PACKETSIZES_R4: usize = 16;
pub const MAX_ROHC_PROFILE_R4: usize = 8;
pub const MAX_RX_PATTERN_FOR_HSDSCH_TDD128: usize = 4;
pub const MAX_RX_PATTERN_FOR_HSDSCH_TDD128_1: usize = 3;
pub const MAX_SAT: usize = 16;
pub const MAX_SAT_CLOCK_MODELS: usize = 4;
pub const MAX_SCCPCH: usize = 16;
pub const MAX_SGN_TYPE: usize = 8;
pub const MAX_SIB: usize = 32;
pub const MAX_SIB2: usize = 64;
pub const MAX_SIB_FACH: usize = 8;
pub const MAX_SIB_PER_MSG: usize = 16;
pub const MAX_SI_REQUEST: usize = 4;
pub const MAX_SRB_SETUP: usize = 8;
pub const MAX_SYSTEM_CAPABILITY: usize = 16;
pub const MAX_TDD128_CARRIER: usize = 6;
pub const MAX_TDD128_CARRIER_1: usize = 5;
pub const MAX_TBS_FOR_HSDSCH_TDD128: usize = 4;
pub const MAX_TBS_FOR_HSDSCH_TDD128_1: usize = 3;
pub const MAX_TF: usize = 32;
pub const MAX_TF_CPCH: usize = 16;
pub const MAX_TFC: usize = 1024;
pub const MAX_TFCSUB: usize = 1024;
pub const MAX_TFCI_2_COMBS: usize = 512;
pub const MAX_TGPS: usize = 6;
pub const MAX_TR_CH: usize = 32;
pub const MAX_TR_CH_CONCAT: usize = 3;
pub const MAX_TR_CH_PRECONF: usize = 32;
pub const MAX_TS: usize = 14;
pub const MAX_TS_1: usize = 13;
pub const MAX_TS_2: usize = 12;
pub const MAX_TS_LCR: usize = 6;
pub const MAX_TS_LCR_1: usize = 5;
pub const MAX_URA: usize = 8;
pub const MAX_URNTI_GROUP: usize = 8;
pub const MAX_WLANID: usize = 16;
pub const MAX_WLANS: usize = 64;
Empty file.
5 changes: 5 additions & 0 deletions standards/rrc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#![doc = include_str!("../README.md")]
#![no_std]

pub mod constants;
pub mod information_elements;

0 comments on commit acd88aa

Please sign in to comment.