WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-May-11 09:46:06

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

HTTP packets using WARP(v3)

Hi

Now I'm trying to make STA(using WARPv3) to send a 802.11 data packet(like HTTP request) using 802.11 packet samples captured by Wireshark.

I checked wlan_mac_high_framework/wlan_mac_eth_util.c.

But I still don't know how to include http data samples in 'Data variable' like http://warpproject.org/trac/attachment/ … encap.png.

I wish your helps!

Thank you so much.
Have a good day!!

Offline

 

#2 2017-May-11 14:18:08

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

Re: HTTP packets using WARP(v3)

The easiest way to send HTTP traffic via the WARP 802.11 link would be to use PCs attached to the ETH A interfaces of the STA and AP nodes. The 802.11 Reference Design implements a wired-wireless bridge. Computers connected to the WARP nodes' Ethernet interfaces can communicate as if they were connected directly via Ethernet.

If you need to generate HTTP traffic on the WARP node, you will need to modify the C code for CPU High. The best option would be to modify the Local Traffic Generator (LTG) code to create a custom HTTP packet payload.

A more general question - do you actually require HTTP payloads? Unless your research application specifically requires HTTP, you can use the existing LTG framework to generate arbitrary traffic loads to test customizations of the reference MAC and PHY implementations. We use LTGs for all our MAC/PHY characterizations.

Offline

 

#3 2017-May-15 07:02:43

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

Re: HTTP packets using WARP(v3)

Thanks for your kind helps.

Firstly, 'do you actually require HTTP payloads?' -> my answer is Yes.
Because I want to make STA that is able to send HTTP 802.11 packet.

But I'm still not sure two things.

1. How can I send HTTP Ethernet frame to STA, like http://warpproject.org/trac/attachment/ … _encap.png this picture. Is it possible situation??
    If it is possible, how can I send HTTP frame to STA??

2.In your answer, 'modify the Local Traffic Generator (LTG) code to create a custom HTTP packet payload', where is that function in source??!

Always, your answer give me big helps.
Thank you so much.
Have a good day!!

Offline

 

#4 2017-May-16 09:42:34

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

Re: HTTP packets using WARP(v3)

wckim wrote:

1. How can I send HTTP Ethernet frame to STA, like http://warpproject.org/trac/attachment/ … _encap.png this picture. Is it possible situation??
    If it is possible, how can I send HTTP frame to STA??

That image shows how 802.11 encapsulation works. For a more detailed description, see "The Integration Function" in Annex P of the 802.11-2012 standard. murphpo's point was that you can send an HTTP packet from AP to STA (or vice versa) by sending an HTTP packet over Ethernet and letting the node encapsulate it for you. This happens naturally when you access a web page from a STA that is associated with a WARP v3 AP that has ETH A connected to a network with Internet access.

wckim wrote:

2.In your answer, 'modify the Local Traffic Generator (LTG) code to create a custom HTTP packet payload', where is that function in source??!

An LTG consists of two parts: a schedule and a payload. The schedule determines how often an LTG packet is enqueued and the payload determines the contents of those packets. ltg_event() is the function in each of the applications that is called periodically and is responsible for creating and enqueing frames. That function eventually calls wlan_create_ltg_frame(). This is the function that forms the actual bytes that get transmitted and is the function that would need to be modified to send a different payload.

Offline

 

Board footer