Remove Mac UL/DL message support

These weren't parsing correctly despite the parser seemingly matching
SCATs, so disable these for now. They weren't being used for anything
yet, anyway.
This commit is contained in:
Will Greenberg
2026-06-25 07:38:37 -07:00
committed by Will Greenberg
parent bbaeebeacc
commit 00eed6d24b
2 changed files with 1 additions and 7 deletions
-4
View File
@@ -87,10 +87,6 @@ pub enum LogBody {
}, },
#[deku(id = "0xb062")] #[deku(id = "0xb062")]
LteMacRachResponse { packet: mac::Packet }, LteMacRachResponse { packet: mac::Packet },
#[deku(id = "0xb063")]
LteMacDl { packet: mac::Packet },
#[deku(id = "0xb064")]
LteMacUl { packet: mac::Packet },
} }
#[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)] #[derive(Debug, Clone, PartialEq, DekuRead, DekuWrite)]
+1 -3
View File
@@ -40,7 +40,7 @@ pub enum DiagDeviceError {
ParseMessagesContainerError(deku::DekuError), ParseMessagesContainerError(deku::DekuError),
} }
pub const LOG_CODES_FOR_RAW_PACKET_LOGGING: [u32; 16] = [ pub const LOG_CODES_FOR_RAW_PACKET_LOGGING: [u32; 14] = [
// Layer 2: // Layer 2:
log_codes::LOG_GPRS_MAC_SIGNALLING_MESSAGE_C, // 0x5226 log_codes::LOG_GPRS_MAC_SIGNALLING_MESSAGE_C, // 0x5226
// Layer 3: // Layer 3:
@@ -61,8 +61,6 @@ pub const LOG_CODES_FOR_RAW_PACKET_LOGGING: [u32; 16] = [
log_codes::LOG_LTE_ML1_NEIGHBOR_MEAS, // 0xb180 log_codes::LOG_LTE_ML1_NEIGHBOR_MEAS, // 0xb180
// LTE MAC Random Access Channel response: contains Timing Advance // LTE MAC Random Access Channel response: contains Timing Advance
log_codes::LOG_LTE_MAC_RACH_RESPONSE_C, // 0xb062 log_codes::LOG_LTE_MAC_RACH_RESPONSE_C, // 0xb062
log_codes::LOG_LTE_MAC_DL, // 0xb063
log_codes::LOG_LTE_MAC_UL, // 0xb064
]; ];
const BUFFER_LEN: usize = 1024 * 1024 * 10; const BUFFER_LEN: usize = 1024 * 1024 * 10;