[Patch-gnuradio] gr_mpsk_receiver_cc.cc fix for qpsk demodulation
From:
Ben Green
Subject:
[Patch-gnuradio] gr_mpsk_receiver_cc.cc fix for qpsk demodulation
Date:
Mon, 8 Jun 2009 14:11:40 -0500
In gr_mpsk_receiver_cc.cc, the qpsk-optimized function for calculating phase error makes guesses about the constellation point based on constellation ( 1 + 1j), (-1 + 1j), (-1 -1j), and (1 - 1j). However, the rest of the receiver assumes a constellation of (1 + 0j), (0 + 1j), (-1 + 0j), and (0 - 1j). Currently the BER is terrible for qpsk demod, and with much noise at all it fails completely. This patch fixes the function so that it is consistent with the rest of the block, and works much better now.