diff options
author | Wu Zheng <wu.zheng@intel.com> | 2013-12-12 04:50:37 -0500 |
---|---|---|
committer | Wu Zheng <wu.zheng@intel.com> | 2013-12-12 04:50:37 -0500 |
commit | 5d363eb448eacca7c3939fd6e8d6ee3c284db7e2 (patch) | |
tree | f48817eba8ed8386a9f9c40801d2b6cb196dddfa /lib | |
parent | a704ad586e3a3480a8e0c60da2d9b772dbd0c887 (diff) | |
download | bluez-5d363eb448eacca7c3939fd6e8d6ee3c284db7e2.tar.gz bluez-5d363eb448eacca7c3939fd6e8d6ee3c284db7e2.tar.bz2 bluez-5d363eb448eacca7c3939fd6e8d6ee3c284db7e2.zip |
Imported Upstream version 5.12upstream/5.12
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bluetooth.c | 24 | ||||
-rw-r--r-- | lib/bluetooth.h | 10 | ||||
-rw-r--r-- | lib/hci.c | 1 |
3 files changed, 35 insertions, 0 deletions
diff --git a/lib/bluetooth.c b/lib/bluetooth.c index 5598ccfd..17ee2c1d 100644 --- a/lib/bluetooth.c +++ b/lib/bluetooth.c @@ -793,6 +793,30 @@ const char *bt_compidtostr(int compid) return "Atus BV"; case 266: return "Codegate Ltd."; + case 267: + return "ERi, Inc."; + case 268: + return "Transducers Direct, LLC"; + case 269: + return "Fujitsu Ten Limited"; + case 270: + return "Audi AG"; + case 271: + return "HiSilicon Technologies Co., Ltd."; + case 272: + return "Nippon Seiki Co., Ltd."; + case 273: + return "Steelseries ApS"; + case 274: + return "vyzybl Inc."; + case 275: + return "Openbrain Technologies, Co., Ltd."; + case 276: + return "Xensr"; + case 277: + return "e.solutions"; + case 278: + return "1OAK Technologies"; case 65535: return "internal use"; default: diff --git a/lib/bluetooth.h b/lib/bluetooth.h index 012fde40..61c1f9ac 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -77,6 +77,13 @@ struct bt_security { #define BT_FLUSHABLE_OFF 0 #define BT_FLUSHABLE_ON 1 +#define BT_POWER 9 +struct bt_power { + uint8_t force_active; +}; +#define BT_POWER_FORCE_ACTIVE_OFF 0 +#define BT_POWER_FORCE_ACTIVE_ON 1 + #define BT_CHANNEL_POLICY 10 /* BR/EDR only (default policy) @@ -109,6 +116,9 @@ struct bt_voice { uint16_t setting; }; +#define BT_SNDMTU 12 +#define BT_RCVMTU 13 + #define BT_VOICE_TRANSPARENT 0x0003 #define BT_VOICE_CVSD_16BIT 0x0060 @@ -649,6 +649,7 @@ static hci_map ver_map[] = { { "2.1", 0x04 }, { "3.0", 0x05 }, { "4.0", 0x06 }, + { "4.1", 0x07 }, { NULL } }; |