Commit 3fa03965 authored by Ejaz Ahmed's avatar Ejaz Ahmed

reverted some changes; added sec label, modified variable name

parent d7b1a78e
...@@ -586,7 +586,7 @@ typedef struct { ...@@ -586,7 +586,7 @@ typedef struct {
uint8_t R: 3; // 0-2 bits uint8_t R: 3; // 0-2 bits
} __attribute__ ((__packed__)) nr_sl_csi_report_t; } __attribute__ ((__packed__)) nr_sl_csi_report_t;
// 38321 sec. 6.1.3.35 // 38321 sec. 6.1.3.34
typedef struct { typedef struct {
uint8_t C1: 1; // 1st bit uint8_t C1: 1; // 1st bit
uint8_t C2: 1; // 2nd bit uint8_t C2: 1; // 2nd bit
...@@ -596,7 +596,7 @@ typedef struct { ...@@ -596,7 +596,7 @@ typedef struct {
uint8_t C6: 1; // 6th bit uint8_t C6: 1; // 6th bit
uint8_t C7: 1; // 7th bit uint8_t C7: 1; // 7th bit
uint8_t C8: 1; // 8th bit uint8_t C8: 1; // 8th bit
} __attribute__ ((__packed__)) nr_sl_config_grant; } __attribute__ ((__packed__)) nr_sl_config_grant_t;
typedef enum { typedef enum {
NR_SRS_SRI_0 = 0, NR_SRS_SRI_0 = 0,
......
...@@ -738,6 +738,8 @@ void nr_ue_process_mac_sl_pdu(int module_idP, ...@@ -738,6 +738,8 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
uint16_t mac_len = 0x0000; uint16_t mac_len = 0x0000;
uint16_t mac_subheader_len = 0x0001; // default to fixed-length subheader = 1-oct uint16_t mac_subheader_len = 0x0001; // default to fixed-length subheader = 1-oct
uint8_t rx_lcid = ((NR_MAC_SUBHEADER_LONG *)(pduP + sizeof(NR_SLSCH_MAC_SUBHEADER_FIXED)))->LCID; uint8_t rx_lcid = ((NR_MAC_SUBHEADER_LONG *)(pduP + sizeof(NR_SLSCH_MAC_SUBHEADER_FIXED)))->LCID;
LOG_D(NR_MAC, "[UE %x] LCID %d, PDU length %d\n", mac->src_id, rx_lcid, pdu_len);
switch(rx_lcid){ switch(rx_lcid){
// MAC CE // MAC CE
case SL_SCH_LCID_4_19: case SL_SCH_LCID_4_19:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment