Bluetooth: btrtl: Firmware format v2 support
authorMax Chou <max.chou@realtek.com>
Mon, 17 Apr 2023 02:33:58 +0000 (10:33 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 05:06:09 +0000 (22:06 -0700)
commit9a24ce5e29b15c4c6b0c89c04f9df6ce14addefa
treef3eaf1a4a3916263027e4532e3c58e5fe93d1969
parent0ab905c3be8c2be368821dd2bd1f8d126064d993
Bluetooth: btrtl: Firmware format v2 support

Realtek changed the format of the firmware file as v2. The driver
should implement the patch to extract the firmware data from the
firmware file. The future chips must apply this patch for firmware loading.
This patch is compatible with the both previous format and v2 as well.

Signed-off-by: Allen Chen <allen_chen@realsil.com.cn>
Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Tested-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btrtl.c
drivers/bluetooth/btrtl.h