|
@@ -2104,10 +2104,14 @@ static int btusb_setup_intel_new(struct hci_dev *hdev)
|
|
/* With this Intel bootloader only the hardware variant and device
|
|
/* With this Intel bootloader only the hardware variant and device
|
|
* revision information are used to select the right firmware.
|
|
* revision information are used to select the right firmware.
|
|
*
|
|
*
|
|
- * Currently this bootloader support is limited to hardware variant
|
|
|
|
- * iBT 3.0 (LnP/SfP) which is identified by the value 11 (0x0b).
|
|
|
|
|
|
+ * The firmware filename is ibt-<hw_variant>-<dev_revid>.sfi.
|
|
|
|
+ *
|
|
|
|
+ * Currently the supported hardware variants are:
|
|
|
|
+ * 11 (0x0b) for iBT3.0 (LnP/SfP)
|
|
|
|
+ * 12 (0x0c) for iBT3.5 (WsP)
|
|
*/
|
|
*/
|
|
- snprintf(fwname, sizeof(fwname), "intel/ibt-11-%u.sfi",
|
|
|
|
|
|
+ snprintf(fwname, sizeof(fwname), "intel/ibt-%u-%u.sfi",
|
|
|
|
+ le16_to_cpu(ver.hw_variant),
|
|
le16_to_cpu(params->dev_revid));
|
|
le16_to_cpu(params->dev_revid));
|
|
|
|
|
|
err = request_firmware(&fw, fwname, &hdev->dev);
|
|
err = request_firmware(&fw, fwname, &hdev->dev);
|
|
@@ -2123,7 +2127,8 @@ static int btusb_setup_intel_new(struct hci_dev *hdev)
|
|
/* Save the DDC file name for later use to apply once the firmware
|
|
/* Save the DDC file name for later use to apply once the firmware
|
|
* downloading is done.
|
|
* downloading is done.
|
|
*/
|
|
*/
|
|
- snprintf(fwname, sizeof(fwname), "intel/ibt-11-%u.ddc",
|
|
|
|
|
|
+ snprintf(fwname, sizeof(fwname), "intel/ibt-%u-%u.ddc",
|
|
|
|
+ le16_to_cpu(ver.hw_variant),
|
|
le16_to_cpu(params->dev_revid));
|
|
le16_to_cpu(params->dev_revid));
|
|
|
|
|
|
kfree_skb(skb);
|
|
kfree_skb(skb);
|