this is needed when the data is not differential encoded
for the BPSK case it is just a matter of comparing the inverted bits against the sync word and if there is a match, inverting the whole frame.
for higher order modulations we might have to be more clever