]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Bluetooth: hci_ath: Add ath_vendor_cmd helper
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 19 Oct 2017 12:29:10 +0000 (14:29 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Oct 2017 13:08:56 +0000 (14:08 +0100)
commit13df5000d39a1570a88daa44855ebe0b0f966b14
treea5d6c827350b6a906919bcb93cc600fcb1a81490
parentf17d858ed0a48270db4368d8cf370e3839ee6f4f
Bluetooth: hci_ath: Add ath_vendor_cmd helper

Introduce ath_vendor_cmd function which can be used to
configure 'tags' and patch the firmware.

ATH vendor command has the following format:
| OPCODE (u8) | INDEX (LE16) | DLEN (U8) | DATA (U8 * DLEN) |

BD address configuration tag is at index 0x0001.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ath.c