Lines Matching refs:smp_send_cmd

590 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data)  in smp_send_cmd()  function
803 smp_send_cmd(conn, SMP_CMD_PAIRING_FAIL, sizeof(reason), in smp_failure()
966 smp_send_cmd(smp->conn, SMP_CMD_PAIRING_CONFIRM, sizeof(cp), &cp); in smp_confirm()
1016 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_random()
1306 smp_send_cmd(conn, SMP_CMD_ENCRYPT_INFO, sizeof(enc), &enc); in smp_distribute_keys()
1317 smp_send_cmd(conn, SMP_CMD_INITIATOR_IDENT, sizeof(ident), in smp_distribute_keys()
1329 smp_send_cmd(conn, SMP_CMD_IDENT_INFO, sizeof(idinfo), &idinfo); in smp_distribute_keys()
1340 smp_send_cmd(conn, SMP_CMD_IDENT_ADDR_INFO, sizeof(addrinfo), in smp_distribute_keys()
1363 smp_send_cmd(conn, SMP_CMD_SIGN_INFO, sizeof(sign), &sign); in smp_distribute_keys()
1485 smp_send_cmd(smp->conn, SMP_CMD_DHKEY_CHECK, sizeof(check), &check); in sc_dhkey_check()
1504 smp_send_cmd(conn, SMP_CMD_PAIRING_CONFIRM, sizeof(cfm), &cfm); in sc_passkey_send_confirm()
1544 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, in sc_passkey_round()
1572 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, in sc_passkey_round()
1814 smp_send_cmd(conn, SMP_CMD_PAIRING_RSP, sizeof(rsp), &rsp); in smp_cmd_pairing_req()
1856 smp_send_cmd(conn, SMP_CMD_PAIRING_RSP, sizeof(rsp), &rsp); in smp_cmd_pairing_req()
1931 smp_send_cmd(smp->conn, SMP_CMD_PUBLIC_KEY, 64, smp->local_pk); in sc_send_public_key()
2046 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in sc_check_confirm()
2126 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_confirm()
2174 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, in smp_cmd_pairing_random()
2195 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, sizeof(smp->prnd), in smp_cmd_pairing_random()
2357 smp_send_cmd(conn, SMP_CMD_PAIRING_REQ, sizeof(cp), &cp); in smp_cmd_security_req()
2438 smp_send_cmd(conn, SMP_CMD_PAIRING_REQ, sizeof(cp), &cp); in smp_conn_security()
2443 smp_send_cmd(conn, SMP_CMD_SECURITY_REQ, sizeof(cp), &cp); in smp_conn_security()
2844 smp_send_cmd(conn, SMP_CMD_PAIRING_RANDOM, in smp_cmd_public_key()
2875 smp_send_cmd(conn, SMP_CMD_PAIRING_CONFIRM, sizeof(cfm), &cfm); in smp_cmd_public_key()
3145 smp_send_cmd(conn, SMP_CMD_PAIRING_REQ, sizeof(req), &req); in bredr_pairing()