From 42ed10ea147547c7531c45df884e1da72a4a8b3a Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Tue, 1 Jul 2025 23:19:36 +0200 Subject: [PATCH] use 31 length MLS for pilots --- decode.cc | 2 +- encode.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/decode.cc b/decode.cc index 18989dc..fd1e4b1 100644 --- a/decode.cc +++ b/decode.cc @@ -48,7 +48,7 @@ struct Decoder static const int symbols_max = 44; static const int mls0_poly = 0b1100110001; static const int mls0_seed = 214; - static const int mls1_poly = 0b100101011; + static const int mls1_poly = 0x25; static const int buffer_len = 5 * extended_len; static const int search_pos = extended_len; static const int pilot_tones = 32; diff --git a/encode.cc b/encode.cc index 79f6320..099e605 100644 --- a/encode.cc +++ b/encode.cc @@ -33,7 +33,7 @@ struct Encoder static const int data_max = 4096; static const int mls0_poly = 0b1100110001; static const int mls0_seed = 214; - static const int mls1_poly = 0b100101011; + static const int mls1_poly = 0x25; static const int mls2_poly = 0b100101010001; static const int data_tones = 256; static const int pilot_tones = 32;