aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-09-01 19:36:15 -0300
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2010-10-04 17:38:22 -0300
commit7ff8fd32ebaec606c8ee9d063a277eeba7352f5f (patch)
treed9a5d558a9bff864e7ff52b31f0df08dc49943c3 /lib
parentd93f18c610a8468bd7c92b93730c0e08a6ebd3d4 (diff)
downloadbluez-7ff8fd32ebaec606c8ee9d063a277eeba7352f5f.tar.gz
Set the LE host supported and disable simultaneous LE and BR/EDR flags
For BlueZ if the controller supports LE, extended feature mask shall be set to indicate that the host supports LE and disable simultaneous LE and BR/EDR for simplicity even if the controller supports simultaneous LE and BR/EDR.
Diffstat (limited to 'lib')
-rw-r--r--lib/hci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/hci.h b/lib/hci.h
index ea8fffdd..c6d49b0f 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -1225,6 +1225,13 @@ typedef struct {
} __attribute__ ((packed)) write_best_effort_flush_timeout_rp;
#define WRITE_BEST_EFFORT_FLUSH_TIMEOUT_RP_SIZE 1
+#define OCF_WRITE_LE_HOST_SUPPORTED 0x006D
+typedef struct {
+ uint8_t le;
+ uint8_t simul;
+} __attribute__ ((packed)) write_le_host_supported_cp;
+#define WRITE_LE_HOST_SUPPORTED_CP_SIZE 2
+
/* Informational Parameters */
#define OGF_INFO_PARAM 0x04