Commit Graph

113 Commits

Author SHA1 Message Date
Anton Ottosson 844424404d Parse MAC writes to meta and propagates PDU.
This commit extends the Parse MAC block so that it puts the parsed fields in the metadata dictionary of the incoming PDU and also propagates it on a message output. It does not modify the cdr of the PDU. The 'fer' output has been removed, and instead 'Lost frames' and 'Instantanteous FER' are put in the metadata dictionary.
2021-07-13 02:47:44 +02:00
Anton Ottosson 228d1b1bcc Add beta and csi to decode_mac PDU output.
Also changed to using `std::vector<gr_complex>` type because it was becoming more and more inconvenient to use c-style arrays.
2021-07-09 21:54:38 +02:00
Anton Ottosson 4a3f387d6d Skip guard bands and null subcarrier in get_csi(). Add beta and csi metadata to stream tag from frame equalizer. 2021-07-09 19:34:29 +02:00
Anton Ottosson 0b095e0ff7 Add base::get_csi() to expose d_H. 2021-07-08 23:39:52 +02:00
Anton Ottosson 8ca5dcedde Make d_H inherited from base class.
All equalizer classes had their own private `d_H` vector, despite all being derived from a common `base` class. Now `d_H` is instead a protected member of `base`, and thus accessible to the derived equalizer classes.
2021-07-08 21:51:53 +02:00
Bastian Bloessl 0f659b4d50 boost 1.73 fix 2020-08-12 11:49:06 +02:00
mychele 7a2cbdb8d8 Fix d_prev_pilots for symbols 0 and 1 in frame_equalizer_impl.cc 2020-07-29 09:42:55 -07:00
Bastian Bloessl 99f1a4564f cmake: fix sse2 detection 2019-12-17 18:12:36 +01:00
Bastian Bloessl c3e8688859 rename includes to match GR naming scheme 2019-12-17 18:12:31 +01:00
Bastian Bloessl f66f1eea8a delete obsolete blocks 2019-06-06 13:05:02 +02:00
Bastian Bloessl 9393abbf65 port to 3.8 2019-06-06 12:03:43 +02:00
Bastian Bloessl 4cddc2b740 no custom moving avg 2018-10-04 10:06:47 +02:00
Bastian Bloessl d730126586 log4cpp now mandatory 2018-10-04 10:04:50 +02:00
Bastian Bloessl b83d008fc8 Merge branch 'master' into next 2018-04-10 17:48:07 +01:00
Bastian Bloessl 08787e1ddb mac: make max frame size configurable 2018-04-10 17:47:31 +01:00
Bastian Bloessl df0d480c59 Merge branch 'master' into next 2017-08-09 22:38:55 +01:00
Bastian Bloessl 26a0c2c87e equalizer: make interleaver pattern a constant 2017-08-09 22:38:39 +01:00
Bastian Bloessl d90b28c55b mapper: make scrambler init a class variable 2017-08-09 22:38:34 +01:00
Bastian Bloessl 6dc42c7f43 sync: more logging 2017-08-09 22:38:31 +01:00
Bastian Bloessl 7b119ba59e Merge branch 'master' into next 2017-03-06 12:49:53 +01:00
Bastian Bloessl 21bcc8b639 equalizer: exclude guards from SNR calculation
Thanks to Stephen Wolfe for reporting
2017-03-06 12:48:05 +01:00
Stephen Wolfe 528536e3f2 viterbi decoder: add viterbi decoder base class
Add a viterbi decoder base class that viterbi decoder
implementations can inherit from.
2016-11-07 15:00:30 -05:00
Stephen Wolfe 9cf628359b viterbi decoder: separate viterbi implementations
reorganizes viterbi decoder source so that each implementation
resides in a separate file.
2016-11-04 14:57:32 -04:00
Stephen Wolfe c6502ae022 non-x86 support: Only use SSE2 when supported
Add generic version of viterbi decoder that does not utilize x86
intrinsics to provide support for other architectures such as ARM.
2016-11-03 11:32:02 -04:00
Bastian Bloessl 1ef58db9c6 Merge branch 'master' into next
# Conflicts:
#	lib/utils.h
2016-09-20 14:35:34 +02:00
Bastian Bloessl 84c9ff3e0d utils: fix macro 2016-09-20 14:32:59 +02:00
Bastian Bloessl c1d50c7ff2 log4cpp is mandatory for GNU Radio 2016-09-15 11:01:13 +02:00
Bastian Bloessl 0bd2e30f55 fix frequency offset calculation 2016-09-05 15:41:27 +02:00
Bastian Bloessl 8530b92086 whitespace 2016-09-05 09:15:49 +02:00
Andrei Stoica 26514acfef Fixed logging of STA algo selection for equalization 2016-09-05 09:11:42 +02:00
Andrei Stoica 743504ccdd Fixed typo in default switch case for SIGNAL field parsing 2016-08-31 11:46:56 +02:00
Bastian Bloessl 88e17d6176 convert metadata to dict 2016-08-31 08:43:00 +02:00
Jonathan Brucker bef6e3d962 Add nomfreq, freqofs, dlt to PDU metadata
Add Nominal Frequency, Carrier Frequency Offset and Data Link Type (DLT)
tags to PDU.

