Add an "Append CRC32" block

This commit is contained in:
Nicolas Guillaume
2025-12-22 12:56:00 +01:00
committed by Bastian Bloessl
parent ac55ae7ca1
commit 7e9c132dfb
11 changed files with 262 additions and 3 deletions
+1 -1
View File
@@ -23,5 +23,5 @@ install(FILES
signal_field.h
sync_long.h
sync_short.h
DESTINATION include/ieee802_11
append_crc32.h DESTINATION include/ieee802_11
)
+36
View File
@@ -0,0 +1,36 @@
/*
* Copyright (C) 2025 Nicolas Guillaume <nicol@sguillau.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_IEEE802_11_APPEND_CRC32_H
#define INCLUDED_IEEE802_11_APPEND_CRC32_H
#include <gnuradio/block.h>
#include <ieee802_11/api.h>
namespace gr {
namespace ieee802_11 {
class IEEE802_11_API append_crc32 : virtual public block
{
public:
typedef std::shared_ptr<append_crc32> sptr;
static sptr make(bool append = true);
};
}
}
#endif