different EPS bearer types in ns3 LENA

526 views
Skip to first unread message

Salman

unread,
Aug 9, 2011, 8:34:50 AM8/9/11
to ns-3-users
Hi,

Can anybody guide me how can i associate different bearer types to
different UE, e.g. if i have 10 UE and i set 5 UE to GBR_CONV_VOICE
and other 5 to NGBR_VOICE_VIDEO_GAMING. How should i modify the
example code which associates the same class with all UE?

// Activate an EPS bearer
enum EpsBearer::Qci q = EpsBearer::GBR_CONV_VOICE;
EpsBearer bearer (q);
lena->ActivateEpsBearer (ueDevs, bearer);

Iffat Ahmed

unread,
Aug 9, 2011, 11:48:16 PM8/9/11
to ns-3-...@googlegroups.com
You can do it this way:

  enum EpsBearer::Qci q1 = EpsBearer::GBR_NON_CONV_VIDEO;
  EpsBearer bearer1 (q1);
 lena->ActivateEpsBearer (ueDevs.Get(1),  bearer);

In the src/lte/model you can find eps-bearer file in which you can look for defined types of bearer.

-- 

Best,

 

IFFAT AHMED

PhD Candidate in Computer Science and Engineering

Cycle CSE - XXV, IMT Institute for Advanced Studies, Lucca, Italy

Email: iffat...@imtlucca.it | Web: http://www.imtlucca.it/iffat.ahmed




--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



Reply all
Reply to author
Forward
Message has been deleted
0 new messages