Signed-off-by: Jonathan Brucker jonathan.brucke@gmail.com
2016-08-30 16:15:54 +00:00
Bastian Bloessl 23a195311a fix buffer size allocation 2016-08-22 15:35:10 +02:00
Bastian Bloessl ece3cbf5bb git rid of itpp 2016-05-31 15:40:29 +02:00
Bastian Bloessl d1d33c90eb use viterbi decoder in mac 2016-05-31 15:40:07 +02:00
Bastian Bloessl 1ed08f6e9a restructure receiver 2016-05-31 15:39:15 +02:00
Bastian Bloessl dd89949184 chunks to symbols: use constellations 2016-05-31 15:37:28 +02:00
Bastian Bloessl 9ca1f310f5 sync long: signal freq offset 2016-05-31 15:36:40 +02:00
Bastian Bloessl aa8d43508e sync short: signal freq offset 2016-05-31 15:36:25 +02:00
Bastian Bloessl 052d5022b0 add equalizers 2016-05-31 15:36:05 +02:00
Bastian Bloessl 5a9846fa67 put viterbi decoder in separate file 2016-05-31 15:35:22 +02:00
Bastian Bloessl 7f95f47ec6 add wifi constellation objects 2016-05-31 15:32:18 +02:00
Bastian Bloessl 760fc86101 rename 2016-04-20 07:45:49 +02:00
Gonzalo Arcos 0f56254df3 - Added new Viterbi convolutional decoder to the OFDM Decode Mac block replacing the former IT++ version. This new decoder uses
SSE2 and improves the performance significantly. The decoder was taken from the gr-dvbt module from GNU Radio.
- Disabled some logging functions in the ofdm_mac and ofdm_decode_signal blocks that were degrading the performance significantly.

[Gonzalo Arcos | Rodrigo Ferreri]
2016-04-20 06:53:49 +02:00
Gonzalo Arcos 74ae445143 Replaced demodulation algorithms in OFDM Decode MAC block for a more efficient version.
[Gonzalo Arcos | Rodrigo Ferreri]
2016-04-20 06:43:13 +02:00
Bastian Bloessl e815faa792 fix use after free 2016-03-01 15:35:42 -08:00
Bastian Bloessl 481d873f2e formatting 2015-09-04 14:53:44 +02:00
Bastian Bloessl 009490b8c9 scramble data 2015-09-04 14:53:39 +02:00
Bastian Bloessl 33a75673b2 long: other way to define matched filter 2015-09-04 12:27:44 +02:00