Skip to content
  • Gerrit Renker's avatar
    [DCCP] ccid3: Consistently update t_nom, t_ipi, t_delta · 17893bc1
    Gerrit Renker authored
    
    
    This patch:
    
     * consolidates updating of parameters (t_nom, t_ipi, t_delta) which
       need to be updated at the same time, since they are inter-dependent
    
     * removes two inline functions which are no longer needed as a result of
       the above consolidation
    
     * resolves a FIXME regarding the re-calculation of t_ipi within the nofeedback
       timer, in the state where no feedback has previously been received
    
     * ties updating these parameters to updating the sending rate X, exploiting
       that all three parameters in turn depend on X; and using a small optimisation
       which can reduce the number of required instructions: only update the three
       parameters when X really changes
    
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    Acked-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
    17893bc1