summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-04-11 16:56:10 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-04-11 16:56:10 +0000
commit8dab9b0bcab616bde55a3a137bd6fb8818ced4a5 (patch)
tree1a570f06204432618fb766e69eab670adebb71ca /include
parent00012f0fe236ff884d28c12781398183dac51b7f (diff)
Added LMP features to sting translation function and table.
Diffstat (limited to 'include')
-rw-r--r--include/hci.h3
-rw-r--r--include/hci_lib.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h
index 65eabc62..4610ac00 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -139,7 +139,7 @@ enum {
#define LMP_TACCURACY 0x10
#define LMP_RSWITCH 0x20
#define LMP_HOLD 0x40
-#define LMP_SNIF 0x80
+#define LMP_SNIFF 0x80
#define LMP_PARK 0x01
#define LMP_RSSI 0x02
@@ -153,6 +153,7 @@ enum {
#define LMP_CVSD 0x01
#define LMP_PSCHEME 0x02
#define LMP_PCONTROL 0x04
+#define LMP_TRSP_SCO 0x08
/* Link policies */
#define HCI_LP_RSWITCH 0x0001
diff --git a/include/hci_lib.h b/include/hci_lib.h
index ed3306ab..10374a30 100644
--- a/include/hci_lib.h
+++ b/include/hci_lib.h
@@ -82,6 +82,8 @@ int hci_strtover(char *str, unsigned int *ver);
char *lmp_vertostr(unsigned int ver);
int lmp_strtover(char *str, unsigned int *ver);
+char *lmp_featurestostr(uint8_t *features, char *pref, int width);
+
static inline void hci_set_bit(int nr, void *addr)
{
*((uint32_t *) addr + (nr >> 5)) |= (1 << (nr & 31));