WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2007-Jul-17 11:04:45

vikasg
Member
Registered: 2007-Jun-16
Posts: 14

Base Rate problem (OFDM_ReferenceDesign_v04)

I am trying to use BPSK (instead of QPSK) as the base rate and for the same I have modified following lines of code (in warpmac.c)

warpmac_setBaseRate(BPSK);
warpmac_setFullRate(QPSK); //This sets the modulation in the transmitter and fills the modulation type
                     //into the header. The receiver automatically adjusts on a per-packet basis
                     //using this header element.

There is a parameter 'numBaseRate' in warpmac.c which is set to 2 for QPSK. Do I need to change this parameter for BPSK base rate? and if yes then to what value should this parameter be set?

Thankyou

Offline

 

#2 2007-Jul-17 11:08:12

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

Re: Base Rate problem (OFDM_ReferenceDesign_v04)

You do need to change numBaseRate, in this case to 4.

To understand why, first read the OFDM frame format documentation.

Using the default subcarrier mapping, a BSPK OFDM symbol consumes 6 bytes, QPSK uses 12 and 16-QAM uses 24. So with a 24-byte header, you need 4  base rate symbols modulated with BPSK, instead of 2 with QPSK.

Offline

 

Board footer