|
@@ -1071,6 +1071,17 @@ static inline bool eir_has_data_type(u8 *data, size_t data_len, u8 type)
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline bool hci_bdaddr_is_rpa(bdaddr_t *bdaddr, u8 addr_type)
|
|
|
|
+{
|
|
|
|
+ if (addr_type != 0x01)
|
|
|
|
+ return false;
|
|
|
|
+
|
|
|
|
+ if ((bdaddr->b[5] & 0xc0) == 0x40)
|
|
|
|
+ return true;
|
|
|
|
+
|
|
|
|
+ return false;
|
|
|
|
+}
|
|
|
|
+
|
|
int hci_register_cb(struct hci_cb *hcb);
|
|
int hci_register_cb(struct hci_cb *hcb);
|
|
int hci_unregister_cb(struct hci_cb *hcb);
|
|
int hci_unregister_cb(struct hci_cb *hcb);
|
|
|
|
|