mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 10:01:57 -05:00
Don't waste time on excess BP iterations when doing K=50. Decode a little deeper.
This commit is contained in:
parent
c87926e657
commit
17195680ee
@ -25,6 +25,8 @@ subroutine decode240_74(llr,Keff,maxosd,norder,apmask,message74,cw,ntype,nharder
|
|||||||
include "ldpc_240_74_parity.f90"
|
include "ldpc_240_74_parity.f90"
|
||||||
|
|
||||||
maxiterations=30
|
maxiterations=30
|
||||||
|
if(Keff.eq.50) maxiterations=1
|
||||||
|
|
||||||
nosd=0
|
nosd=0
|
||||||
if(maxosd.gt.3) maxosd=3
|
if(maxosd.gt.3) maxosd=3
|
||||||
if(maxosd.eq.0) then ! osd with channel llrs
|
if(maxosd.eq.0) then ! osd with channel llrs
|
||||||
@ -36,6 +38,8 @@ subroutine decode240_74(llr,Keff,maxosd,norder,apmask,message74,cw,ntype,nharder
|
|||||||
nosd=0
|
nosd=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if(maxosd.eq.0) goto 73
|
||||||
|
|
||||||
toc=0
|
toc=0
|
||||||
tov=0
|
tov=0
|
||||||
tanhtoc=0
|
tanhtoc=0
|
||||||
@ -133,6 +137,7 @@ subroutine decode240_74(llr,Keff,maxosd,norder,apmask,message74,cw,ntype,nharder
|
|||||||
|
|
||||||
enddo ! bp iterations
|
enddo ! bp iterations
|
||||||
|
|
||||||
|
73 continue
|
||||||
do i=1,nosd
|
do i=1,nosd
|
||||||
zn=zsave(:,i)
|
zn=zsave(:,i)
|
||||||
! call osd240_74(zn,Keff,apmask,norder,message74,cw,nharderror,dminosd)
|
! call osd240_74(zn,Keff,apmask,norder,message74,cw,nharderror,dminosd)
|
||||||
|
@ -181,8 +181,8 @@ subroutine fastosd240_74(llr,k,apmask,ndeep,message74,cw,nhardmin,dmin)
|
|||||||
nsyncmax=11
|
nsyncmax=11
|
||||||
elseif(ndeep.eq.4) then
|
elseif(ndeep.eq.4) then
|
||||||
nord=4
|
nord=4
|
||||||
xlambda=3.5
|
xlambda=3.4
|
||||||
nsyndmax=11
|
nsyndmax=12
|
||||||
endif
|
endif
|
||||||
|
|
||||||
s1=sum(absrx(1:k))
|
s1=sum(absrx(1:k))
|
||||||
|
Loading…
Reference in New Issue
Block a user