Bluetooth: btrtl: Add RTL8822BE Bluetooth device
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Sep 2016 15:02:05 +0000 (10:02 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Sep 2016 07:27:00 +0000 (09:27 +0200)
commit7b4ecaab00f1c52c9f75be5a6bbae41790741748
tree0d386d0660090e785e1375bcdae5d78751ed575d
parenta2ce395595800d6f8872a81cb0b300f2d9b880b1
Bluetooth: btrtl: Add RTL8822BE Bluetooth device

The RTL8822BE is a new Realtek wifi and BT device. Support for the BT
part is hereby added.

As this device is similar to most of the other Realtek BT devices, the
changes are minimal. The main difference is that the 8822BE needs a
configuration file for enabling and disabling features. Thus code is
added to select and load this configuration file. Although not needed
at the moment, hooks are added for the other devices that might need
such configuration files.

One additional change is to the routine that tests that the project
ID contained in the firmware matches the hardware. As the project IDs
are not sequential, continuing to use the position in the array as the
expected value of the ID would require adding extra unused entries in
the table, and any subsequant rearrangment of the array would break the
code. To fix these problems, the array elements now contain both the
hardware ID and the expected value for the project ID.

Signed-off-by: 陆朱伟 <alex_lu@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrtl.c
This page took 0.025812 seconds and 5 git commands to generate.