diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-05-29 06:59:06 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-04 23:34:12 -0400 |
commit | e7af522e04bcf68caae6802722efc5c6e8fa63a7 (patch) | |
tree | 9d15ac69259156fd5a2c751c12b9be296c82eca6 | |
parent | b9058fb67c42851b4f852d90b11f43279586aae9 (diff) |
Bluetooth: A2MP: Define A2MP status codes
A2MP status codes copied from Bluez patch sent by Peter Krystad
<pkrystad@codeaurora.org>.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
-rw-r--r-- | include/net/bluetooth/a2mp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h index 7cbeb911fbd1..391acd7a67d4 100644 --- a/include/net/bluetooth/a2mp.h +++ b/include/net/bluetooth/a2mp.h | |||
@@ -104,6 +104,16 @@ struct a2mp_physlink_rsp { | |||
104 | __u8 status; | 104 | __u8 status; |
105 | } __packed; | 105 | } __packed; |
106 | 106 | ||
107 | /* A2MP response status */ | ||
108 | #define A2MP_STATUS_SUCCESS 0x00 | ||
109 | #define A2MP_STATUS_INVALID_CTRL_ID 0x01 | ||
110 | #define A2MP_STATUS_UNABLE_START_LINK_CREATION 0x02 | ||
111 | #define A2MP_STATUS_NO_PHYSICAL_LINK_EXISTS 0x02 | ||
112 | #define A2MP_STATUS_COLLISION_OCCURED 0x03 | ||
113 | #define A2MP_STATUS_DISCONN_REQ_RECVD 0x04 | ||
114 | #define A2MP_STATUS_PHYS_LINK_EXISTS 0x05 | ||
115 | #define A2MP_STATUS_SECURITY_VIOLATION 0x06 | ||
116 | |||
107 | void amp_mgr_get(struct amp_mgr *mgr); | 117 | void amp_mgr_get(struct amp_mgr *mgr); |
108 | int amp_mgr_put(struct amp_mgr *mgr); | 118 | int amp_mgr_put(struct amp_mgr *mgr); |
109 | 119 | ||