Kernel header drivers/bluetooth/btqca.h defines many soc types as following: enum qca_btsoc_type { QCA_INVALID = -1, QCA_AR3002, QCA_ROME, QCA_WCN3988, QCA_WCN3990, QCA_WCN3998, QCA_WCN3991, QCA_QCA2066, QCA_QCA6390, QCA_WCN6750, QCA_WCN6855, QCA_WCN7850, QCA_MAX, }; and every soc type stands for a kind of QCA BT controller, but tool btattach currenlty only supports default soc type QCA_ROME, this patch series are to add support for other all other QCA soc types by adding a option for tool btattach to specify soc type. Zijun Hu (2): Bluetooth: hci_ldisc: Add a ioctl HCIUARTSETPROTODATA Bluetooth: qca: Fix wrong soc_type returned for tool btattach drivers/bluetooth/btqca.h | 1 + drivers/bluetooth/hci_ldisc.c | 10 ++++++++++ drivers/bluetooth/hci_qca.c | 8 +++++++- drivers/bluetooth/hci_uart.h | 3 +++ 4 files changed, 21 insertions(+), 1 deletion(-) -- 2.7.4