• Flore Harlé's avatar
    FEC: update flexible FEC · e6cb6a0e
    Flore Harlé authored
    Update FecParams for an adaptative FEC.
    Several configurations are possible, for an increasing protection level and an increasing overhead. The FEC parameters can be dynamically changed, and the parity protection can be enabled or disabled. The protection configuration (L, D) can be:
    - (0, 0) when the FEC is disabled
    - (10, 0) row protection (1D)
    - (5, 5) column protection (1D)
    - (5, 5) 2D protection
    - (4, 4) 2D protection
    - (3, 3) 2D protection
    The bandwidth is classified in 3 ranges (low, medium and high). For each range, a maximal overhead is set, and a specific rule between loss rate and FEC level is defined.
    The management of the FEC parameters to optimize the bandwidth used is made by the FecParams. The choice of the level is made given the available bandwidth, the loss rate and the overhead. A heuristic helps to find the best compromise between those parameters. When the loss rate is over 20% the FEC is always disabled as we consider this is a situation of congestion. This ...
    e6cb6a0e