Re: [Douglas Geiger BBN 802.11b] Porting code on USRP2 problems


#1

Good News!!!
I finally succeeded to receive with an USRP2 packets sent with another
USRP2. I tryed to modify the parameters and found the magic combination:

./bbn_80211b_tx.py -f 2.4G -e eth1 -i 24 -r 20

gr_fir_ccf: using SSE

Network interface: eth1
USRP2 address: 00:50:c2:85:30:cb
Using TX d’board id 0x0060
Tx baseband frequency: 2.4G
Tx DUC frequency: 0
Tx residual frequency: 0
Tx interpolation rate: 24
Samples per data bit: 8

DATA:

Hello world

Sending pkt 0
Sending pkt 1
Sending pkt 2
Sending pkt 3
Sending pkt 4
Sending pkt 5
Sending pkt 6
Sending pkt 7
Sending pkt 8
Sending pkt 9
Sending pkt 10
Sending pkt 11
Sending pkt 12
Sending pkt 13
Sending pkt 14
Sending pkt 15
Sending pkt 16
Sending pkt 17
Sending pkt 18
Sending pkt 19

########################################

./bbn_80211b_rx.py -f 2.4G -v
Bits Per Encoded Sample = 16
adc frequency = 100000000
decimation frequency = 24
input_rate = 4166666
gain = 46.0
desired freq = 2400000000.0
baseband frequency 2400000000.0
dxc frequency 0.0
Samples per data bit = 8

gr_fir_ccf: using SSE
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1405840, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1406760, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1407128, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1407496, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1407872, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1408232, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1408600, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1408992, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1409360, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1409720, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1410096, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1410456, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1410840, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1411384, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1411616, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1412352, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1412440, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1412808, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1413016, rate=1 Mbps
callback
PKT: len=15, rssi=-96, src=UNKNOWN, time=1413384, rate=1 Mbps


#2

Yep!

It works also here between USRPs2 with the code from colby’s branch
(also with other parameters, as far as interp*spb=~200).
The problem is the DSSS… I don’t know why, but whenever Barker is
enabled, nothing works anymore… :frowning:
Have you tried?

Colby mentioned that even the test has problem with Barker.

Best Regards,
Danilo

On Friday 24 April 2009 14:15:36 Ben Yahmed wrote:

Good News!!!
I finally succeeded to receive with an USRP2 packets sent with another
USRP2. I tryed to modify the parameters and found the magic combination:

./bbn_80211b_tx.py -f 2.4G -e eth1 -i 24 -r 20

./bbn_80211b_rx.py -f 2.4G -v


#3

On Fri, Apr 24, 2009 at 02:15:36PM +0200, Ben Yahmed wrote:

Good News!!!
I finally succeeded to receive with an USRP2 packets sent with another
USRP2. I tryed to modify the parameters and found the magic combination:

Yeah!

Eric


#4

It was a firmware problem, and after updating the latest firmware I was
able
to transmit/receive at 1Mbps.

-Colby

Good work everyone! =)


#5

The next step is to convert the simple_mac.py inorder to work with
USRP2.
Who is interested in this work?

Ben Yahmed


#6

Hi,

I am unable to replicate the results. Are you using the code from the
CGRAN
repo without any modifcations?

I am also receiving a “usrp2::ctor reset_db failed” error. Could this
be a
problem?

Thanks,
Colby


#7

Has anyone been able to get 2Mbps to work, which uses DQPSK instead of
DBPSK? I have had no luck, even with the test script. . .

–Colby


#8

I think some of the work my group will require porting the mac layer to
the
USRP2. I’ll keep the list posted.

–Colby