Change-Id: I3be96c31ff97290bdb76adaf512843fe7a3b746d
#define AF_BLUETOOTH 31
#define PF_BLUETOOTH AF_BLUETOOTH
#endif
-#ifndef SOL_BLUETOOTH
-#define SOL_BLUETOOTH 274
-#endif
#define BTPROTO_L2CAP 0
#define BTPROTO_HCI 1
#define BTPROTO_SCO 2
#define SOL_L2CAP 6
#define SOL_SCO 17
#define SOL_RFCOMM 18
+#ifndef SOL_BLUETOOTH
+#define SOL_BLUETOOTH 274
+#endif
+#define BT_SECURITY 4
+#define BT_SECURITY_SDP 0
+#define BT_SECURITY_LOW 1
+#define BT_SECURITY_MEDIUM 2
+#define BT_SECURITY_HIGH 3
+#define BT_DEFER_SETUP 7
+#define BT_POWER 8
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define htobs(d) (d)
#define htobl(d) (d)
{
memcpy(dst, src, sizeof(bdaddr_t));
}
+struct bt_power {
+ uint8_t force_active;
+};
#endif