Skip to content

Commit 7b25e49

Browse files
committed
phy: fix LDPC decoder clamping
1 parent b00a878 commit 7b25e49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/phy/upper/channel_coding/ldpc/ldpc_decoder_impl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ class ldpc_decoder_impl : public ldpc_decoder
178178

179179
private:
180180
/// Soft bits clamp lower bound.
181-
static constexpr log_likelihood_ratio soft_bits_clamp_low = -32;
181+
static constexpr log_likelihood_ratio soft_bits_clamp_low = -64;
182182
/// Soft bits clamp higher bound.
183-
static constexpr log_likelihood_ratio soft_bits_clamp_high = 32;
183+
static constexpr log_likelihood_ratio soft_bits_clamp_high = 64;
184184
/// Pointer to the Tanner graph (~ parity check matrix) used by the encoding algorithm.
185185
const ldpc_graph_impl* current_graph = nullptr;
186186
/// Total number of base graph variable nodes in the current graph.

0 commit comments

Comments
 (0)