aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btqca.h
diff options
context:
space:
mode:
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>2020-12-08 17:25:29 +0530
committerMarcel Holtmann <marcel@holtmann.org>2020-12-18 22:23:50 +0100
commitc0187b0bd3e94c48050687d87b2c3c9fbae98ae9 (patch)
tree29bfbf8998a3d7929af067f70dbf4437561340e1 /drivers/bluetooth/btqca.h
parentBluetooth: btusb: Always fallback to alt 1 for WBS (diff)
downloadlinux-dev-c0187b0bd3e94c48050687d87b2c3c9fbae98ae9.tar.xz
linux-dev-c0187b0bd3e94c48050687d87b2c3c9fbae98ae9.zip
Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC
Add support to read FW build version from debugfs node. This info can be read from /sys/kernel/debug/bluetooth/hci0/firmware_info Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btqca.h')
-rw-r--r--drivers/bluetooth/btqca.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btqca.h b/drivers/bluetooth/btqca.h
index e73b8f8775bd..b19add7675a4 100644
--- a/drivers/bluetooth/btqca.h
+++ b/drivers/bluetooth/btqca.h
@@ -11,6 +11,7 @@
#define EDL_PATCH_CMD_LEN (1)
#define EDL_PATCH_VER_REQ_CMD (0x19)
#define EDL_PATCH_TLV_REQ_CMD (0x1E)
+#define EDL_GET_BUILD_INFO_CMD (0x20)
#define EDL_NVM_ACCESS_SET_REQ_CMD (0x01)
#define MAX_SIZE_PER_TLV_SEGMENT (243)
#define QCA_PRE_SHUTDOWN_CMD (0xFC08)