Home
last modified time | relevance | path

Searched refs:passkey (Results 1 – 4 of 4) sorted by relevance

/net/bluetooth/
Dsmp.c855 u32 passkey = 0; in tk_request() local
892 passkey, 1); in tk_request()
925 get_random_bytes(&passkey, sizeof(passkey)); in tk_request()
926 passkey %= 1000000; in tk_request()
927 put_unaligned_le32(passkey, smp->tk); in tk_request()
928 bt_dev_dbg(hcon->hdev, "PassKey: %u", passkey); in tk_request()
938 passkey, 1); in tk_request()
942 passkey, 0); in tk_request()
1589 static int sc_user_reply(struct smp_chan *smp, u16 mgmt_op, __le32 passkey) in sc_user_reply() argument
1605 hcon->passkey_notify = le32_to_cpu(passkey); in sc_user_reply()
[all …]
Dsmp.h189 int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey);
Dmgmt.c3648 u16 hci_op, __le32 passkey) in user_pairing_resp() argument
3677 err = smp_user_confirm_reply(conn, mgmt_op, passkey); in user_pairing_resp()
3703 cp.passkey = passkey; in user_pairing_resp()
3766 HCI_OP_USER_PASSKEY_REPLY, cp->passkey); in user_passkey_reply()
9961 u8 link_type, u8 addr_type, u32 passkey, in mgmt_user_passkey_notify() argument
9970 ev.passkey = __cpu_to_le32(passkey); in mgmt_user_passkey_notify()
Dhci_event.c5444 le32_to_cpu(ev->passkey), confirm_hint); in hci_user_confirm_request_evt()
5473 conn->passkey_notify = __le32_to_cpu(ev->passkey); in hci_user_passkey_notify_evt()