All-in-one finding and demodulation of DKAB bursts.
- Parameters
-
[in] | burst_in | Complex signal of the burst |
[in] | sps | Oversampling used in the input complex signal |
[in] | freq_shift | Frequency shift to pre-apply to burst_in (rad/sym) |
[in] | p | DKAB position |
[out] | ebits | Encoded soft bits return array |
[out] | toa_p | Pointer to TOA return variable |
- Returns
- 0 for success, 1 if DKAB not found, -errno for fatal errors
burst_in is expected to be longer than necessary. Any extra length will be used as 'search window' to find proper alignement. Good practice is to have a few samples too much in front and a few samples after the expected TOA.
References M_PIf, and osmo_cxvec_sig_normalize().