Lines Matching defs:authreq
622 static u8 authreq_to_seclevel(u8 authreq)
624 if (authreq & SMP_AUTH_MITM) {
625 if (authreq & SMP_AUTH_SC)
649 struct smp_cmd_pairing *rsp, __u8 authreq)
660 authreq |= SMP_AUTH_BONDING;
662 authreq &= ~SMP_AUTH_BONDING;
672 (authreq & SMP_AUTH_SC)) {
698 authreq &= ~SMP_AUTH_SC;
707 req->auth_req = (authreq & AUTH_REQ_MASK(hdev));
718 rsp->auth_req = (authreq & AUTH_REQ_MASK(hdev));
2389 __u8 authreq;
2432 authreq = seclevel_to_authreq(sec_level);
2435 authreq |= SMP_AUTH_SC;
2437 authreq |= SMP_AUTH_CT2;
2449 authreq |= SMP_AUTH_MITM;
2453 smp_send_pairing_req(smp, authreq);
2455 smp_send_security_req(smp, authreq);