diff options
author | h.sandeep <h.sandeep@samsung.com> | 2016-11-15 16:48:34 +0530 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:53:29 +0900 |
commit | 9612b4f578275e35d4d8586d923e36161e90a056 (patch) | |
tree | 1eb2c77e7e541bd94b4f9ac590f62c8d44392f7b /include | |
parent | 71e3eb2264f0dd8c4acbe7bee07903b6cccf8e3f (diff) |
Bluetooth: Add MGMT interface for setting IRK
It is required to set IRK from BlueZ if privacy feature is disabled,
so this patch adds setting IRK interface to MGMT.
Change-Id: I68183b6003c6292e0f7c95b8fe9c0d04890063b5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/mgmt_tizen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt_tizen.h b/include/net/bluetooth/mgmt_tizen.h index cfb9d5064789..a2ec784da31a 100644 --- a/include/net/bluetooth/mgmt_tizen.h +++ b/include/net/bluetooth/mgmt_tizen.h @@ -222,6 +222,12 @@ struct mgmt_rp_le_set_data_length { } __packed; #define MGMT_LE_SET_DATA_LENGTH_RSP_SIZE 3 +#define MGMT_OP_SET_IRK (TIZEN_OP_CODE_BASE + 0x19) +struct mgmt_cp_set_irk { + uint8_t irk[16]; +} __packed; +#define MGMT_SET_IRK_SIZE 16 + /* EVENTS */ /* For device name update changes */ |