LC ID allocation

112 views
Skip to first unread message

Shadab

unread,
Sep 26, 2022, 12:52:25 PM9/26/22
to 5G-LENA-users
Dear Community,

In my Real RRC protocol implementation, I am currently facing an issue with Logical Channel ID allocation. I get an error in BwpManagerUe.cc function in the following line:

uint8_t qci = m_lcToBearerMap.at (params.lcid);

As per my understanding, this line maps LC ID to Bearers based on QCI which is defined in EPS bearers script as shown below from BwpManagerUe.h:

std::map<uint8_t, EpsBearer::Qci> m_lcToBearerMap;

I think LC ID is set in RLC layer who gets this information from LTE UE RRC. I check the code where I see while setting up SRB0 the following line:

uint8_t lcid = 0; [lte-ue-rrc.cc]
rlc->SetLcId (lcid); [lte-rlc.tm.cc]

As you can see, the LC ID was set to 0 at RRC layer, then it is passed to RLC, then to BWP manager. While mapping this to QCI, the enumeration table for EPS bearers does not have any match for LC ID value 0. I can bypass this just setting up the lcid value to 1.

But this is not a real solution. I want to know why the lcid value was set to 0 at RRC layer and when may it have different values?

Sincerely
Shadab

Anwesha Kar

unread,
Nov 21, 2022, 2:16:57 PM11/21/22
to 5G-LENA-users
Did you find out the place to create multiple logical channels?
Reply all
Reply to author
Forward
0 new messages