Skip to content

Commit

Permalink
make diff smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Jun 3, 2024
1 parent 887db73 commit 3c2cd78
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions include/l2/lower_mac.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,12 @@ class LowerMac {
/// uplink processing, as we decouple it from the downlink for data/control packets.
std::optional<BroadcastSynchronizationChannel> sync_;

static auto descramble(const uint8_t* const data, uint8_t* const res, const std::size_t len,
const uint32_t scramblingCode) noexcept -> void;
static auto deinterleave(const uint8_t* const data, uint8_t* const res, const std::size_t K,
const std::size_t a) noexcept -> void;
[[nodiscard]] static auto depuncture23(const uint8_t* const data, const uint32_t len) noexcept
-> std::vector<int16_t>;
static auto reed_muller_3014_decode(const uint8_t* const data, uint8_t* const res) noexcept -> void;
[[nodiscard]] static auto check_crc_16_ccitt(const uint8_t* const data, const std::size_t len) noexcept -> bool;
static auto descramble(const uint8_t* data, uint8_t* res, std::size_t len, uint32_t scramblingCode) noexcept
-> void;
static auto deinterleave(const uint8_t* data, uint8_t* res, std::size_t K, std::size_t a) noexcept -> void;
[[nodiscard]] static auto depuncture23(const uint8_t* data, uint32_t len) noexcept -> std::vector<int16_t>;
static auto reed_muller_3014_decode(const uint8_t* data, uint8_t* res) noexcept -> void;
[[nodiscard]] static auto check_crc_16_ccitt(const uint8_t* data, std::size_t len) noexcept -> bool;

[[nodiscard]] auto viter_bi_decode_1614(const std::vector<int16_t>& data) const noexcept -> std::vector<uint8_t>;
};

0 comments on commit 3c2cd78

Please sign in to comment.