Bug 2982

Summary: UE MAC SAP "LteMacSapUser" is not configured properly
Product: ns-3 Reporter: Zoraze Ali <zorazeali>
Component: lteAssignee: Biljana Bojović <bbojovic>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P3    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Example script

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