You are not logged in.
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
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