[Saucy][PATCH 1/5] UBUNTU: SAUCE: Bluetooth: Support for loading broadcom patchram firmware
Jesse Sung
jesse.sung at canonical.com
Fri Sep 6 17:12:18 UTC 2013
2013/9/6 Tim Gardner <tim.gardner at canonical.com>:
> Does this patch set suffer from the same 'use hci_send_cmd instead of
> usb_control_msg' deficiency as was just proposed for Quantal/Raring ?
No, it doesn't.
Sending via HCI instead of usb_control_msg is safer. When 3.10 is released,
support for Intel 7260 bluetooth is merged. It also sends its firmware via HCI.
So some helper functions like __hci_cmd_sync() and __hci_cmd_sync_ev() are
introduced for waiting the reply from bt module, to make sure that
these commands
are really received by hardware and to be able to get the data bt
module replied.
That's the main purpose of the previous pull request - to pull __hci_cmd_sync()
stuffs in. Since we don't have these helper functions in quantal and raring,
hci_send_cmd() is used instead to replace usb_control_msg() calls.
Saucy is based on 3.11, so this patch uses __hci_cmd_sync() directly.
Thanks,
Jesse
More information about the kernel-team
mailing list