Commit Graph

377 Commits

Author SHA1 Message Date
Bastian Bloessl ad0598e4a8 update bindings 2026-05-19 14:37:05 +02:00
Bastian Bloessl a4822168b7 make clanker happy 2026-05-19 14:32:15 +02:00
Bastian Bloessl f56251d471 make clanker happy 2026-05-19 14:30:19 +02:00
Bastian Bloessl b327e06ac5 crc32 warning 2026-05-19 14:26:15 +02:00
Nicolas Guillaume 7e9c132dfb Add an "Append CRC32" block 2026-01-08 15:28:33 +01:00
Ryan Volz ac55ae7ca1 Add gitattributes so pybind11 header hash check works on Windows 2025-09-26 11:44:11 +02:00
Ryan Volz 32552e1f79 Update MANIFEST to yaml format and install examples to discoverable dir 2025-09-26 11:44:11 +02:00
smiller2 202f63bfa6 adding reference to gr-ieee802-11ah in the README 2025-06-18 17:13:53 +02:00
Leonardo Sarango bb646ed472 Fix: Corrected typo 'defaut' to 'default' in switch statements 2025-06-10 14:23:51 +02:00
Bastian Bloessl 5c6cb3ff19 pybind fix
fixes #423
2025-03-06 16:12:59 +01:00
Bastian Bloessl ce7097384b Readme: fix git clone links 2023-10-03 12:04:37 +02:00
Bastian Bloessl 27c8fdfe4a update pybind11 bindings 2023-09-17 17:55:12 +02:00
Bastian Bloessl c431137c71 fix logging for fmt 10 2023-09-16 11:23:32 +02:00
Bastian Bloessl abed50bf7f change logging 2023-08-04 13:09:57 +02:00
Ryan Volz 965e2d474f Fix endian.h not available on Windows by defining htole16 no-op 2023-07-28 14:51:27 +02:00
Ryan Volz 1b88193094 Fix Windows build error from non-const array size 2023-07-28 14:51:27 +02:00
Ryan Volz 83c02a1b66 Use alignas to specify alignment, for Windows compatibility. 2023-07-28 14:51:27 +02:00
Ryan Volz 3898a21350 Switch to MSVC-style packing pragmas so it will compile on Windows.
gcc and clang accept this style as well.
2023-07-28 14:51:27 +02:00
Ryan Volz 08cdcf7a4e Install examples to PREFIX/share/gr-ieee802_11/examples 2023-07-28 14:51:27 +02:00
Ryan Volz 29ca2bde94 Add conda recipe 2023-07-28 14:51:27 +02:00
Ryan Volz fe725a1c6d Add LICENSE file reflecting the GPLv3 specified in source headers. 2023-07-28 14:51:27 +02:00
Itaru OGAWA 56d8c5c19f Fix for insufficient initialization for generic decoder. 2022-09-02 08:37:58 +02:00
Bastian Bloessl b3dc15a567 update flowgraphs for 3.10 blocks 2022-06-07 12:59:01 +02:00
Bastian Bloessl 5e02723e67 parse_mac: add missing include 2022-06-07 12:52:53 +02:00
Benjamin Menkuec a0e81851b0 add missing include boost/format.hpp 2022-05-02 19:37:16 +02:00
Bastian Bloessl 0c0fca8ec9 decode_mac: add include 2021-11-24 17:47:04 +01:00
Bastian Bloessl dec30cbed4 chunks_to_symbols: remove unused include 2021-11-24 17:25:12 +01:00
Bastian Bloessl c19b0ad2b5 Merge branch 'maint-3.8' into maint-3.9 2021-08-05 16:30:57 +02:00
Anton Ottosson ef5fd6c595 Fix format_mac_address function in parse_mac.cc
Apparently the stream manipulator `std::setw` applies only to the next string written to the stream. Hence the function `format_mac_address` in parse_mac.cc only formatted the first pair of hexadecimal digits correctly. This went unnoticed until now because it only makes a difference for numbers below 0x10.
2021-08-03 17:35:32 +02:00
Bastian Bloessl cba532a33f Merge branch 'maint-3.8' into maint-3.9 2021-07-20 12:19:14 +02:00
Bastian Bloessl 586ba0a85e update flowgraphs 2021-07-20 12:19:04 +02:00
Bastian Bloessl ef14207914 fix python bindings 2021-07-20 12:19:04 +02:00
Bastian Bloessl 983bf13b7f update flowgraphs 2021-07-20 12:19:04 +02:00
Bastian Bloessl afe85e2c71 python bindings 2021-07-20 12:19:04 +02:00
Bastian Bloessl cd0bb1fafd start porting to 3.9 2021-07-20 12:19:04 +02:00
Bastian Bloessl 6b5a8c1ddc update readme 2021-07-20 12:18:16 +02:00
Bastian Bloessl 4d1befbc05 fix formatting 2021-07-19 08:50:53 +02:00
Anton Ottosson 24f72aaf08 Uniform metadata keys.
This commit makes all metadata keys follow similar formatting: all lowercase, with spaces (as opposed to underlines or other conventions).
2021-07-19 08:14:08 +02:00
Anton Ottosson e620d48c81 Make metadata pipeline more uniform and GR-like.
The Frame Equalizer used to propagate metadata as a dictionary stored in a single tag. Now it instead propagates each entry as a separate tag, which is more in line with how standard GNU Radio blocks do it (see for example PDU to Tagged Stream block). This is also how the Extract CSI block does it.

This modification also removes a lot of unnecessary variables and type conversions (from and to pmt types) in the Decode MAC block.
2021-07-19 08:14:08 +02:00
Anton Ottosson 4f069d6518 Enable debug on Parse MAC in loopback example.
The readme says that if you run the loopback example, then "If everything works as intended you should see some decoded packets on the console". For this to be true out of the box, the debug option on the Parse MAC block must be enabled.
2021-07-19 08:10:13 +02:00
Bastian Bloessl 3d8a172acc delete unused file 2021-07-17 10:10:46 +02:00
Bastian Bloessl a2491b5474 clang format, similar to GNU Radio 2021-07-17 10:07:21 +02:00
Bastian Bloessl 5f7e102e3d cs: coding style 2021-07-17 09:55:17 +02:00
Bastian Bloessl 6cd3b5bd10 update flowgraphs 2021-07-17 09:51:07 +02:00
Bastian Bloessl 4d12149cfb grc: rename CSI block 2021-07-17 09:50:59 +02:00
Anton Ottosson 7e3107282a Added Extract CSI block.
This block takes PDU messages as input, looks for a "csi" entry in the meta dictionary, and if found outputs a complex CSI vector on a stream output. The meta is also sent along as stream tags.
2021-07-14 19:34:12 +02:00
Anton Ottosson 51f7d6b284 Changes in response to discussion with bastibl.
We will not parse the frame body and put it in the metadata. Instead `print_ascii` has been restored for debug output. `format_mac` has been made more complete, with correct hex formatting.
2021-07-13 22:02:43 +02:00
Anton Ottosson 45fd47b6ec Small fix to last commit
If we cannot determine the length of the mac frame body, we should probably not attempt to parse it.
2021-07-13 02:58:23 +02:00
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