Bluetooth: btintel: check FIPS status before firmware download
Intel Bluetooth controllers (PCIe and USB) from Scorpius Peak2 onwards,
except BlazarIW, report bootloader self-test results (CRC, security,
and patch) in the INTEL_TLV_FIPS_STS TLV of the Intel Read Version
event. Act on them before firmware download:
1. CRC failure -> abort download.
2. Security failure -> abort on USB / HW reset and retry on PCIe.
3. Patch failure -> abort on USB / HW reset and retry on PCIe.
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
3 files changed