]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btqca: inject command complete event during fw download
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Tue, 28 May 2019 21:43:22 +0000 (14:43 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Jul 2019 10:45:02 +0000 (12:45 +0200)
commit93939d7c54d1827640e330ec0ccbdd23d3ce62ad
treeac088126ff11fc18ab30d62b8e0a2a1b344dc666
parent9df85b0690ceb2abb2890b1c9940b909d6736a91
Bluetooth: btqca: inject command complete event during fw download

Latest qualcomm chips are not sending an command complete event for
every firmware packet sent to chip. They only respond with a vendor
specific event for the last firmware packet. This optimization will
decrease the BT ON time. Due to this we are seeing a timeout error
message logs on the console during firmware download. Now we are
injecting a command complete event once we receive an vendor specific
event for the last RAM firmware packet.

Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqca.c
drivers/bluetooth/btqca.h