• Dean Jenkins's avatar
    Bluetooth: BCSP fails to ACK re-transmitted frames from the peer · 37332ddc
    Dean Jenkins authored
    Send an ACK frame with the current txack value in response to
    every received reliable frame unless a TX reliable frame is being
    sent. This modification allows re-transmitted frames from the remote
    peer to be acknowledged rather than ignored. It means that the remote
    peer knows which frame number to start re-transmitting from.
    
    Without this modification, the recovery time to a missing frame
    from the remote peer was unnecessarily being extended because the
    headers of the out of order reliable frames were being discarded rather
    than being processed. The frame headers of received frames will
    indicate whether the local peer's transmissions have been
    acknowledged by the remote peer. Therefore, the local peer may
    unnecessarily re-transmit despite the remote peer already indicating
    that the frame had been acknowledged in out of order reliable frame.
    Signed-off-by: default avatarDean Jenkins <Dean_Jenkins@mentor.com>
    Signed-off-by: default avatarJiada Wang <jiada_wang@mentor.com>
    Signed-off-by: default avatarRajeev Kumar <rajeev_kumar@mentor.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    37332ddc
hci_bcsp.c 18.8 KB