nrUE: check integrity of SecurityModeCommand

We AssertFatal() if integrity fails. To be refined if needed.
This commit is contained in:
Cedric Roux
2024-04-03 08:28:15 +02:00
parent 4e625b01d2
commit d1f490243e
3 changed files with 30 additions and 7 deletions
+4
View File
@@ -96,6 +96,10 @@ typedef struct NRRrcDcchDataInd_s {
uint16_t rnti;
uint8_t module_id;
uint8_t gNB_index; // LG: needed in UE
/* these three variables are needed for RRC to check integrity of the PDCP SDU */
uint32_t mac;
uint32_t header;
uint32_t count;
} NRRrcDcchDataInd;
typedef struct RrcPcchDataReq_s {