Bluetooth: btusb: re-definition for board_id in struct qca_version
authortjiang@codeaurora.org <tjiang@codeaurora.org>
Tue, 16 Nov 2021 04:48:49 +0000 (12:48 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Nov 2021 15:30:45 +0000 (16:30 +0100)
commit741268adb34061c28d8236dd67217f0df580c930
treeaf5b809fe7e47e15ead8e6eb23ba9ab407670ad7
parent27fe097bc60a344ccd8107522184c2750f45df5c
Bluetooth: btusb: re-definition for board_id in struct qca_version

The board ID should be split into two bytes.
The 1st byte is chip ID, and the 2nd byte is platform ID.
For example, board ID 0x010A, 0x01 is platform ID. 0x0A is chip ID.
we have several platforms, and platform IDs are continuously added.
We would not distinguish different chips if we get these mixed up.
Platform ID:
0x00 is for Mobile
0x01 is for X86
0x02 is for Automotive
0x03 is for Consumer electronic

Signed-off-by: Tim Jiang <tjiang@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c