Commit graph

19 commits

Author SHA1 Message Date
Ahmet Inan
0797171e03 don't rely on err[] being signed 2020-07-08 13:46:07 +02:00
Ahmet Inan
14967f8841 lowered ML-decoding threshold to K <= 4 2020-07-08 11:25:11 +02:00
Ahmet Inan
af5160efd3 return -1 for more than T errors 2020-07-08 11:15:29 +02:00
Ahmet Inan
945da60cbd introduced L constant to play with the number 2020-06-14 23:13:10 +02:00
Ahmet Inan
eccb5ea436 removed T=4 as it is unrealistic for short codes 2020-06-14 21:10:11 +02:00
Ahmet Inan
b54be1c997 moved constructor generator argument to template parameter 2020-06-14 20:43:45 +02:00
Ahmet Inan
619d8bd3b4 reduced code duplication with lambda update() 2020-06-11 12:29:22 +02:00
Ahmet Inan
8c2e824b4e moved runtime assert for radius T to compile time 2020-06-11 08:26:15 +02:00
Ahmet Inan
961e5b19fa only flip worst T bits 2020-06-10 20:16:33 +02:00
Ahmet Inan
77f27a8c5e made T a template parameter 2020-06-10 19:53:10 +02:00
Ahmet Inan
fd2cdb4d58 do ML decoding if K <= 6 and Chase decoding otherwise 2020-06-10 14:00:27 +02:00
Ahmet Inan
f83c785867 skip metric computation if same as last word 2020-06-09 22:09:56 +02:00
Ahmet Inan
9b1c6cf573 point out soft decoding better 2020-06-09 17:31:31 +02:00
Ahmet Inan
e0423da509 moved ML method to bottom 2020-06-09 14:47:01 +02:00
Ahmet Inan
809ab3690b return -1 if unsure 2020-06-09 14:36:19 +02:00
Ahmet Inan
a33c2082d9 added metric() helper 2020-06-09 13:33:42 +02:00
Ahmet Inan
0ebdada99a moved initial metric of hard decision to the top 2020-06-09 12:56:48 +02:00
Ahmet Inan
5cf0ff2297 added soft Chase decoding for short BCH codes
gives about 1.5dB gain while only half the speed of hard decision.
2020-06-08 18:22:54 +02:00
Ahmet Inan
5d944ca7a9 added encoder and syndrome decoder for short BCH codes 2020-06-07 18:28:25 +02:00