• Loic Poulain's avatar
    Bluetooth: btqca: Add AR3002 rampatch support · 6e03126a
    Loic Poulain authored
    This patch adds rampatch download compatibility for ROME >= 3.2.
    Starting with ROME 3.2, the 'download mode' field of the rampatch
    header indicates if the controller acknowledges (or not) the received
    rampatch segments. If not, we need to send all the segments without
    expecting any event from the controller (except for the last segment).
    Goal is (I assume) to speed-up rampatch download.
    
    This fixes BT on Dragonboard-600c P2 which includes the following BT
    controller:
    
    hci0: ROME Patch Version Request
    hci0: Product:0x00000008
    hci0: Patch  :0x00000111
    hci0: ROM    :0x00000302
    hci0: SOC    :0x00000023
    Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    6e03126a
btqca.h 3.18 KB