Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Dhci_request.c693 bdaddr_t nrpa; in hci_update_random_address() local
700 get_random_bytes(&nrpa, 6); in hci_update_random_address()
701 nrpa.b[5] &= 0x3f; in hci_update_random_address()
706 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address()
711 set_random_addr(req, &nrpa); in hci_update_random_address()
Dhci_sync.c906 bdaddr_t nrpa; in hci_update_random_address_sync() local
913 get_random_bytes(&nrpa, 6); in hci_update_random_address_sync()
914 nrpa.b[5] &= 0x3f; in hci_update_random_address_sync()
919 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_update_random_address_sync()
925 return hci_set_random_addr_sync(hdev, &nrpa); in hci_update_random_address_sync()
6141 bdaddr_t nrpa; in hci_get_random_address() local
6148 get_random_bytes(&nrpa, 6); in hci_get_random_address()
6149 nrpa.b[5] &= 0x3f; in hci_get_random_address()
6154 if (bacmp(&hdev->bdaddr, &nrpa)) in hci_get_random_address()
6159 bacpy(rand_addr, &nrpa); in hci_get_random_address()