Commit be87252
Fix false-sync escalation blocking ACK decode and two OFDM code bugs
- Add LLR quality gate before 4-CW escalation in streaming decoder:
false syncs from fading-corrupted LTS produce |llr|_avg ~1.0, while
legitimate interleaved data has |llr|_avg > 3.0. Escalating on garbage
wasted ~1.5s on 4x failed LDPC (50 iters each), blocking the decoder
from processing real ACK frames and causing cascading timeout retransmissions.
R1/4 file transfer retransmissions: 21 -> 8, timeouts: 18 -> 0.
- Fix ConnectFrame re-encode using wrong code rate (streaming_encoder.cpp):
after patching total_cw field, re-encode incorrectly used code_rate_
instead of CodeRate::R1_4 for control frames.
- Deduplicate PILOT_RNG_SEED constant (modulator.cpp):
removed duplicate definition, now uses single source from
demodulator_constants.hpp. Divergence would silently break TX/RX
pilot sequence matching.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6f6a452 commit be87252
File tree
3 files changed
+31
-9
lines changed- src
- gui/modem
- ofdm
3 files changed
+31
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1174 | 1174 | | |
1175 | 1175 | | |
1176 | 1176 | | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1177 | 1202 | | |
1178 | 1203 | | |
1179 | | - | |
1180 | | - | |
| 1204 | + | |
| 1205 | + | |
1181 | 1206 | | |
1182 | 1207 | | |
1183 | 1208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
613 | | - | |
| 612 | + | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
197 | | - | |
| 194 | + | |
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
| |||
0 commit comments