Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Sep 10, 2024
1 parent 424625e commit 6a72cea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/l2/upper_mac_packet_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ auto UpperMacPacketBuilder::parse_broadcast(LogicalChannel channel, BitVector&&
}

auto UpperMacPacketBuilder::extract_tm_sdu(BitVector& data, std::size_t preprocessing_bit_count,
unsigned _BitInt(1) fill_bit_indication, std::optional<std::size_t> length)
-> BitVector {
unsigned _BitInt(1) fill_bit_indication,
std::optional<std::size_t> length) -> BitVector {
// 1. calculate the header size of the MAC. this step must be performed before removing fill bits, as this would
// change the number of bits in the BitVector
const auto mac_header_length = preprocessing_bit_count - data.bits_left();
Expand Down Expand Up @@ -527,8 +527,8 @@ auto UpperMacPacketBuilder::parse_c_plane_signalling(const BurstType burst_type,
return packets;
}

auto UpperMacPacketBuilder::parse_u_plane_signalling(const LogicalChannel channel, BitVector&& data)
-> UpperMacUPlaneSignallingPacket {
auto UpperMacPacketBuilder::parse_u_plane_signalling(const LogicalChannel channel,
BitVector&& data) -> UpperMacUPlaneSignallingPacket {
// the only valid packet here is MAC-U-SIGNAL

auto pdu_type = data.take<2>();
Expand All @@ -542,7 +542,7 @@ auto UpperMacPacketBuilder::parse_u_plane_signalling(const LogicalChannel channe
.logical_channel_ = channel, .type_ = MacPacketType::kMacUSignal, .tm_sdu_ = std::move(data)};
}

auto UpperMacPacketBuilder::parse_u_plane_traffic(const LogicalChannel channel, BitVector&& data)
-> UpperMacUPlaneTrafficPacket {
auto UpperMacPacketBuilder::parse_u_plane_traffic(const LogicalChannel channel,
BitVector&& data) -> UpperMacUPlaneTrafficPacket {
return UpperMacUPlaneTrafficPacket{.logical_channel_ = channel, .data_ = std::move(data)};
}

0 comments on commit 6a72cea

Please sign in to comment.