WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-Mar-17 10:25:06

toance0901
Member
Registered: 2016-May-17
Posts: 22

How to generate and change The LTG(Local Traffic Generator) Framework?

Hello everybody,

My name is Toản, I'm researching about 802.11 Reference Design with two WARP V3 Node(1 AP and 1 STA). I'm staying at the Experiment Framework part, I read python programes in wlan_exp, but I don't understand how to generate and change LTG(Local Traffic Generator) Framework from designer?

I wish your helps! Thank you so much! Good day! ^_^

Offline

 

#2 2017-Mar-17 15:49:17

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

Many of our wlan_exp example scripts (e.g. the Aggregate Throughput Example) show how to use the LTG commands in Python. By modifying these example script, you can adjust parameters like packet size and the interval between packet transmissions.

Offline

 

#3 2017-Mar-17 20:57:18

toance0901
Member
Registered: 2016-May-17
Posts: 22

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

I can question more as I want to generate the LTG frame with payload value is "HELLO WORLD!", how to generate? Thank you!

Offline

 

#4 2017-Mar-17 22:03:09

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

Unfortunately this is not possible from Python - you must modify the C code running on the FPGA to customize the LTG packet payloads. You could customize the LTG packet payload by modifying the wlan_create_ltg_frame() function in wlan_mac_ltg.c.

Offline

 

#5 2017-Mar-17 23:22:00

toance0901
Member
Registered: 2016-May-17
Posts: 22

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

Thank you so much! Good day! ^_^

Offline

 

#6 2017-Apr-27 10:05:17

wckim
Member
Registered: 2017-Apr-04
Posts: 17

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

Hello, These questions give much information to me,

Can I ask one question related to wlan_create_ltg_frame() function.
In this function, function 'wlan_create_data_frame()' is called, but I can't find definition of the function.
Where is definition of the function?

Thank you for reading my question.

Offline

 

#7 2017-Apr-27 16:44:08

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: How to generate and change The LTG(Local Traffic Generator) Framework?

That function is implemented in wlan_mac_packet_types.c. The SDK makes it easy to find function definitions - right-click on any function or variable and select Open Declaration.

Offline

 

Board footer