summaryrefslogtreecommitdiff
path: root/lib/a2mp.h
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-06-28 16:09:19 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-28 16:14:40 +0300
commit6c05eb5209a06c390f6fb5f5dd3269adcbec9b03 (patch)
treec8165acb0be3f587611648253b5ece5e37ad0df9 /lib/a2mp.h
parent0ea30be242c198d70f98a3692a72a60ef976cda4 (diff)
downloadbluez-6c05eb5209a06c390f6fb5f5dd3269adcbec9b03.tar.gz
lib: Add headers for AMP ASSOC data
Diffstat (limited to 'lib/a2mp.h')
-rw-r--r--lib/a2mp.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/a2mp.h b/lib/a2mp.h
index 61f1c1e4c..da937d133 100644
--- a/lib/a2mp.h
+++ b/lib/a2mp.h
@@ -142,44 +142,6 @@ struct a2mp_disconn_rsp {
#define A2MP_STATUS_PHYS_LINK_EXISTS 0x05
#define A2MP_STATUS_SECURITY_VIOLATION 0x06
-#define A2MP_MAC_ADDR_TYPE 1
-#define A2MP_PREF_CHANLIST_TYPE 2
-#define A2MP_CONNECTED_CHAN 3
-#define A2MP_PAL_CAP_TYPE 4
-#define A2MP_PAL_VER_INFO 5
-
-struct a2mp_tlv {
- uint8_t type;
- uint16_t len;
- uint8_t val[0];
-} __attribute__ ((packed));
-
-struct a2mp_pal_ver {
- uint8_t ver;
- uint16_t company_id;
- uint16_t sub_ver;
-} __attribute__ ((packed));
-
-struct a2mp_country_triplet {
- union {
- struct {
- uint8_t first_channel;
- uint8_t num_channels;
- int8_t max_power;
- } __attribute__ ((packed)) chans;
- struct {
- uint8_t reg_extension_id;
- uint8_t reg_class;
- uint8_t coverage_class;
- } __attribute__ ((packed)) ext;
- };
-} __attribute__ ((packed));
-
-struct a2mp_chan_list {
- uint8_t country_code[3];
- struct a2mp_country_triplet triplets[0];
-} __attribute__ ((packed));
-
#ifdef __cplusplus
}
#endif