Bug 2982 - UE MAC SAP "LteMacSapUser" is not configured properly
UE MAC SAP "LteMacSapUser" is not configured properly
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All All
: P3 normal
Assigned To: Biljana Bojović
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-30 12:25 UTC by Zoraze Ali
Modified: 2018-09-07 08:21 UTC (History)
1 user (show)

See Also:


Attachments
Example script (13.33 KB, text/x-c++src)
2018-08-30 12:25 UTC, Zoraze Ali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zoraze Ali 2018-08-30 12:25:49 UTC
Created attachment 3169 [details]
Example script

Hi, 

I have noticed that the UE MAC SAP, i.e., LteMacSapUser is not configured properly. As per the figures: https://www.nsnam.org/docs/models/html/lte-design.html#fig-ca-ue-data-plane and https://www.nsnam.org/docs/models/html/lte-design.html#fig-ca-ue-ctrl-plane, the calls from UE MAC to RLC should traverse through UE component carrier manager. However, the calls from MAC are directly landing in RLC, thus the functions, SimpleUeComponentCarrierManager::DoNotifyTxOpportunity and SimpleUeComponentCarrierManager::DoReceivePdu are never called. 

I am attaching an example script to observe the above-explained behavior. One can run the example as follows and check for the calls to above funtions, 

./waf --run "scratch/BugTracker-lena-simple-epc --useCa=1 --numBearersPerUe=2 --enableNsLogs=1" > SimpleUeCcmLogs.txt 2>&1

Kind regards,
Zoraze
Comment 1 Zoraze Ali 2018-08-31 08:08:28 UTC
Here are my proposed changes: https://github.com/Zoraze/ns-3-dev-git/commit/734cce303377bc1f1548d05514204bd880338ee5
Comment 2 Biljana Bojović 2018-09-04 12:26:05 UTC
This patch basically constructs a correct UE CA architecture, as was targeted by the original CA implementation design. The calls at UE side shall go through UE component manager, and RLC and MAC shall not be directly connected in data plane.

I am fine with this patch. Great work!
Comment 3 Zoraze Ali 2018-09-07 08:21:30 UTC
Pushed to changeset 13790:cb5e26107f72