summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-10-24 23:19:09 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-10-24 23:19:09 +0000
commit70d9cbea647199f8f76d0f6b467799c5bb7b95fb (patch)
treeb10a60c15b9a9b3fb41eaef06ff631552ead40af
parentd17f131aa94e5aa9e3bcfe391f033ada1bc855da (diff)
Add more PS key definitions
-rw-r--r--tools/csr.c10
-rw-r--r--tools/csr.h5
2 files changed, 15 insertions, 0 deletions
diff --git a/tools/csr.c b/tools/csr.c
index 936a20f9..43ae25b0 100644
--- a/tools/csr.c
+++ b/tools/csr.c
@@ -414,6 +414,16 @@ char *csr_pskeytostr(uint16_t pskey)
return "Country code";
case CSR_PSKEY_CLASSOFDEVICE:
return "Class of device";
+ case CSR_PSKEY_DEVICE_DRIFT:
+ return "Device drift";
+ case CSR_PSKEY_DEVICE_JITTER:
+ return "Device jitter";
+ case CSR_PSKEY_MAX_ACLS:
+ return "Maximum ACL links";
+ case CSR_PSKEY_MAX_SCOS:
+ return "Maximum SCO links";
+ case CSR_PSKEY_MAX_REMOTE_MASTERS:
+ return "Maximum remote masters";
case CSR_PSKEY_ENC_KEY_LMIN:
return "Minimum encryption key length";
case CSR_PSKEY_ENC_KEY_LMAX:
diff --git a/tools/csr.h b/tools/csr.h
index 74c97c92..0f9859fa 100644
--- a/tools/csr.h
+++ b/tools/csr.h
@@ -72,6 +72,11 @@
#define CSR_PSKEY_BDADDR 0x0001 /* uint16[] = { 0x00A5A5, 0x5b, 0x0002 } */
#define CSR_PSKEY_COUNTRYCODE 0x0002 /* uint16 */
#define CSR_PSKEY_CLASSOFDEVICE 0x0003 /* uint32 */
+#define CSR_PSKEY_DEVICE_DRIFT 0x0004 /* uint16 */
+#define CSR_PSKEY_DEVICE_JITTER 0x0005 /* uint16 */
+#define CSR_PSKEY_MAX_ACLS 0x000d /* uint16 */
+#define CSR_PSKEY_MAX_SCOS 0x000e /* uint16 */
+#define CSR_PSKEY_MAX_REMOTE_MASTERS 0x000f /* uint16 */
#define CSR_PSKEY_ENC_KEY_LMIN 0x00da /* uint16 */
#define CSR_PSKEY_ENC_KEY_LMAX 0x00db /* uint16 */
#define CSR_PSKEY_LOCAL_SUPPORTED_FEATURES 0x00ef /* uint16[] = { 0xffff, 0xfe8f, 0xf99b, 0x8000 } */