FTW IEEE802.11a/g/p OFDM Frame Encoder

Dear all,

does anyone know or installed FTW IEEE802.11a/g/p OFDM Frame Encoder (
https://www.cgran.org/wiki/ftw80211ofdmtx )?

The poject in that link is very old and is working with gnuradio3.2.2
and Ubuntu 9.10.
I have USRP N200 , Ubuntu 13.04 system.

If someone did a similar project please share with me, I will
aprreciate!

On 19.11.2013 13:13, nesimi eldarov wrote:

Dear all,

does anyone know or installed FTW IEEE802.11a/g/p OFDM Frame Encoder
(https://www.cgran.org/wiki/ftw80211ofdmtx)?
I think “Shashank G.” (in cc) can help you in this regard.
As a part of GSoC project, he used FTW as a Ref transmitter and ported
the code over to N200, to test the Wireshark interface.

The poject in that link is very old and is working with gnuradio3.2.2
and Ubuntu 9.10.
I have USRP N200 , Ubuntu 13.04 system.

If someone did a similar project please share with me, I will aprreciate!


NE

Best Regards,

Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Ankit Kaushik, M.Sc.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43748
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

On 11/19/2013 01:13 PM, nesimi eldarov wrote:

Dear all,

does anyone know or installed FTW IEEE802.11a/g/p OFDM Frame Encoder
(https://www.cgran.org/wiki/ftw80211ofdmtx)?

The poject in that link is very old and is working with gnuradio3.2.2
and Ubuntu 9.10.
I have USRP N200 , Ubuntu 13.04 system.

If someone did a similar project please share with me, I will aprreciate!

you can also have a look at a transceiver, which should work with
current GNU Radio:

Best,
Bastian

Hi Bastian,

I sent you another private email today regarding that.
That is a great work you have done. I did not install yours yet since I
wanted first try transmitter then the receiver.
You tell that is a transceiver, how did you transmit the signals?
Is that also included?

Вторник, 19 ноября 2013, 17:23 +01:00 от Bastian B.
[email protected]:

On 11/19/2013 06:01 PM, nesimi eldarov wrote:

You tell that is a transceiver, how did you transmit the signals?
Is that also included?

Yes it is included. I reimplemented the transmit side to take advantage
of asynchronous messages, to support variable packet sizes, and to allow
setting the encoding per packet.
We merged receive and transmit chains to form a complete transceiver
and, as a demo, connected it to the Linux TCP/IP stack.

A (shitty) video of an SSH session between the SDR and a WiFi card is on
YouTube:

Best,
Bastian

Hi Bastian,

Thanks!

Do you think it would be possible to use two USRPs, one for the
tranmitter and the second for the receiver?

Вторник, 19 ноября 2013, 18:57 +01:00 от Bastian B.
[email protected]:

On 22 Nov 2013, at 20:02, nesimi eldarov [email protected] wrote:

Do you think it would be possible to use two USRPs, one for the tranmitter and
the second for the receiver?

Yes, but at least you have to change MAC and IP address in the start
script. Maybe enable promisc mode of the TAP device or change the WiFi
MAC. Im not 100% sure if this is required, but have no USRP around to
test.

Bastian

Hi Bastian,

I have two USRP N200 devices and trying to test on them. However it
seems like not working. Here is the code that I run:

~/gr-ieee802-11/examples$ sudo ./ofdm_tx.py

linux; GNU C++ version 4.7.3; Boost_105300; UHD_003.006.000-0-g7788c692

(python:19831): IBUS-WARNING **: The owner of
/home/nasimi/.config/ibus/bus is not root!
– Opening a USRP2/N-Series device…
– Current recv frame size: 1472 bytes
– Current send frame size: 1472 bytes
Using Volk machine: ssse3_64
OFDM MAPPER: encoding: 0

The A led is off all the time except for the beginning.

in the second device I run
~/gr-ieee802-11/examples$ sudo ./ofdm_rx.py
But there is nothing noticable.

Am I doing all correctly?

Пятница, 22 ноября 2013, 20:19 +01:00 от Bastian B.
[email protected]:

On 11/25/2013 06:26 PM, nesimi eldarov wrote:

~/gr-ieee802-11/examples$ sudo ./ofdm_tx.py

~/gr-ieee802-11/examples$ sudo ./ofdm_rx.py

But there is nothing noticable.

Am I doing all correctly?

I just pushed the flow graphs with parameters that work out of the box
for me. Maybe you want to give them a try…

Bastian

okay,
ofdm_tx.grc should transmit when I am Executing it with ‘F6’, isn’t it?
That is very weird.

I try gr-digital/examples/ofdm$ sudo ./benchmark_tx.py, and works, but
ofdm_tx one fails.

May be I did not get correctly what you mean with 'pushing with
parameters '.
Do you set parameters inside the flow graphs?

Вторник, 26 ноября 2013, 18:04 +01:00 от Bastian B.
[email protected]:

Sorry, but It seems like you did not transmit ever, as I look in .grc
files. As such, none of them send OFDM blocks…
For example in ofdm_rx. you have a chain of operations, good and
working. However there is nothing like that in the transmitter side.
May be I make a mistake but I could not find anything which does the
transmission which one could receiver back.

On 11/26/2013 06:48 PM, nesimi eldarov wrote:

okay,
ofdm_tx.grc should transmit when I am Executing it with ‘F6’, isn’t it?
That is very weird.

I try gr-digital/examples/ofdm$ sudo ./benchmark_tx.py, and works, but
ofdm_tx one fails.

May be I did not get correctly what you mean with 'pushing with
parameters '.
Do you set parameters inside the flow graphs?

I pushed the code to the repository at github.com with gains,
frequencies and stuff so that it works without adjusting anything in the
GUI. If you want to try it you have to update your repo.

On 27 Nov 2013, at 16:36, nesimi eldarov [email protected] wrote:

Sorry, but It seems like you did not transmit ever, as I look in .grc files. As
such, none of them send OFDM blocks…
For example in ofdm_rx. you have a chain of operations, good and working.
However there is nothing like that in the transmitter side.
May be I make a mistake but I could not find anything which does the
transmission which one could receiver back.

Did you try to install the hierarchical block from the examples folder?

:slight_smile: yes, of course, I did. Sorry, I see, there is transmission stuff.

when I run
ofdm_transceiver. file it gives me this message:

Allocated virtual ethernet interface: tap0
You must now use ifconfig to set its IP address. E.g.,
$ sudo ifconfig tap0 192.168.200.1
Be sure to use a different address in the same subnet for each machine.

Can it be that I i have to configure ip address in a different way. I
just type before executing:
$ sudo ifconfig eth0 192.168.10.1 I am not familiar with ip adressing
for usrp :frowning:

Среда, 27 ноября 2013, 16:40 +01:00 от Bastian B.
[email protected]:

Thanks for quick reply.

I did that before already. Nothing changed now also.
All work, but do not transmit regularly. In ofdm_tx. smt. is being
transmitted for a sec then the led A turns of again.

I run demo.sh also. I see the plot and wireshark, but again as I say
nothing is being transmitted.

Среда, 27 ноября 2013, 17:09 +01:00 от Bastian B.
[email protected]:

On 27 Nov 2013, at 17:02, nesimi eldarov [email protected] wrote:

Can it be that I i have to configure ip address in a different way. I just type
before executing:
$ sudo ifconfig eth0 192.168.10.1

I am not familiar with ip adressing for usrp :frowning:

did the rx/tx flow graphs work now, or did you just switch to the
transceiver?

The transceiver connects itself through a tun/tap device to the Linux
TCP/IP stack. To get this running you should know a bit about IP and MAC
addresses.
There is also a startup script in the apps folder that should show how
to start things up.

On 11/27/2013 05:21 PM, nesimi eldarov wrote:

I did that before already. Nothing changed now also.
That means it works, or it does not?

All work, but do not transmit regularly. In ofdm_tx. smt. is being
transmitted for a sec then the led A turns of again.

It crashes? Underruns? Overruns? Are there any messages? How do you know
somethings is transmitted?

I run demo.sh also. I see the plot and wireshark, but again as I say
nothing is being transmitted.
Now, you try the next setup?
What’s happening? From what device do you send?

On 11/27/2013 05:51 PM, Nasi wrote:

 > I did that before already. Nothing changed now also.
That means it works, or it does not?

it looks like receiver is working. I think so, because I receive/see
around 30 packets in wireshark. And the led C is on.

Great! I never looked at the leds, so I can’t tell…

Now, you try the next setup?
What's happening? From what device do you send?

What do you mean with setup. I might not install that correctly :frowning: . I
generate py file and execute it, to my folder
~/.grc_gnuradio/ofdm_phy_hier.py.

The hierarchical block just encapsulates the TX and RX chains to have a
nicer structure in GRC. You can not execute it on its own.

In the examples folder are several different demos. TX-only, RX-only, a
transceiver that can connect to the TCP/IP stack and so on. I have
absolutely no clue what you are actually doing and what you are trying
to setup. If you are sending from or to WiFI cards or between to SDRs
and whatever.

Please open the flow graphs and look at them, you should be able to see
what they are doing.

If you still have problems, please think about them and write a detailed
email including what you are trying to do, how you plan to realize it,
which example you use, what you did, what you have installed, what is
displayed on the console and what you already tried to debug it.

Sorry, but your

It seems like you did not transmit ever

emails are not too helpful.

Bastian

Finally, solved!

Many thanks Bastian!
The problem was the connections between blocks, acc to
Home | Bastian Bloessl .

I did that before already. Nothing changed now also.
That means it works, or it does not?
it looks like receiver is working. I think so, because I receive/see
around 30 packets in wireshark. And the led C is on.

It crashes? Underruns? Overruns? Are there any messages? How do you know
somethings is transmitted? the led A is on for a short time which means something
is transmitted. But that is just my opinion.

Now, you try the next setup?
What’s happening? From what device do you send?
What do you mean with setup. I might not install that correctly :frowning: . I
generate py file and execute it, to my folder
~/.grc_gnuradio/ofdm_phy_hier.py.

is it correct?