diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-30 06:18:12 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-04 17:47:38 -0400 |
commit | a88a9652d25a63ce10b6a5fe680d0ad8f33b9c9b (patch) | |
tree | 57d8fed21320201e302eb40fafab35284b60409d /include/net/bluetooth/mgmt.h | |
parent | e17acd40f6006d0a0e0b1b3f7359ba4d543011c6 (diff) |
Bluetooth: Add mgmt_remote_name event
This patch adds a new remote_name event to the Management interface
which is sent every time the name of a remote device is resolved (over
BR/EDR).
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 864d0cbd2d57..6b6ff92ab499 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -275,3 +275,9 @@ struct mgmt_ev_device_found { | |||
275 | __s8 rssi; | 275 | __s8 rssi; |
276 | __u8 eir[HCI_MAX_EIR_LENGTH]; | 276 | __u8 eir[HCI_MAX_EIR_LENGTH]; |
277 | } __packed; | 277 | } __packed; |
278 | |||
279 | #define MGMT_EV_REMOTE_NAME 0x0013 | ||
280 | struct mgmt_ev_remote_name { | ||
281 | bdaddr_t bdaddr; | ||
282 | __u8 name[MGMT_MAX_NAME_LENGTH]; | ||
283 | } __packed; | ||