addressing review comments: minor refactor for optimization, and correction of rrc_rel size

This commit is contained in:
Carlos Guerra
2026-06-03 13:19:18 +02:00
committed by Will Greenberg
parent c424902560
commit 76c2039556
2 changed files with 19 additions and 29 deletions
+2 -1
View File
@@ -2,13 +2,14 @@ use deku::prelude::*;
// Qualcomm ML1 (physical layer) serving cell measurement log (0xb17f).
// Format from SCAT: https://github.com/fgsect/scat/blob/master/src/scat/parsers/qualcomm/diagltelogparser.py
// V4 format string (after version byte): '<BHHHLLLLLL'
// V5 format string (after version byte): '<BHLH2xLLLLLL'
#[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)]
#[deku(ctx = "version: u8", id = "version")]
pub enum LteMl1ServingCellMeasPacket {
#[deku(id = "4")]
V4 {
rrc_release: u16,
rrc_release: u8,
reserved: u16,
earfcn: u16,
pci_serv_layer: u16,