Home
last modified time | relevance | path

Searched refs:nrpa (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/bluetooth/
Dhci_request.c672 bdaddr_t nrpa; in hci_update_random_address() local
679 get_random_bytes(&nrpa, 6); in hci_update_random_address()
680 nrpa.b[5] &= 0x3f; in hci_update_random_address()
685 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address()
690 set_random_addr(req, &nrpa); in hci_update_random_address()
Dhci_sync.c934 bdaddr_t nrpa; in hci_update_random_address_sync() local
941 get_random_bytes(&nrpa, 6); in hci_update_random_address_sync()
942 nrpa.b[5] &= 0x3f; in hci_update_random_address_sync()
947 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address_sync()
953 return hci_set_random_addr_sync(hdev, &nrpa); in hci_update_random_address_sync()
6532 bdaddr_t nrpa; in hci_get_random_address() local
6539 get_random_bytes(&nrpa, 6); in hci_get_random_address()
6540 nrpa.b[5] &= 0x3f; in hci_get_random_address()
6545 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_get_random_address()
6550 bacpy(rand_addr, &nrpa); in hci_get_random_address()